[Nagiosplug-devel] [ nagiosplug-Bugs-1343135 ] patch for check_nmap to report incorrect tmp dir & more

SourceForge.net noreply at sourceforge.net
Sun Oct 30 20:32:59 CET 2005


Bugs item #1343135, was opened at 2005-10-30 23:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1343135&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: General plugin execution
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: John Rouillard (rouilj)
Assigned to: Nobody/Anonymous (nobody)
Summary: patch for check_nmap to report incorrect tmp dir & more

Initial Comment:
Changes by rouilj-np at renesys.com.

Patch generated against version 1.21 of check_nmap.py
included in nagios-plugins version 1.4.2

If the temporary directory specified in the program is not
present, check_nmap.py exits with a wierd error. My patch
checks to make sure the temp directory exists and is
writable.
It generates a useful error message if not accessible.

Temp directory changed to /var/spool/nagios/tmp.

The UNKNOWN status exit code is set to 3 rather than -1.

Updated script for python 2.x using random rather than
whrandom.

Added more debugging statements.

One feature added: The -N option passes arguments
directly to nmap. Useful for tuning nmap operation to
allow the plugin
to finish in less time than the default operating mode.

-- rouilj


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

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




More information about the Devel mailing list