Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
Your review has been submitted and is pending approval.
Based on the check_win_snmp_disk.pl script posted here by Dan Capper. Enhancements – all partitions are detected dynamically and tested. Detailed check report (includes Drive letter + supplied threshold). Most “critical” drive will be shown first. Some errors checks added (whether snmp available or no, whether tested machine is windows machine).
Current Version
Last Release Date
July 28, 2009
Owner
Nagios Exchange
Compatible With
The only script you need
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.
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...
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]
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}'`;
I had to move the snmp community string parse code above the test to get this to work, might want to update.
Nice but I do not need to know there is 100% usage on my cd rom.
You must be logged in to submit a review.
To:
From: