[Nagiosplug-devel] [ nagiosplug-Patches-820806 ] better error checking for check_linux_raid.pl

SourceForge.net noreply at sourceforge.net
Thu Oct 9 11:40:05 CEST 2003


Patches item #820806, was opened at 2003-10-09 18:39
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=820806&group_id=29880

Category: Enhancement
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: jtlayton (poochiereds)
Assigned to: Nobody/Anonymous (nobody)
Summary: better error checking for check_linux_raid.pl

Initial Comment:
Here's a patch for check_linux_raid.pl, which is in the
contrib directory. This patch makes it fail with an
"UNKNOWN" error if it's not running on Linux, and adds
a more picky regexp for identifying md??? devices. 

I noticed in testing that it was possible to get false
positives if it was passed in an integer instead of
'md???' as the first argument. This fixes that behavior.

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

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




More information about the Devel mailing list