Install SIM - System Integrity Monitor

From Brian Nelson Ramblings
Revision as of 14:44, 14 March 2014 by Brian (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Install Sim - System Integrity Monitor

Description:

SIM is a system and services monitor for ‘SysVinit’ systems. It is designed to be intuitive and modular in nature, and to provide a clean and informative status system. It does this by consistently verifying that services are online, load averages are in check, and log files are at reasonable sizes. Many other SIM modules sport different and in-depth features to bring a well rounded tool to your disposal to stop otherwise common issues daunting internet hosts.

Download the latest release from http://www.rfxn.com/projects/system-integrity-monitor/

http://www.rfxn.com/downloads/sim-current.tar.gz

Now install sim

cd /downloads/
wget http://www.rfxn.com/downloads/sim-current.tar.gz
tar -zxvf sim-current.tar.gz
cd sim-3*
./setup -i

Now we have to edit which services to monitor

vim /etc/sim.mods

To have it monitor the following services

init.httpd on
init.mysqld on

Then create the sim cron job

sim -j on

To confirm your the script is running check your cron log

tail -f /var/log/sim_log

Current list of all services you can monitor with the default install of SIM

arpwatch.mod
courier.mod
cpanel.mod
dovecot.mod
exim.mod
httpd.mod
mailmanctl.mod
mailscanner.mod
mrtg.mod
mysqld.mod
named.mod
ntop.mod
ocwhttpd.mod
poprelay.mod
postgresql.mod
proftpd.mod
psa.mod
pure-ftpd.mod
saslauthd.mod
sendmail.mod
smartd.mod
snmpd.mod
snortd.mod
spamd.mod
squid.mod
sshd.mod
syslog.mod
syslog-ng.mod
urchin4.mod
vsftpd.mod
webmin.mod
xinetd.mod