nagios on aix

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
srikanth.kallu
Posts: 243
Joined: Thu Jul 26, 2012 10:48 am

Re: nagios on aix

Post 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.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: nagios on aix

Post 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.
srikanth.kallu
Posts: 243
Joined: Thu Jul 26, 2012 10:48 am

Re: nagios on aix

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: nagios on aix

Post by slansing »

Yes looks good, now try restarting the AIX server.
srikanth.kallu
Posts: 243
Joined: Thu Jul 26, 2012 10:48 am

Re: nagios on aix

Post 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.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: nagios on aix

Post 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
srikanth.kallu
Posts: 243
Joined: Thu Jul 26, 2012 10:48 am

Re: nagios on aix

Post by srikanth.kallu »

In this document we have package for aix 5.3 .

Do you have one for aix 6.1 ?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: nagios on aix

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
srikanth.kallu
Posts: 243
Joined: Thu Jul 26, 2012 10:48 am

Re: nagios on aix

Post 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 ).
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: nagios on aix

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