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.
Plugin Nagios via SNMP to check the use of disk in Windows 2003 Server
Current Version
Last Release Date
June 15, 2009
Owner
Nagios Exchange
Compatible With
Check Disk Win2k3 - SNMP
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
Hi.. I applied to windows 7 but it gave me the error; CRITICAL hrStorageAllocationUnits.1: Unknown Object Identifier (Sub-id not found: (top) -> hrStorageAllocationUnits)
You must be logged in to submit a review.
To:
From: