[NSClient++] Topic #63 - (Return code of x is out of bounds) change to Unknown instead of Critical
http://nsclient.org/nscp/discussion/topic/63
<p>
(Return code of x is out of bounds) change to Unknown instead of Critical
</p>
en-usNSClient++/trac/nswide.png
http://nsclient.org/nscp/discussion/topic/63
Trac 1.0beta1 - DiscussionPluginanonymousFri, 30 Nov 2007 23:01:34 GMTTopic #63 - (Return code of x is out of bounds) change to Unknown instead of Critical
http://nsclient.org/nscp/discussion/topic/63#topic
http://nsclient.org/nscp/discussion/topic/63#topic
<p>
Is there a way to change the (Return code of x is out of bounds) to report an Unknown status to Nagios instead of a Critical status to Nagios? This way I could choose not to get noticed on Unknown errors, but still get noticed on Critical and Warning errors.
</p>
<p>
Thanks in advance for your help!
</p>
<p>
JohnK
</p>
TopicanonymousMon, 03 Dec 2007 19:03:41 GMTReply #147 to topic #63 - (Return code of x is out of bounds) change to Unknown instead of Critical
http://nsclient.org/nscp/discussion/message/147#message147
http://nsclient.org/nscp/discussion/message/147#message147
<p>
check_nt does its "own" handling so the short answer is "no", but most likely there is something wrong that causes check_nt to report 139 so my guess is: yes.
</p>
<p>
To find out what, run the command from the CLI and also check the NSCP logs (and perhaps enable debug logging or even run tiwh the /test option)
</p>
<p>
<em> MickeM
</em></p>
MessageanonymousMon, 03 Dec 2007 14:57:54 GMTReply #146 to topic #63 - (Return code of x is out of bounds) change to Unknown instead of Critical
http://nsclient.org/nscp/discussion/message/146#message146
http://nsclient.org/nscp/discussion/message/146#message146
<p>
One of the commands I use in Nagios is:
check_command check_nt!MEMUSE!-w 80 -c 90
</p>
<p>
and it often returns:
Return code of 139 is out of bounds). Instead of reporting to Nagios this as a Critical status, is there a way to change this to an Unknown status?
</p>
<p>
Thank you for your help.
</p>
<p>
JohnK
</p>
MessagemickemFri, 30 Nov 2007 23:19:31 GMTReply #144 to topic #63 - (Return code of x is out of bounds) change to Unknown instead of Critical
http://nsclient.org/nscp/discussion/message/144#message144
http://nsclient.org/nscp/discussion/message/144#message144
<p>
in what context?
</p>
<p>
sounds like an external NRPE script?
</p>
<p>
<em> MickeM
</em></p>
Message