how to monitor AIX 7.1

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
yongstar09
Posts: 10
Joined: Sat Mar 25, 2017 1:58 pm

how to monitor AIX 7.1

Post 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.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: how to monitor AIX 7.1

Post by dwhitfield »

Please let us know if you have problems with https://www.techwalla.com/articles/how- ... rpe-on-aix
yongstar09
Posts: 10
Joined: Sat Mar 25, 2017 1:58 pm

Re: how to monitor AIX 7.1

Post by yongstar09 »

Thanks for reply I'll try and revert
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: how to monitor AIX 7.1

Post by dwhitfield »

Please let us know if you run into additional difficulty.
yongstar09
Posts: 10
Joined: Sat Mar 25, 2017 1:58 pm

Re: how to monitor AIX 7.1

Post 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..
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: how to monitor AIX 7.1

Post 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.
yongstar09
Posts: 10
Joined: Sat Mar 25, 2017 1:58 pm

Re: how to monitor AIX 7.1

Post by yongstar09 »

Ok, is there any alternative way to monitor CPU, Memory & Moutpoints.. without nrpe???

Pls help.. need your guidance...

Thanks
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: how to monitor AIX 7.1

Post 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.
yongstar09
Posts: 10
Joined: Sat Mar 25, 2017 1:58 pm

Re: how to monitor AIX 7.1

Post 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...
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: how to monitor AIX 7.1

Post 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.
Locked