Page 2 of 2
Re: nagios on aix
Posted: Mon Oct 01, 2012 3:33 pm
by srikanth.kallu
On all of them, The only change i made is aix 7.1 on fullinstall script in line 46 while installing on aix 7.1
and on aix 5.3 i have installed accodrding to the document.
Re: nagios on aix
Posted: Mon Oct 01, 2012 4:06 pm
by slansing
Run the following and post the output back here:
Code: Select all
nohup /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc -n -d
Once it has been ran restart the server and check to see if it automatically starts now.
Re: nagios on aix
Posted: Mon Oct 01, 2012 4:32 pm
by srikanth.kallu
wcsdev:/# nohup /opt/nagios/bin/nrpe -c /etc/nagios/nrpe.cfg -d
Sending nohup output to nohup.out.
Is this what you asked me for please let me know if i have to send you any other information
Re: nagios on aix
Posted: Mon Oct 01, 2012 4:43 pm
by slansing
Yes looks good, now try restarting the AIX server.
Re: nagios on aix
Posted: Tue Oct 02, 2012 2:24 pm
by srikanth.kallu
wcsdev:/# nohup /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc -n -d
Sending nohup output to nohup.out.
nohup: /usr/local/nagios/bin/nrpe: A file or directory in the path name does not exist.
I apologize i did not send you the complete output yesterday, this is the complete output.
Re: nagios on aix
Posted: Tue Oct 02, 2012 2:58 pm
by slansing
Did you not run into that issue when you were installing NRPE? That command is outlined in this document explaining how to make NRPE automatically start when the system reboots:
http://assets.nagios.com/downloads/nagi ... Nagios.pdf
Re: nagios on aix
Posted: Tue Oct 02, 2012 3:04 pm
by srikanth.kallu
In this document we have package for aix 5.3 .
Do you have one for aix 6.1 ?
Re: nagios on aix
Posted: Tue Oct 02, 2012 4:36 pm
by scottwilkerson
Actually if you followed the Agent installer
http://assets.nagios.com/downloads/nagi ... _Agent.pdf
(sorry for the confusion with multiple docs)
You can try the following
Code: Select all
nohup /opt/nagios/bin/nrpe -c /etc/nagios/nrpe.cfg -d
Re: nagios on aix
Posted: Wed Oct 03, 2012 10:15 am
by srikanth.kallu
wcsdev:/# nohup /opt/nagios/bin/nrpe -c /etc/nagios/nrpe.cfg -d
Sending nohup output to nohup.out.
wcsdev:/#
I am getting this output and nrpe is still not running.
and also when
wcsdev:/# ps -ef | grep -v grep | grep nrpe
root 14549104 13828266 0 09:28:07 pts/11 0:00 vi 3-nrpe
Any idea what is vi 3-nrpe ( if it is a known issue ).
Re: nagios on aix
Posted: Wed Oct 03, 2012 1:10 pm
by slansing
As the document states, you should be getting...
Code: Select all
Sending nohup output to nohup.out.
Restart the system and see if NRPE starts.