[Nagiosplug-devel] [ nagiosplug-Patches-1373819 ] check_disk_snmp.pl support for SNMP v1/2 and Windows

SourceForge.net noreply at sourceforge.net
Mon Jun 26 10:32:15 CEST 2006


Patches item #1373819, was opened at 2005-12-05 20:18
Message generated for change (Comment added) made by tonvoon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1373819&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: None
Group: None
>Status: Closed
Resolution: Rejected
Priority: 5
Submitted By: Alex Burger (alex_b)
Assigned to: Ton Voon (tonvoon)
Summary: check_disk_snmp.pl support for SNMP v1/2 and Windows

Initial Comment:
The attached patch is for check_disk_snmp.pl from
nagios-plugins-1.4.

The patch adds:

-Support for SNMP version 1 and 2
-Support for checking free bytes instead of only usage
ratio
-Support for selecting a device by specifying a
substring of the device description such as c:, d: etc.
-Support for hostname:port

This version can be used to check disk space on both
Unix and Windows hosts.  The command line is compatible
with the old version (defaults to usage).

Examples from the updated help page:

SNMP V3 example using ratio for device number 2:
./check_disk_snmp.pl -u nobody -l authPriv -a MD5 -A
nopass -x DES -m server1 -d 2 -w 70 -c 85

SNMP V1 example using ratio for device number 2:
./check_disk_snmp.pl -v 1 -u public -m server1 -d 2 -w
70 -c 85

SNMP V1 example using bytes for device number 2
./check_disk_snmp.pl -v 1 -u public -m server1 -d 2 -w
10Gb -c 900Mb -t bytes

SNMP V1 example using bytes free for device description
that contains 'c:'
./check_disk_snmp.pl -v 1 -u public -m server1 -d 'c:'
-w 10Gb -c 900Mb -t bytes





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

>Comment By: Ton Voon (tonvoon)
Date: 2006-06-26 09:32

Message:
Logged In: YES 
user_id=664364

Chistoph is a lot faster than I am! He's already replied to Alex and the plugin is 
here: http://www.nagiosexchange.org/SNMP.51.0.html?&tx_netnagext_pi1%
5Bp_view%5D=567

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

Comment By: Ton Voon (tonvoon)
Date: 2006-06-26 09:22

Message:
Logged In: YES 
user_id=664364

Alex,

I'm in private discussions with Christoph Maser as we removed the script 
from CVS on the agreement that he was due to post the plugin onto 
NagiosExchange. I will update here when he has replied.

Please kick me if I don't update within the week. :)

Ton


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

Comment By: Alex Burger (alex_b)
Date: 2006-06-24 16:36

Message:
Logged In: YES 
user_id=85836

Nagios Exchange has check_disk_snmp, not check_disk_snmp.pl.  

Nagios-plugins includes it in the contrib folder.  Should I
add it to Nagios Exchange or should it be updated in CVS for
nagios-plugins?  If I add it to Nagios Exchange, who will
update cvs for nagios-plugins?

Alex


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

Comment By: Ton Voon (tonvoon)
Date: 2006-05-15 14:23

Message:
Logged In: YES 
user_id=664364

Alex,

Thanks for raising this. However, this plugin is being maintained outside of this 
project. Please find the current author and maintainer at http://
nagiosexchange.org

Ton

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

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




More information about the Devel mailing list