Page 1 of 1
need to monitor AIX VIO
Posted: Mon Jan 28, 2013 11:07 pm
by wiproltdwiv
Hi Team,
I have to monitor AIX VIO server, is there any plugin? please suggest.
Re: need to monitor AIX VIO
Posted: Tue Jan 29, 2013 10:36 am
by slansing
What version of AIX will you be monitoring, we have a guide for version 5.3 "which I know is a couple behind" located here:
http://assets.nagios.com/downloads/nagi ... Nagios.pdf
Re: need to monitor AIX VIO
Posted: Wed Jan 30, 2013 12:17 am
by wiproltdwiv
we are using 6.1. we can monitor remaining AIX servers, but i could not found /usr/local path in VIO server, cause i am able to install nrpe there.
Re: need to monitor AIX VIO
Posted: Wed Jan 30, 2013 10:13 am
by slansing
We have not tested the AIX/NRPE agent on a VIO server, from my understanding a Virtual I/O server actually sits on top of other servers..multiple OS images. This is a unique issue because NRPE must run locally, or be called to run locally. My thoughts would be that each OS would have to have NRPE on it, IF and only IF they have their own IP's or you will get conflicts.
Re: need to monitor AIX VIO
Posted: Mon Feb 11, 2013 6:36 pm
by spcmidrange
Morning
We have nrpe running on the VIOS on our P770 server. I didnt set them up, but once you get root (not the restricted shell) you should be able to install them.
When i log in as padmin, i dont have access:
$ ps waux | grep nrpe
nagios 9240798 0.0 0.0 3480 3484 - A Nov 15 13:52 /usr/local/nrpe/bin/nrpe -n -c /usr/local/nrpe/etc/nrpe.cfg -d
padmin 11206862 0.0 0.0 252 264 pts/0 A 17:30:22 0:00 grep nrpe
$ cd /usr/local/n
rksh: cd: 0403-019 The operation is not allowed in a restricted shell.
$ cd /usr/local/
rksh: cd: 0403-019 The operation is not allowed in a restricted shell.
$ oem_setup_env
# cd /usr/local/
# ls
ioscli.log nmon.tar tripwire vios_advisor
nmon nrpe tripwire.tar vios_advisor.srv-reg-vio-25.xml
# pwd
/usr/local
# oslevel -s
6100-00-00-0000
And the VIO's have their own IP addresses. Nrpe works fine on them

Hope this helps!
Cheers!
Re: need to monitor AIX VIO
Posted: Tue Feb 12, 2013 10:29 am
by sreinhardt
Thanks for the reply spcmidrange!
Re: need to monitor AIX VIO
Posted: Mon Aug 07, 2017 8:23 am
by lolo2cannes
Hi,
VIOS 2.2.5.20 is well working with NRPE Version: 2.14
Work done as root (oem_setup_env)
1- all files are owned by padmin (nrpe.cfg, nrpe, check scripts...)
2- modify in cfg file:
server_address
nrpe_user=padmin
nrpe_group=staff
3- add to /etc/services this line (adapt to your conf file)
nrpe 5666/tcp
4- the daemon has been configured to run under srcmstr control via:
mkssys -s nrpe -p /usr/local/nagios/bin/nrpe -a "-c /usr/local/nagios/libexec/nrpe.cfg -d -s" -u 0 -d -S -n 15 -f 9 -Q -R -G nagios
5- auto start on boot after all nfs services :
echo "startsrc -s nrpe" >> /etc/rc.nfs
6- start your sub system:
startsrc -s nrpe
7- exit root and verify as padmin:
$ lssrc -s nrpe
Subsystem Group PID Status
nrpe nagios 6750458 active
Re: need to monitor AIX VIO
Posted: Mon Aug 07, 2017 9:07 am
by tmcdonald
Thank you for the input, but as this thread is several years old I will be closing it now.