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: [email protected]
To: [email protected]
CC: [email protected]

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 <[email protected]> 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: [email protected]

To: [email protected]
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
------------------------------------------------------------------------------
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
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to