Page 1 of 2
how to monitor AIX 7.1
Posted: Sat Mar 25, 2017 2:10 pm
by yongstar09
Hi forum I am very new to nagios, I need to monitor AIX 7.1 servers, there is no NRPE plugins for AIX 7, can any one pls help me out.
Re: how to monitor AIX 7.1
Posted: Sun Mar 26, 2017 7:34 pm
by dwhitfield
Re: how to monitor AIX 7.1
Posted: Tue Mar 28, 2017 11:25 am
by yongstar09
Thanks for reply I'll try and revert
Re: how to monitor AIX 7.1
Posted: Tue Mar 28, 2017 1:35 pm
by dwhitfield
Please let us know if you run into additional difficulty.
Re: how to monitor AIX 7.1
Posted: Wed Mar 29, 2017 1:40 am
by yongstar09
Hi dwhitfield, I am unable to find nrpe binaries for AIX 7.1. Binaries available for only AIX 5.3 version.
Can I user the same for 7.1 or could you pls share the link from where I can download the correct version of binary..
Pls help..
Re: how to monitor AIX 7.1
Posted: Wed Mar 29, 2017 9:07 am
by dwhitfield
I know people have used those instructions before, but I don't know if they are running in some sort of emulation mode for older versions. We don't have AIX on which to test, which is why there are no compile instructions at
https://support.nagios.com/kb/article.php?id=515. I suspect the Solaris instructions will be the closest to AIX, but it's really going to depend on what c-compiler you have on AIX.
Re: how to monitor AIX 7.1
Posted: Wed Mar 29, 2017 9:26 am
by yongstar09
Ok, is there any alternative way to monitor CPU, Memory & Moutpoints.. without nrpe???
Pls help.. need your guidance...
Thanks
Re: how to monitor AIX 7.1
Posted: Wed Mar 29, 2017 3:27 pm
by dwhitfield
You could get some things via SNMP:
http://nagios.fm4dd.com/howto/aix-snmp-setup.htm
If you give us a NRPE compile error from AIX, we will be better situated to help you compile NRPE.
The first step appears to be installing the following:
ping
gawk
net-snmp
net-snmp-perl
net-snmp-utils
openldap
openssl
python
libldap.a
AIX does use rpm, but it's unlikely that the linux rpms are going to work. System Management Tool (a.k.a. SMiT) is the AIX package manager, but unfortunately I cannot give you the names of these packages on AIX since I don't have one to test against.
Re: how to monitor AIX 7.1
Posted: Thu Mar 30, 2017 8:36 am
by yongstar09
Hi, I have gone through the below doccument to install the NRPE.. I think it has been installed sucssesflully... PFB outputs from AIX machine..
https://assets.nagios.com/downloads/nag ... Nagios.pdf
---/usr/local/nagios/libexec#ps -ef | grep nrpe
nagios 20054016 1 0 17:51:34 - 0:00 /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -n -d
root 22806574 13762576 0 18:58:45 pts/1 0:00 grep nrpe
---/usr/local/nagios/libexec#netstat -an |grep 5666
tcp4 0 0 *.5666 *.* LISTEN
But still I am not able to monitor the AIX server PFB below error from nagios server..
[root@Jennifer_Monitoring etc]# /usr/local/nagios/libexec/check_nrpe -H 172.16.130.100
CHECK_NRPE: Socket timeout after 10 seconds.
netstat output from server
tcp 0 0 172.16.110.221:56291 172.16.130.100:5666 TIME_WAIT
Pls suggest I think we are almost done...
Re: how to monitor AIX 7.1
Posted: Thu Mar 30, 2017 10:39 am
by dwhitfield
I think
https://assets.nagios.com/downloads/nag ... utions.pdf will be useful for you going forward. Specifically, "V. CHECK_NRPE: Socket Timeout After n Seconds" on page 9 covers this error. I could of course put that info in here directly, but there are screenshots in the document that I think you will find useful and would take quite a bit of time to get everything formatted properly here.
If you get another error, please let us know.