Nagios
Home ] Up ]
 

nrpe

 

Don't quote me, as these are just some notes that I took while installing this today... it is working very well, by the way :-)

add the 'nagios' group to /etc/group
------------------------------------
nagios:*:24680:nagios

use vipw to add a 'nagios' user
-------------------------------
nagios:*:24680:24680:nagios:/usr/local/nagios/var:/sbin/nologin

download and extract the archives
---------------------------------
cd /usr/local/src
<fetch the nagios & plugins archive; extract them>

cd /usr/local/src/nagios/nagios-1.0
ldconfig
make clean
./configure --with-gd-lib=/usr/local/lib/ --with-gd-inc=/usr/local/include/gd/
make all
make install
make install-init
make install-config

cd ../nagios-plugins....
./configure
make all
make install

add this stuff to your apache httpd.conf file
---------------------------------------------
ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
<Directory "/usr/local/nagios/sbin/">
AllowOverride All
Options ExecCGI
Order allow,deny
Allow from all
</Directory>

Alias /nagios/ /usr/local/nagios/share/
<Directory "/usr/local/nagios/share">
Options None
AllowOverride All
Order allow,deny
Allow from all
</Directory>


create the password auth file for the nagios site
-------------------------------------------------
htpasswd -c /usr/local/nagios/etc/cgi-auth-file michael
<password>
<password>


make sure that your .htaccess file is in both of these directories
------------------------------------------------------------------
/usr/local/nagios/share
/usr/local/nagios/sbin

 

 

My name is Michael Oliver, and I can be contacted by email here.
The current time is Sunday, 21-Jan-2018 04:37:11 UTC.
This page was last modified on Friday, 11-Mar-2011 21:01:58 UTC.
This page has received 824 hits since February 03 2003.