Windows SNMP Disk Monitoring - Larger Disks Problems

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
Atze
Posts: 1
Joined: Fri Jan 03, 2014 5:09 pm

Windows SNMP Disk Monitoring - Larger Disks Problems

Post by Atze »

Hiho,

i have problem with monitoring larger disks via snmp -> Windows Servers

-> Script ss_host_disk.php

size and uses are negative,
Is there an easy solution ?

Output from snmpwalk

root@host # snmpwalk -v2c -c **** 192.168.x.x 1.3.6.1.2.1.25.2
HOST-RESOURCES-MIB::hrMemorySize.0 = INTEGER: 401048456 KBytes
HOST-RESOURCES-MIB::hrStorageIndex.1 = INTEGER: 1
HOST-RESOURCES-MIB::hrStorageIndex.2 = INTEGER: 2
HOST-RESOURCES-MIB::hrStorageIndex.3 = INTEGER: 3
HOST-RESOURCES-MIB::hrStorageIndex.4 = INTEGER: 4
HOST-RESOURCES-MIB::hrStorageIndex.5 = INTEGER: 5
HOST-RESOURCES-MIB::hrStorageIndex.6 = INTEGER: 6
HOST-RESOURCES-MIB::hrStorageIndex.7 = INTEGER: 7
HOST-RESOURCES-MIB::hrStorageIndex.8 = INTEGER: 8
HOST-RESOURCES-MIB::hrStorageType.1 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.2 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.3 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.4 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.5 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.6 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.7 = OID: HOST-RESOURCES-TYPES::hrStorageVirtualMemory
HOST-RESOURCES-MIB::hrStorageType.8 = OID: HOST-RESOURCES-TYPES::hrStorageRam
HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: C:\ Label:System
HOST-RESOURCES-MIB::hrStorageDescr.2 = STRING: M:\ Label:B2D2T
HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: N:\ Label:B2D2T
HOST-RESOURCES-MIB::hrStorageDescr.4 = STRING: O:\ Label:B2D2T
HOST-RESOURCES-MIB::hrStorageDescr.5 = STRING: P:\ Label:B2D2T
HOST-RESOURCES-MIB::hrStorageDescr.6 = STRING: Q:\ Label:B2D2T
HOST-RESOURCES-MIB::hrStorageDescr.7 = STRING: Virtual Memory
HOST-RESOURCES-MIB::hrStorageDescr.8 = STRING: Physical Memory
HOST-RESOURCES-MIB::hrStorageAllocationUnits.1 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.2 = INTEGER: 16384 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.3 = INTEGER: 16384 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.4 = INTEGER: 16384 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.5 = INTEGER: 16384 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.6 = INTEGER: 16384 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.7 = INTEGER: 65536 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.8 = INTEGER: 65536 Bytes
HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 234002175
HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: -338953345
HOST-RESOURCES-MIB::hrStorageSize.3 = INTEGER: -338953345
HOST-RESOURCES-MIB::hrStorageSize.4 = INTEGER: -338953345
HOST-RESOURCES-MIB::hrStorageSize.5 = INTEGER: -338953345
HOST-RESOURCES-MIB::hrStorageSize.6 = INTEGER: -338953345
HOST-RESOURCES-MIB::hrStorageSize.7 = INTEGER: 6921742
HOST-RESOURCES-MIB::hrStorageSize.8 = INTEGER: 6266382
HOST-RESOURCES-MIB::hrStorageUsed.1 = INTEGER: 103849064
HOST-RESOURCES-MIB::hrStorageUsed.2 = INTEGER: 1742665273
HOST-RESOURCES-MIB::hrStorageUsed.3 = INTEGER: 1819044449
HOST-RESOURCES-MIB::hrStorageUsed.4 = INTEGER: -1176040022
HOST-RESOURCES-MIB::hrStorageUsed.5 = INTEGER: -1563335906
HOST-RESOURCES-MIB::hrStorageUsed.6 = INTEGER: 1299435508
HOST-RESOURCES-MIB::hrStorageUsed.7 = INTEGER: 2789923
HOST-RESOURCES-MIB::hrStorageUsed.8 = INTEGER: 2703082

Thanks,
Niels
Attachments
disk.png
disk.png (181.83 KiB) Viewed 5546 times
frekemeister
Posts: 11
Joined: Thu Apr 02, 2015 3:17 am

Re: Windows SNMP Disk Monitoring - Larger Disks Problems

Post by frekemeister »

I got round a similar issue by using figures from Windows Perfmon, is a bit of a faff, but works well.

Take a look at http://labalec.fr/erwan/?page_id=24
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests