File System

Check Disk Win2k3 – SNMP

Description:

Plugin Nagios via SNMP to check the use of disk in Windows 2003 Server

Current Version

Last Release Date

June 15, 2009

Compatible With


Project Files
Project Notes
Plugin via SNMP to check the use of disk in Windows 2003 Server MIBs used: HOST-RESOURCES-MIB:: hrStorageSize, HOST-RESOURCES-MIB:: hrStorageUsed, HOST-RESOURCES-MIB:: hrStorageAllocationUnits. Depends: net-snmp and net-snmp-utils Usage: check_disk_snmp IP COMMUNITY DISK_MIB WARNING CRITICAL IP - IP of Host COMMUNITY of SNMP - public, private e etc... DISK_MIB - information from the command snmpwalk -v 1 -c communty IP, for the MIB HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: C:. The DISK_MIB is the last number, after the "." WARNING - Value of Warn in percentage, there is no need to insert "%" CRITICAL - Value of Crit in percentage, there is no need to insert "%" Example: check_disk_snmp 192.168.1.1 public 1 80 90 Cheking the C: of Windows Exemple 2: check_disk_snmp 192.168.1.1 public 2 80 90 Cheking the D: of Windows **** Note the value of changing DISK_MIB *** Example Nagios Configuration: #### commands.cfg ##### # SNMP - Check Disk define command{ command_name check_disk_snmp command_line /usr/local/nagios/libexec/check_disk_snmp $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ $ARG4$ } ##### services.cfg ##### # Check D: define service{ use generic-service host_name Server-2k3 service_description Status D: check_command check_disk_snmp!public!2!80!90 } # Check C: define service{ use generic-service host_name Server-2k3 service_description Status C: check_command check_disk_snmp!public!1!80!90 } André Luiz Facina
Reviews (1) Add a Review
Unknown Object Identifier
by muh, May 31, 2014

Hi.. I applied to windows 7 but it gave me the error; CRITICAL hrStorageAllocationUnits.1: Unknown Object Identifier (Sub-id not found: (top) -> hrStorageAllocationUnits)



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
3.3 (3)
Favorites
0
Views
106,395