Friday, December 3, 2010

Install Naigos NPRE and Nagios Plugin on AIX 6.1

Failed on compiling from source code and ran out of time to troubleshoot the source code. Then went to pre-compiled solution.

The following procedure has been tested and it working on my box at least.


Install Naigos NPRE and Nagios Plugin on AIX 6.1

                    Written  on 12/3/2010


1. Download nagios plugin and NREP precompiled binary from http://www.guntram.de/nagios/.

2. install them into /usr/loacl/nagios folder.

3. Configure NRPE running with /etc/rc.local


edit nrpe.cfg file to put your customization there.


# mkitab -i rcnfs "rclocal:2:wait:/etc/rc.local >/dev/console 2>&1"
# touch /etc/rc.local
# chmod 700 /etc/rc.local

Then put the command lines to start the daemons in /etc/rc.local.

nohup /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d




Reference:

http://linuxdocument.blogspot.com/2010/03/installing-nrpe-212-on-aix.html
http://www.guntram.de/nagios/
http://saifulaziz.wordpress.com/2006/12/06/how-do-i-start-local-daemons-at-aix-system-startup/

0 comments: