How to install SIM on CentOS
How to install SIM on CentOS
SIM is commonly known as System Integrity Monitor used to monitor systems, services, load average and log files for SysVinit systems. It does these process by consistently verifying that services are online, load averages are in check, and log files are at reasonable sizes. This tutorial explains the installation procedure of SIM on CentOS.
Installation procedure
To start the installation procedure, first navigate to the following directory to install SIM.
[root@linuxhelp1 ~]# cd /usr/local/src/
The prompt has been moved to the src directory. Now download the package to this directory using the wget command.
[root@linuxhelp1 src]# wget http://www.rfxn.com/downloads/sim-current.tar.gz
--2017-04-17 14:17:35-- http://www.rfxn.com/downloads/sim-current.tar.gz
Resolving www.rfxn.com (www.rfxn.com)... 45.33.122.151
Connecting to www.rfxn.com (www.rfxn.com)|45.33.122.151|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 27250 (27K) [application/x-gzip]
Saving to: ‘ sim-current.tar.gz’
100%[===========================================================================================================================================> ] 27,250 102KB/s in 0.3s
2017-04-17 14:17:36 (102 KB/s) - ‘ sim-current.tar.gz’ saved [27250/27250]
Extract the downloaded package using the tar command and execute it.
[root@linuxhelp1 src]# tar -xzvf sim-current.tar.gz
sim-3.0/
sim-3.0/CHANGELOG
sim-3.0/logrotate.d.sim
sim-3.0/README
sim-3.0/GPL
sim-3.0/files/
sim-3.0/files/internals/
sim-3.0/files/internals/stat/
sim-3.0/files/internals/tmp/
sim-3.0/files/internals/functions.sim
sim-3.0/files/internals/sim.cron
sim-3.0/files/internals/alert.msg
sim-3.0/files/modules/
sim-3.0/files/modules/system/
sim-3.0/files/modules/system/disk.mod
sim-3.0/files/modules/system/load.mod
sim-3.0/files/modules/system/load/
.
.
.
sim-3.0/files/docs/
sim-3.0/files/config/
sim-3.0/files/config/conf.sim
sim-3.0/files/config/mods.control
sim-3.0/files/config/internals.conf
sim-3.0/install.sh
sim-3.0/setup
Now navigate to extracted directory called sim-3.0 and install SIM by executing a script file called install.sh.
[root@linuxhelp1 src]# cd sim-3.0/ [root@linuxhelp1 sim-3.0]# ls CHANGELOG files GPL install.sh logrotate.d.sim README setup [root@linuxhelp1 sim-3.0]# ./install.sh -i SIM 3.0 [[email protected]] ====================== Thank you for using SIM 3.0, please take a few moments to review the GPL (v2) license and the README file. press any key to continue.. GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation' s software and to any other program whose authors commit to . . . Installation Summary: Base path: /usr/local/sim Configuration file: /usr/local/sim/config/conf.sim Configuration symlink: /etc/conf.sim Module control file: /usr/local/sim/config/mods.control Module control symlink: /etc/sim.mods Executable: /usr/local/sim/sim Executable symlink: /usr/local/sbin/sim
Execute the below command to check SIM version.
[root@linuxhelp1 sim-3.0]# sim -j SIM version 3.0 < [email protected]> Copyright (C) 1999-2005, R-fx Networks 2005, Ryan MacDonald This program may be freely redistributed under the terms of the GNU GPL added cronjob. OR [root@linuxhelp1 sim-3.0]# /usr/local/sbin/sim -j SIM version 3.0 < [email protected]> Copyright (C) 1999-2005, R-fx Networks 2005, Ryan MacDonald This program may be freely redistributed under the terms of the GNU GPL
The user can also configure SIM by using SIM’ s configuration file located /etc/conf.sim directory.
Wasn' t that an easy installation procedure? SIM also supports Advanced HTTP service monitoring, to prevent commonly encountered issues
Comments ( 0 )
No comments available