What is SIM
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.
===============
Installation:
===============
Login to your server via SSH as root.
Type: wget http://www.r-fx.org/downloads/sim-current.tar.gz
This will download the most current version of SIM (System Integrity Monitor)
Type: tar -xzvf sim-current.tar.gz
This will extract the tar.gz file at once.
The last line should look like "sim-2.5-3/CREDITS" everything before the / is the directory where the script was extracted too.
Type: cd sim-2.5-3
where sim-2.5-3 is the directory that SIM was extracted too.
Type: ./setup -i
Then press "Enter"
Then when it says MORE press the "space bar"
Then press "Enter"
Then when it syas MORE press the "space bar"
Now you will press ENTER one more time to do the auto-configuration script for SIM.
Please note the following config is what I use, and you can change some monitoring services if you choose.
Where is SIM installed ?
[/usr/local/sim]:
Press Enter
Where should the sim.log file be created ?
[/usr/local/sim/sim.log]:
Press Enter
Max size of sim.log before rotated ? (value in KB)
[128]:
Type: 512
Press Enter
The larger the file the more SIM (System Integrity Monitor) logs we can view. This is good for looking back.
Where should alerts be emailed to ? (e.g: root, user@domain)
[root]:
Type: youreamil@yourdaomin (One off server would be more secure.)
Press Enter
Disable alert emails after how many events, to avoid email flood ?
(Note: events stats are cleared daily)
[8]:
Press Enter
The below are configuration options for Service modules:
press return to continue...
Press Enter
Auto-restart services found to be offline ? (true=enable, false=disable)
[true]:
Press Enter
Enforce laxed service checking ? (true=enable, false=disable)
[true]:
Press Enter
Disable auto-restart after how many downed service events ?
(Note: events stats are cleared daily)
[10]:
Press Enter
Enable FTP service monitoring ? (true=enable, false=disable)
[false]:
Press Enter
Enable HTTP service monitoring ? (true=enable, false=disable)
[false]:
Type: true
Press Enter
Enable DNS service monitoring ? (true=enable, false=disable)
[false]:
Type: true (if you are running ensim do not type true just press enter)
Press Enter
Enable SSH service monitoring ? (true=enable, false=disable)
[false]:
Type: true
Press Enter
Enable MYSQL service monitoring ? (true=enable, false=disable)
[false]:
Type: true
Press Enter
Enable SMTP service monitoring ? (true=enable, false=disable)
[false]:
Type: true
Press Enter
TCP/IP port that SMTP operates on ?
[25]:
Press Enter
Enable XINET service monitoring ? (true=enable, false=disable)
[false]:
Type: true
Press Enter
TCP/IP port that any XINET service operates on (e.g: pop3, 110) ?
[110]:
Press Enter
Enable ENSIM service monitoring ? (true=enable, false=disable)
[false]:
Press Enter
Enable PGSQL service monitoring ? (true=enable, false=disable)
[false]:
After an unclean HTTP shutdown, semaphore array's may remain allocated
and cause the service to fall into a looping restart cycle. Using this
feature clears semaphore arrays on HTTP restart.
Enable semaphore cleanup ?
[false]:
Press Enter
This is an implamented feature in the http module, its purpose is to
determine if/when the apache server locks up or otherwise stops
responding.
Enable URL aware monitoring ?
Type: true
Press Enter
URL path to a local file ? (exclude HTTP://)
Note: This URL should be valid and reside on the local server, otherwise
HTTP will loop restarting
[127.0.0.1/index.html]:
Type: site.com/index.html that resides on your local server
Press Enter
HTTP log files can grow large and cause the service to crash
(segfault), this feature will keep the main HTTP logs incheck.
Enable HTTP log monitor ?
[false]:
Press Enter
MySQL uses a /tmp symlink of its mysql.sock socket file. This
feature verifies that the symlink exists from the main mysql.sock
file, and if not it is recreated.
Enable MySQL Socket correction ?
[false]:
Press Enter
Enable NETWORK monitoring ? (true=enable, false=disable)
[false]:
Type: true
Press Enter
interface to monitor ?
[eth0]:
Press Enter
Enable LOAD monitor ? (true=enable, false=disable)
[false]:
Type: true
Press Enter
Load level before status condition 'warning' ?
[25]:
Type: 5
Press Enter
Load level before status condition 'critical' ?
[45]:
Type: 10
Press Enter
Enable a global (wall) message at status condition 'warning' & 'critical' ?
[false]:
Press Enter
Renice services at status condition 'warning' or 'critical' ?
(3 values - warn, crit, false - false=disabled)
[false]:
Press Enter
Stop nonessential services at status condition 'warning' or 'critical' ?
(3 values - warn, crit, false - false=disabled)
[false]:
Press Enter
Reboot system on status condition 'warning' or 'critical' ?
(3 values - warn, crit, false - false=disabled)
[false]:
Press Enter
Now the SIM (System Integrity Monitor) has been configured we will add a cron.
Type: ./setup -c
If it says "Removed SIM cronjob." then you must type it again.
Type: ./setup -c
Now it should say Installed SIM cronjob.
- Home
-
Store
- Browse All
- Dedicated Servers in Atlanta, United-States
- Dedicated Servers in Charlotte, United-States
- Dedicated Servers in Chicago, United-States
- Dedicated Servers in Auckland, New Zealand
- Dedicated Servers in Brisbane, Australia
- Dedicated Servers in Melbourne, Australia
- Dedicated Servers in Perth, Australia
- Dedicated Servers in Sydney, Australia
- Dedicated Servers in Cairo, Egypt
- Dedicated Servers in Cape Town, South-Africa
- Dedicated Servers in Johannesburg, South-Africa
- Dedicated Servers in Lagos, Nigeria
- Dedicated Servers in Tripoli, Libya
- Dedicated Servers in Tunis, Tunisia
- Dedicated Servers in Bogota, Colombia
- Dedicated Servers in Buenos Aires, Argentina
- Dedicated Servers in San-Jose, Costa Rica
- Dedicated Servers in Sao-Paulo, Brazil
- Dedicated Servers in Ankara, Turkey
- Dedicated Servers in Antalya, Turkey
- Dedicated Servers in Bangkok, Thailand
- Dedicated Servers in Bursa, Turkey
- Dedicated Servers in Chennai, India
- Dedicated Servers in Dubai, United Arab Emirates
- Dedicated Servers in Hanoi, Vietnam
- Dedicated Servers in Hong Kong, China
- Dedicated Servers in Istanbul, Turkey
- Dedicated Servers in Izmir, Turkey
- Dedicated Servers in Jerusalem, Israel
- Dedicated Servers in Kuala Lumpur, Malaysia
- Dedicated Servers in Mumbai, India
- Dedicated Servers in Nagano, Japan
- Dedicated Servers in Pune, India
- Dedicated Servers in Riyadh, Saudi Arabia
- Dedicated Servers in Seoul, South Korea
- Dedicated Servers in Singapore, Singapore
- Dedicated Servers in Taipei, Taiwan
- Dedicated Servers in Tokyo, Japan
- Dedicated Servers in Dallas, United-States
- Dedicated Servers in Denver, United-States
- Dedicated Servers in Las Vegas, United-States
- Dedicated Servers in Los Angeles, United-States
- Dedicated Servers in McLean, United-States
- Dedicated Servers in Mexico City, Mexico
- Dedicated Servers in Miami, United-States
- Dedicated Servers in New York, United-States
- Dedicated Servers in Phoenix, United-States
- Dedicated Servers in Portland, United-States
- Dedicated Servers in Redding, United-States
- Dedicated Servers in Sacramento, United-States
- Dedicated Servers in Salt Lake City, United-States
- Dedicated Servers in San Francisco, United-States
- Dedicated Servers in San Jose, United-States
- Dedicated Servers in Seattle, United-States
- Dedicated Servers in Springfield, United-States
- Dedicated Servers in St Louis, United-States
- Dedicated Servers in Toronto, Canada
- Dedicated Servers in Vancouver, Canada
- Dedicated Servers in Washington, United-States
- Dedicated Servers in Amsterdam, Netherlands
- Dedicated Servers in Athens, Greece
- Dedicated Servers in Barcelona, Spain
- Dedicated Servers in Belgrade, Serbia
- Dedicated Servers in Bratislava, Slovakia
- Dedicated Servers in Brussels, Belgium
- Dedicated Servers in Bucharest, Romania
- Dedicated Servers in Budapest, Hungary
- Dedicated Servers in Chisinau, Moldova
- Dedicated Servers in Copenhagen, Denmark
- Dedicated Servers in Dublin, Ireland
- Dedicated Servers in Dusseldorf, Germany
- Dedicated Servers in Frankfurt, Germany
- Dedicated Servers in Helsinki, Finland
- Dedicated Servers in Kiev, Ukraine
- Dedicated Servers in Kristiansand, Norway
- Dedicated Servers in Lisbon, Portugal
- Dedicated Servers in Ljubljana, Slovenia
- Dedicated Servers in London, United Kingdom
- Dedicated Servers in Luxembourg, Luxembourg
- Dedicated Servers in Madrid, Spain
- Dedicated Servers in Manchester, United-Kingdom
- Dedicated Servers in Milan, Italy
- Dedicated Servers in Moscow, Russia
- Dedicated Servers in Nicosia, Cyprus
- Dedicated Servers in Novi Travnik, B&H
- Dedicated Servers in Oslo, Norway
- Dedicated Servers in Paris, France
- Dedicated Servers in Prague, Czech Republic
- Dedicated Servers in Reykjavik, Iceland
- Dedicated Servers in Riga, Latvia
- Dedicated Servers in Rome, Italy
- Dedicated Servers in Sofia, Bulgaria
- Dedicated Servers in St-Petersburg, Russia
- Dedicated Servers in Stockholm, Sweden
- Dedicated Servers in Tallinn, Estonia
- Dedicated Servers in Tirana, Albania
- Dedicated Servers in Valletta, Malta
- Dedicated Servers in Vienna, Austria
- Dedicated Servers in Vilnius, Lithuania
- Dedicated Servers in Warsaw, Poland
- Dedicated Servers in Zagreb, Croatia
- Website Security
- Dedicated Servers in Zurich, Switzerland
- Digital Ocean Cloud Server
- Linode Cloud Server
- Vultr Cloud Server
- AWS Cloud Server
- Google Cloud Server
- Atlanta Dedicated Server (Dedicated Bandwidth)
- Chicago Dedicated Server (Dedicated Bandwidth)
- Dallas Dedicated Server (Dedicated Bandwidth)
- Denver Dedicated Server (Dedicated Bandwidth)
- Los Angeles Dedicated Server (Dedicated Bandwidth)
- Miami Dedicated Server (Dedicated Bandwidth)
- New York Dedicated Server (Dedicated Bandwidth)
- Seattle Dedicated Server (Dedicated Bandwidth)
- Amsterdam Dedicated Server (Dedicated Bandwidth)
- Frankfurt Dedicated Server (Dedicated Bandwidth)
- London Dedicated Server (Dedicated Bandwidth)
- Madrid Dedicated Server (Dedicated Bandwidth)
- Milan Dedicated Server (Dedicated Bandwidth)
- Paris Dedicated Server (Dedicated Bandwidth)
- Prague Dedicated Server (Dedicated Bandwidth)
- Stockholm Dedicated Server (Dedicated Bandwidth)
- Vienna Dedicated Server (Dedicated Bandwidth)
- Warsaw Dedicated Server (Dedicated Bandwidth)
- Zurich Dedicated Server (Dedicated Bandwidth)
- Hong Kong Dedicated Server (Dedicated Bandwidth)
- Singapore Dedicated Server (Dedicated Bandwidth)
- Tokyo Dedicated Server (Dedicated Bandwidth)
- Offshore Dedicated Server
- Shared Hosting
- Business Hosting
- Reseller Hosting
- Offshore VPS Hosting
- VPS Hosting
- Dedicated Server Jhunjhunu
- Offshore Hosting
- Announcements
- Knowledgebase
- Network Status
- Affiliates
- Contact Us
-
More