Page 1 of 1

Problem with passive checks NRDS_WIN to NRDP

Posted: Sun Jan 26, 2014 10:27 am
by darknawg63
Hi,

Can't seem to get passive checks into Nagios Core 4.0.2 I've installed from source on Ubuntu 12.04 LTS with latest updates and patches. The log (nagios.log) keeps showing these kind of errors on passive checks:

[1390749491] PASSIVE SERVICE CHECK: as02.local;Memory Usage;2;(Service check timed out after 0.00 seconds)

When I test via http://servername/nrdp, I still get the "Service check timed out after 0.00 seconds" error in the nagios.log. When I issue a passive service check result in Nagios from the cgi, it seems to work.

PASSIVE SERVICE CHECK: as02.local;D:\ Drive Space;0;CHECK OK

I'd appreciate any help. Thanks

Re: Problem with passive checks NRDS_WIN to NRDP

Posted: Mon Jan 27, 2014 12:15 pm
by scottwilkerson
I am confused, where did you get Nagios Core 4.0.5?

the latest release is Nagios Core 4.0.2

Re: Problem with passive checks NRDS_WIN to NRDP

Posted: Mon Jan 27, 2014 12:40 pm
by darknawg63
Yes it is a 4.0.2 roll your own.

Re: Problem with passive checks NRDS_WIN to NRDP

Posted: Mon Jan 27, 2014 2:16 pm
by scottwilkerson
looking at this closer, you are getting the checks into Core, but the plugin for the "Memory Usage" check must be timing out on the Windows server.

What do you have defined for this check?

Re: Problem with passive checks NRDS_WIN to NRDP

Posted: Tue Jan 28, 2014 6:14 am
by darknawg63
On the windows server I have the following defined for Memory Usage:

command[Memory Usage] = $PLUGIN_DIR$\check_pdm.exe --memory -w 90 -c 99

I ran check_pdm.exe -help , but there is no option for specifying a timeout value.

Thanks :)

Re: Problem with passive checks NRDS_WIN to NRDP

Posted: Tue Jan 28, 2014 3:46 pm
by sreinhardt
I am not particularly familiar this plugin, do you receive valid output when running that from the command line? Have you tried --help or -h per normal nagios standards for help output?

Re: Problem with passive checks NRDS_WIN to NRDP

Posted: Wed Jan 29, 2014 1:46 pm
by darknawg63
Thank you for you input. Unfortunately, we've moved to nscp to NSCA. Please lock this thread.