Retrun code of 99 is out of bounds

Fredrik Wänglund Fredrik.Wanglund at datavis.se
Thu Oct 3 16:17:51 CEST 2002


$USER1$ is a variable that normally contains the path to the libexec dir ie '/usr/Local/nagios/libexec'. So you should either have ;

command[check_http]=/usr/local/nagios/libexec/check_http -H $HOSTADDRESS$

or

command[check_http]=/$USER1$/check_http -H $HOSTADDRESS$

if that variable is defined by nrpe



/FredrikW


-----Original Message-----
From:	Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG]
Sent:	Thu 03-Oct-02 15:35
To:	'Kenneth.ray'
Cc:	'nagios-users at lists.sourceforge.net'
Subject:	RE: [Nagios-users] Re: Retrun code of 99 is out of bounds

Hi Ken,
 
I did a check of the command and the feedback I got indicated the check_http
command was not defined. I went to the remote host's nrpe.cfg file and I checked
the syntax 
of the check_http command. Here's what it reads:
 
    command[check_http]=/usr/local/nagios/libexec/$USER1$/check_http -H
$HOSTADDRESS$
 
Should the above line have the $USER1$ setting changed to the actual user
running the daemon, and similarly should $HOSTADDRESS$ be the actual address of
the remote host?

-----Original Message-----
From: Kenneth.ray [mailto:kenneth.ray at travelersla.com]
Sent: Thursday, October 03, 2002 8:33 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Re: Retrun code of 99 is out of bounds


This quite simply means that when the program excuted 
an error occured which Nagios could not interpret, 
hence its "out of bounds" message. 
Nagios is looking for return codes of 0,1,2,(3) 
(not sure of the three but there is a third return code associated with 
unknown errors) 
So when it receives a return code other than the 4 above 
it displays an error of "return code ## is out of bounds."and 
goes into an "other than ok" state. 
this is a good indication something is happening behind the 
scenes. The best way to determine the actual  error is to execute the 
plugin with the same switches as in your service check with the 
same user that you excute the Nagios daemon with. 
This should spit out additional information that was not 
displayed when the service check ran inside of Nagios. 

Again the above error is the programs way of interpreting 
errors that fall outside of the realm it is accustomed to seeing. 
  


I hope this helps.. 
Kenneth Ray 


nagios-users-request at lists.sourceforge.net wrote: 


Message: 1 
From: "Kaplan, Andrew H." <AHKAPLAN at PARTNERS.ORG> 
To: nagios-users at lists.sourceforge.net 
Date: Wed, 2 Oct 2002 14:30:35 -0400 
Subject: [Nagios-users] Return code of 99 is out of bounds 

What is the cause for a RETURN CODE OF 99 IS OUT OF BOUNDS ERROR? It is showing 
up while checking the http daemon on the remote host. 


--__--__-- 
 

-- 

this message and any attachments are confidential to the ordinary user of

the e-mail address to which it was addressed and may also be privilaged. 

If you receive this message in error please immediately delete it and all

 copies of it from your system, destroy any hard copies of it and notify 

the sender. You must not, directly or indirectly, use, disclose,distribute,

print or copy any part of this message if you are not the intended 

resipient. Internet communications cannot be guaranteed to be secure 

or error-free as information could be intercepted, corrupted, lost, 

arrive late or contain viruses or unauthorized amendments. The sender,

therfore, does not accept liability for any errors or ommission in the

content of this message or any damage or other consequences arising as 

a result of Internet Transmition. Opinions, conclusions and/or

other information in this transmitted messxage that do not relate 

to official business of CITIGROUP shall be understood as neither given 

nor endorsed by CitiGroup.
  






-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list