2015-02-05 00:07:15 +01:00
|
|
|
Nagios is a powerful monitoring system that enables organizations to identify
|
|
|
|
and resolve IT infrastructure problems before they affect critical business
|
|
|
|
processes.
|
2010-05-13 01:00:08 +02:00
|
|
|
|
2011-09-03 15:19:18 +02:00
|
|
|
Nagios requires a "nagios" user and group; create these before running the
|
2010-05-13 01:00:08 +02:00
|
|
|
SlackBuild script. Examples:
|
|
|
|
|
2016-11-14 22:23:25 +01:00
|
|
|
# groupadd -g 213 nagios
|
|
|
|
# useradd -u 213 -d /dev/null -s /bin/false -g nagios nagios
|
2010-05-13 01:00:08 +02:00
|
|
|
|
2011-09-03 15:19:18 +02:00
|
|
|
For some scripts to work, it is necessary to include the 'apache' user in
|
2010-05-13 01:00:08 +02:00
|
|
|
the nagios group.
|
|
|
|
|
2011-09-03 15:19:18 +02:00
|
|
|
For some functions (most notably the "map" function), you need to have X
|
|
|
|
installed on your server. You do not have to start X though, nagios just
|
2010-05-13 01:00:08 +02:00
|
|
|
needs some of the libraries and fonts.
|
|
|
|
|
|
|
|
This SlackBuild installs the basic nagios system in /var/www/htdocs/
|
|
|
|
To change the location, set the DOCROOT variable:
|
2016-11-14 22:23:25 +01:00
|
|
|
# DOCROOT=/your/docroot/dir ./nagios.SlackBuild
|
2010-05-13 01:00:08 +02:00
|
|
|
|
2015-02-25 13:30:17 +01:00
|
|
|
For a useful setup, you will want to have monitoring-plugins installed.
|
2010-05-13 01:00:08 +02:00
|
|
|
|
2015-02-05 00:07:15 +01:00
|
|
|
To configure nagios, some knowledge of httpd is required. Check the included
|
|
|
|
'README.SLACKWARE' file for some basic setup instructions. The include file
|
|
|
|
for httpd is installed as /etc/httpd/extra/nagios.conf
|
2010-05-13 01:00:08 +02:00
|
|
|
|
2011-09-03 15:19:18 +02:00
|
|
|
Lots of information is available in the included documentation, and even
|
|
|
|
more can be found on the nagios site and wiki <http://wiki.nagios.org>.
|