Return code of 142 is out of bounds

Mathew Walker lmw94002 at hotmail.com
Mon Jun 22 16:36:49 CEST 2009


just a thought... 

 

is $HOSTNAME$ valid?  sure you don't mean $HOSTADDRESS$ instead?    

-- 
Mat W. - http://www.techadre.com


 


Date: Sat, 20 Jun 2009 11:34:17 +0530
Subject: Re: [Nagios-users] Return code of 142 is out of bounds
From: victory17 at gmail.com
To: lmw94002 at hotmail.com
CC: nagios-users at lists.sourceforge.net

I am using the snmp commands. The following are a coupld of examples:

check_snmp_ntpstat -H $HOSTNAME$ -C COMMUNITY_NAME
check_snmp_disk -H $HOSTNAME$ -C COMMUNITY_NAME

I have seen the faqs mentioned by you and it says the same thing as mentioned by you. But interestingly, error "Return code of 142" started to show up from version 3.x. I did not find that in any previous versions.

Regards,


On Thu, Jun 18, 2009 at 8:24 PM, Mat W <lmw94002 at hotmail.com> wrote:


there's the FAQ... http://www.nagios.org/faqs/viewfaq.php?faq_id=17
 
I think this can also happen when some checks returns -no- value, or return a string when expecting an integer, etc.  essentially encountering something the plugin isn't expecting which could be leading to "bad exit" from the script.

Can you recreate this from the command line?

-- 
Mat W. - http://www.techadre.com


 


Date: Thu, 18 Jun 2009 10:38:18 +0530
From: victory17 at gmail.com

To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Return code of 142 is out of bounds




Hi All,

I am running Nagios 3.0.2 on FC5 server.

I have been encountering this strange error intermittently on a few checks.

(Return code of 142 is out of bounds)

I am using the nagios with snmp (net-snmp-5.2 & net-snmp-5.3) on a few servers.

This normally happens with snmp-load checks or snmp-disk checks.

I could not find anything related to this problem over the internet. Hoping to get a solution to this problem here.

Regards,




Windows LiveT: Keep your life in sync. Check it out.

-- 
Regards,
Gagan Brahmi
(SKY)
+919860091019

(¨`ˇ.ˇ´¨) Always
`ˇ.¸(¨`ˇ.ˇ´¨) Keep
(¨`ˇ.ˇ´¨)¸.ˇ´ Smiling!
 `ˇ.¸.ˇ´

_________________________________________________________________
Lauren found her dream laptop. Find the PC that's right for you.
http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090622/132e4d2f/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list