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

SourceForge.net noreply at sourceforge.net
Mon Dec 5 12:19:03 CET 2005


Patches item #1373819, was opened at 2005-12-05 15:18
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=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: Open
Resolution: None
Priority: 5
Submitted By: Alex Burger (alex_b)
Assigned to: Nobody/Anonymous (nobody)
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





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

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