Page 1 of 1

Monitoring AIX using Nagios

Posted: Sat Jan 25, 2014 11:49 am
by MSPk
HI Team,

I'm trying to download the Nagios agent for AIX, however the link to download pre-compiled binaries from the attached document isn't working. Please suggest.

http://assets.nagios.com/downloads/nagi ... Nagios.pdf

Re: Monitoring AIX using Nagios

Posted: Mon Jan 27, 2014 11:31 am
by abrist
Working just fine right now. What error are you receiving?

Re: Monitoring AIX using Nagios

Posted: Tue Jan 28, 2014 1:19 am
by MSPk
COuld you please post the link to AIX agent for Nagios.

Re: Monitoring AIX using Nagios

Posted: Tue Jan 28, 2014 10:16 am
by tmcdonald
The second link does appear to be broken. Here is the working link: http://assets.nagios.com/downloads/nagi ... ies.tar.gz

In the future if clicking a link does not work, try typing in the URL by hand and it should be fine.

EDIT: I've gone ahead and fixed the link. Should be updated shortly.

Re: Monitoring AIX using Nagios

Posted: Mon Feb 03, 2014 10:01 am
by MSPk
Do we have an uninstall procedure as well for AIX agent. We need this to get an approval from client to start the POC.

Re: Monitoring AIX using Nagios

Posted: Mon Feb 03, 2014 12:03 pm
by abrist
The agent tarball is just bins and configs sorted by paths from /.
Just make note of where you put them, though you could write a script to remove them as well.

Re: Monitoring AIX using Nagios

Posted: Thu Feb 20, 2014 12:55 pm
by MSPk
Hi Team,

I have installed the AIX binaries on our AIX box as suggested in the below link.

http://assets.nagios.com/downloads/nagi ... Nagios.pdf

I have added the Nagios XI server Ip to the allowed hosts in nrpe.cfg, now when I try to connect and execute a plugin from my nagios XI box we get a message saying ' Could not complete the SSL Handshake." We have restarted the nrpe service multiple times now.

ps: I believe the nrpe service is currently running under inetd as the process number is coming as 1. please suggest.

Re: Monitoring AIX using Nagios

Posted: Thu Feb 20, 2014 2:40 pm
by MSPk
I have managed to get the connection for nrpe now, but not able to send any arguments from the command line. I have chnaged the dont_blame_nrpe to 1 and retsted the service, Now I get the message 'CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages."

I have come across some posts which said I have to run the below command after an untar of nrpe binaries.

./configure --enable-command-args

However I dont see any file which says ./configure from the binaries given in the AIX-5.3-nrpe-2.12-binaries.tar.gz

Re: Monitoring AIX using Nagios

Posted: Fri Feb 21, 2014 11:55 am
by slansing
Are you seeing any output in the system log of the AIX server from NRPE? To enable logging to your syslog follow this:

http://wp.shaibn.com/nrpe-set-to-debug1 ... centos-5-5

Can you show the command you are currently trying to run against the AIX system?

Re: Monitoring AIX using Nagios

Posted: Wed Mar 26, 2014 10:45 am
by MSPk
We have manged to solve this.

Apperently the nrpe binary we got from the location specified in the below link, is not compiled with --enable-command-args. So we weren't able to pass arguments from nagios console to the remote server. we have now compiled a nrpe script with command arguments enabled & replaced the file. We are now able to pass the arguments from nagios console to nrpe.

Close this thread as solved.