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
Problem with passive checks NRDS_WIN to NRDP
-
darknawg63
- Posts: 9
- Joined: Thu Nov 21, 2013 3:51 am
Problem with passive checks NRDS_WIN to NRDP
Last edited by darknawg63 on Mon Jan 27, 2014 12:39 pm, edited 1 time in total.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Problem with passive checks NRDS_WIN to NRDP
I am confused, where did you get Nagios Core 4.0.5?
the latest release is Nagios Core 4.0.2
the latest release is Nagios Core 4.0.2
-
darknawg63
- Posts: 9
- Joined: Thu Nov 21, 2013 3:51 am
Re: Problem with passive checks NRDS_WIN to NRDP
Yes it is a 4.0.2 roll your own.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Problem with passive checks NRDS_WIN to NRDP
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?
What do you have defined for this check?
-
darknawg63
- Posts: 9
- Joined: Thu Nov 21, 2013 3:51 am
Re: Problem with passive checks NRDS_WIN to NRDP
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
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
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Problem with passive checks NRDS_WIN to NRDP
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?
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.
-
darknawg63
- Posts: 9
- Joined: Thu Nov 21, 2013 3:51 am
Re: Problem with passive checks NRDS_WIN to NRDP
Thank you for you input. Unfortunately, we've moved to nscp to NSCA. Please lock this thread.