Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Enhanced SNMP Windows Disk Check - Check all partitions at once
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
Based on the check_win_snmp_disk.pl script posted here by Dan Capper.
This version detects and checks all windows partitions is founds (instead to check one by one like in previous version).
Short output - Most "problematic" partiotion info (including Drive letter and threshoulds) will be shown.
Long output - All partitions info (including Drive letter and threshoulds) will be shown.
This version detects and checks all windows partitions is founds (instead to check one by one like in previous version).
Short output - Most "problematic" partiotion info (including Drive letter and threshoulds) will be shown.
Long output - All partitions info (including Drive letter and threshoulds) will be shown.
Reviews (5)
byopalanque, October 23, 2013
I change the $TEST (ligne 74) to this :
snmpwalk -v 2c -c $COM $SERVER SNMPv2-MIB::sysDescr.0 2>&1`;
because snmpstatus always fall in timeout...
snmpwalk -v 2c -c $COM $SERVER SNMPv2-MIB::sysDescr.0 2>&1`;
because snmpstatus always fall in timeout...
bywiede, April 12, 2011
But it will be perfect, when you can insert the Community also into the Test :)
(line 73 and maybe 78)
e.g. like this:
$TEST=`$snmpstatus -v 1 $SERVER -c @ARGV[1]
(line 73 and maybe 78)
e.g. like this:
$TEST=`$snmpstatus -v 1 $SERVER -c @ARGV[1]
bycoldcache, February 13, 2011
Comment out line 132 and replace it with the following to only check hard drives:
@LDISKS=`$snmpwalk -v 1 -c $COMMUNITYNAME $SERVER hrStorageType | grep "FixedDisk" | awk '{print \$1}' | awk -F. '{print \$2}'`;
@LDISKS=`$snmpwalk -v 1 -c $COMMUNITYNAME $SERVER hrStorageType | grep "FixedDisk" | awk '{print \$1}' | awk -F. '{print \$2}'`;
byfatherlinux, October 14, 2010
I had to move the snmp community string parse code above the test to get this to work, might want to update.
byjrmontg, July 30, 2009
Nice but I do not need to know there is 100% usage on my cd rom.