SIM Istallation and setup SIM

hrdedicated
Site Admin
Posts: 50
Joined: Thu May 30, 2013 10:28 pm

SIM Istallation and setup SIM

Postby hrdedicated » Sat Jun 01, 2013 11:51 am

SIM

Introduction:

SIM is a system and services monitor for SysVinit systems.
It works 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.
To install SIM, execute the following commands (as root):

1. cd /root/download

2. Download the source

wget http://www.r-fx.ca/d...-current.tar.gz

3. Untar it

tar –zxvf sim-current.tar.gz

4. cd sim*

5. Run the installer by executing the command:/setup –i

This will start the setup with the auto configuration option. First the GPL will be displayed. Next, the SIM readme is displayed. The binaries are then installed and the auto configuration section is started next.
Press ENTER to accept the default values till the question: “Where should alerts be emailed to?” is displayed. For this, fill in the email address to which SIM should send its reports and alerts.

Again, press ENTER to accept the default values till the question: “Enable FTP service monitoring?” is displayed. For this, answer with the value: true.
Leave the answers to the other FTP questions at their defaults by pressing ENTER.

For the question: “Enable HTTP service monitoring?” answer with the value: true.

Leave the answers to the other HTTP questions at their defaults by pressing ENTER.

For the question: “Enable DNS service monitoring?”, answer with the value: true if you are running a DNS service on the server. Else, answer as false.

For the question: “Enable SSH service monitoring?”, answer with the value: true.

For the question: “Enable MYSQL service monitoring?”, answer with the value: true.

For the question: “Enable SMTP service monitoring?”, answer with the value: true.

For the question: “Enable XINET service monitoring?”, answer with the value: false.

For the question: “Enable ENSIM service monitoring?”, answer with the value: false.

For the question: “Enable PGSQL service monitoring?”, answer with the value: false.

For the question: “Enable semaphore cleanup?”, answer with the value: true.

For the question: “Enable URL aware monitoring?”, answer with the value: false.

For the question: “Enable HTTP log monitoring?”, answer with the value: true.

Leave the HTTP log file path at its default. Also, leave the maximum size of the HTTP log file at its default.

For the question: “Enable MYSQL Socket correction?”, answer with the value: true.

Leave the location of the /tmp symlink at its default.

For the question: “Enable NETWORK monitoring?”, answer with the value: true.

Next, fill in the interface to monitor

For the question: “Enable LOAD monitor?”, answer with the value: true.

Leave the ‘warning’ and ‘critical’ thresholds at their defaults.

For the question: “global (wall) message at status condition ‘warning’ & ‘critical’?” answer with the value: false.

Answer the remaining questions on load monitoring as false.

The configuration is now complete.

NOTE: If you make a mistake while configuring, press CTRL+C to abort. Then, restart the configurator by executing the command: /usr/local/sim/autoconf as root.

6. Run SIM by executing the command: /usr/local/sbin/sim -v as root.

SIM will proceed to check the integrity of the system and then send you its reports and alerts to the designated email address.

7. Let us add SIM to a cron job such that it does this automatically every 5 minutes.

Execute crontab -e (as root) and add the following line:

*/5 * * * * /usr/local/sim/sim -q >> /dev/null.

Return to “Hostripples dedicated Servers (Linux/Windows)”

Who is online

Users browsing this forum: No registered users and 2 guests