Service Return Code 255 Problem

Fernando Rocha fernando.rocha at opservices.com.br
Fri Nov 14 18:46:28 CET 2008


Hi,

The Nagios plugins should return codes based on the POSIX.

Probably your plugin is returning a code out of this range.

Take a look:
http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN78

Fernando Rocha
OpServices Tecnologia da Informação

----- Original Message -----
From: "Mark Novak" <mark.novak at eds.com>
To: nagios-users at lists.sourceforge.net
Sent: Friday, November 14, 2008 2:40:19 PM (GMT-0300) Auto-Detected
Subject: [Nagios-users] Service Return Code 255 Problem

Hello Everyone,

I have searched the archives and also googled for my scenario, but have
not found any answers that relate.

I am running Nagios 3.0.5 stable to monitor a few servers and services.


For one particular SAP server, I am using the check_sap_ccms service to
check some SAP services.  Seemingly randomly yesterday, two of the SAP
checks (FrontEndNetTime and DialogResponseTime) have started showing a
"Return Code of 255 is out of bounds" error in the Nagios log and also
on the web front end.  Strangely, those are just two of about 10
different checks that all use the same "check_sap_ccms" check with the
same argument for hostname and only these two are having errors.  Even
stranger, I can execute those two checks via command line and they work
fine.  The error is only in Nagios.  

Any advice on where to look would be much appreciated!

Thanks,

Mark Novak
EDS, an HP Company
SAP Practice Bestshore/GC Architect Delivery Lead
Cell:    214-725-5295
Email: mark.novak at eds.com 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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