Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uyu423/ssam-script
SSAM(Server Status Automatic Monitoring) Script, server monitoring and automated process restart scripts
https://github.com/uyu423/ssam-script
Last synced: 21 days ago
JSON representation
SSAM(Server Status Automatic Monitoring) Script, server monitoring and automated process restart scripts
- Host: GitHub
- URL: https://github.com/uyu423/ssam-script
- Owner: uyu423
- License: gpl-2.0
- Created: 2015-10-06T19:50:39.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-11T10:15:00.000Z (about 9 years ago)
- Last Synced: 2024-12-04T07:39:25.407Z (22 days ago)
- Language: Shell
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SSAM-Script
## Overview
SSAM(Server Status Automatic Monitoring) Script, server monitoring and automated process restart scripts
* **Tested on next Environment** : CentOS 5.11 / Ubuntu 15.04 / Ubuntu 15.10
* **Requirements** : sendmail(stmp settings), mail command(mailutils)
* **MUST BE REQUIRE ROOT PRIVILEGES**### Notification Type
### Excute Emergency Commands
## Installaion
$ sudo git clone https://github.com/uyu423/SSAM-Script.git /root/scripts/SSAM-Script
$ sudo chmod 700 /root/scripts/SSAM-Script/SSAM-Script.sh## Set a User Custom values
### 'User Custom Value Settings' variables of SSAM-Script.sh (line 4)
* mailingList : array,
* MonitoringProcess : array,
* EmergencyCommands : array,
* MaxUsingPMemPerBoundary :
* MaxUsingVRMemPerBoundary :
* MaxUsingDiskBoundary :
* MaxMonitoringCnt :
* NetworkInterface :## Mail Notification Testing
## Set a User Custom values
## SSAM-Script in CRONTAB Setup
* The following code sample checks the server every five minutes
// Ubuntu 15.04
$ sudo echo "*/5 * * * * bash /root/scripts/SSAM-Script/SSAM-Script.sh > /var/log/SSAM-Script/SSAM-Script.log 2> /var/log/SSAM-Script/SSAM-Script.err" >> /var/spool/cron/crontabs/root
// Centos 5.11
$ sudo echo "*/5 * * * * bash /root/scripts/SSAM-Script/SSAM-Script.sh > /var/log/SSAM-Script/SSAM-Script.log 2> /var/log/SSAM-Script/SSAM-Script.err" >> /var/spool/cron/root* Additional, the recommendations Please contact [email protected] or github issue tab