[Nagiosplug-devel] [ nagiosplug-Patches-1343166 ] check_test program control exit status with external file

SourceForge.net noreply at sourceforge.net
Sun Oct 30 20:58:33 CET 2005


Patches item #1343166, was opened at 2005-10-30 23:58
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1343166&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Enhancement
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: John Rouillard (rouilj)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_test program control exit status with external file

Initial Comment:
rouilj-np at renesys.com

A quick and dirty test program similar to check_dummy, but
the exit status is controllable from an external file.

This makes it much easier to use for testing service
interactions
when deploying or testing  new nagios installation.

It has been used for testing nagios service dependency and
host dependency notification and suppression under various
senarios.

Entries in the external file are composed of a label and an
exit code, or code list seperated by an = sign.

The exit code list is any 1, 2 or 3 digit number which
will exit
with that status (0, 1, 2 and 3 are valid for nagios).
The code
'S' or 's' will cause the process to sleep for 1 hour
in the
expectation that it will recieve a kill signal from nagios.

Directions for use are at the top of the file.

-- rouilj


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1343166&group_id=29880




More information about the Devel mailing list