Hello,
I'm attempting to run the NRPE plugin on AIX 6.1 using Nagios XI. I have nrpe set up in /etc/inetd.conf and I see the nrpe process start after running 'refresh -s inetd'. Then, I go into Nagios XI and schedule an immediate check and I receive no results. The message under Service Status, Status Information says "CHECK_NRPE: Socket timeout after 30 seconds". It seems that the nrpe process on the AIX server is stopping when we run the check, but I can't find any log messages to determine what the problem is. Any help would be greatly appreciated.
Thank you,
Kevin
NRPE on AIX 6.1
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: NRPE on AIX 6.1
Have you actually confirmed that the process is present in the process list beforehand, and then disappears when a check is run? If so, that would seem to indicate a segfault in the daemon, which I'm afraid we'd be ill-equipped to troubleshoot on the AIX platform. Had you managed to compile it yourself or used someone's pre-built binaries?
Re: NRPE on AIX 6.1
Yes, I see the process in the output of 'ps -ef | grep nrpe'. This build of nrpe has been working with Nagios core, but when I try to do a status check from Nagios XI, the process disappears. There is no evidence of the core dump or segmentation fault. I see no core file or errors in the AIX errpt which typically happens when a program crashes. Where can I find either the recommended NRPE binaries or source code to run on AIX 6.1 to interface with Nagios XI? Thank you.
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: NRPE on AIX 6.1
Have you confirmed though that it is NOT there after running a check? I'm trying to determine whether the process actually exits, or simply doesn't respond properly.Yes, I see the process in the output of 'ps -ef | grep nrpe'.
What version of Nagios Core, and what version of the check_nrpe plugin?This build of nrpe has been working with Nagios core
The source code is available from http://exchange.nagios.org/directory/Ad ... or/details, which is the same as for using with Nagios Core. However, I know one issue is that the version of the daemon and plugin need to match - XI expects the current version, which is 2.12. There are no tested or recommended binaries for AIX. This site claims to have some that will work for your setup, but I have no idea if they actually do - http://www.guntram.de/nagios/index.html.Where can I find either the recommended NRPE binaries or source code to run on AIX 6.1 to interface with Nagios XI?
Have you done a port scan of the AIX box to confirm that the daemon is accessible? NRPE should be on port 5666.Status Information says "CHECK_NRPE: Socket timeout after 30 seconds"
Re: NRPE on AIX 6.1
Yes, I confirmed that the nrpe process was running and listening on port 5666, then the process disappeared and was no longer listening on port 5666 after doing a status check from Nagios XI. Below is the version info. It looks like we're running 2.12. I tried downloading other binaries that were apparently built on AIX 6.1 and this is also version 2.12, but I'm having the same problem. Would you recommend building it from source myself. I can also try the URL you provided. Thanks again.
/opt/nagios.old/bin > ./nrpe --
NRPE - Nagios Remote Plugin Executor
Copyright (c) 1999-2008 Ethan Galstad ([email protected])
Version: 2.12
Last Modified: 03-10-2008
License: GPL v2 with exemptions (-l for more info)
/opt/nagios.old/bin > ./nrpe --
NRPE - Nagios Remote Plugin Executor
Copyright (c) 1999-2008 Ethan Galstad ([email protected])
Version: 2.12
Last Modified: 03-10-2008
License: GPL v2 with exemptions (-l for more info)
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: NRPE on AIX 6.1
If you know how to build them yourself, yeah, I'd say go for it and let us know what you learn about how to do it along the way. It would be great to have some that were actually built on 6.1, rather than "should also work on".