Hi Team,
I have to monitor AIX VIO server, is there any plugin? please suggest.
need to monitor AIX VIO
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: need to monitor AIX VIO
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
http://assets.nagios.com/downloads/nagi ... Nagios.pdf
-
wiproltdwiv
- Posts: 281
- Joined: Sat Sep 08, 2012 12:52 am
Re: need to monitor AIX VIO
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.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: need to monitor AIX VIO
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.
-
spcmidrange
- Posts: 47
- Joined: Fri Jun 15, 2012 12:54 pm
Re: need to monitor AIX VIO
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!
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
Cheers!
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: need to monitor AIX VIO
Thanks for the reply spcmidrange!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
lolo2cannes
- Posts: 1
- Joined: Mon Aug 07, 2017 8:09 am
Re: need to monitor AIX VIO
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
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
Thank you for the input, but as this thread is several years old I will be closing it now.
Former Nagios employee