Re: [Nagios-users] NAGIOS does not register "Critical" | "Warning" status.

2011-02-22 Thread Max Schubert
There is a debug level you can set in nagios.cfg that will show you all commands being executed - an easier way would be to make a shell wrapper for check_int that logs all args and then execs them with the real check_int. Something like 1. Copy check_int to check_int.bin 2. Make check_int a sh

Re: [Nagios-users] NAGIOS does not register "Critical" | "Warning" status.

2011-02-22 Thread socomm
On Mon, 21 Feb 2011 20:23:54 -0500, Allan Clark wrote: > Can you confirm that "%%" is needed for a single "%" token? I don't > remember that being needed, but I don't use "%" in my commands. I > could see "$" needing doubling up due to token replacement. Apparently check_nt will returns same co

Re: [Nagios-users] NAGIOS does not register "Critical" | "Warning" status.

2011-02-21 Thread Allan Clark
On Mon, Feb 21, 2011 at 20:02, socomm wrote: > I'm having a small problem where Nagios is not registering the status of > critical or warning when I run a check. In this instance I am using the > check_nt plug-in, and when ran manually I get exit code of 2 which, > according to the Nagios API doc

[Nagios-users] NAGIOS does not register "Critical" | "Warning" status.

2011-02-21 Thread socomm
I'm having a small problem where Nagios is not registering the status of critical or warning when I run a check. In this instance I am using the check_nt plug-in, and when ran manually I get exit code of 2 which, according to the Nagios API doc (http://nagios.sourceforge.net/docs/3_0/pluginapi.html