TECHZEN Zenoss User Community ARCHIVE  

Why is Used Bytes displaying 0.00B but snmpwalk has values? (Windows)

Subject: Why is Used Bytes displaying 0.00B but snmpwalk has values? (Windows)
Author: Anwar Sumawang
Posted: 2017-05-17 22:01

Hi everyone,

I'm using Zenoss 4.2.5 and I'm monitoring a Windows 7 Enterprise VM.

I am using snmp since WinRM has issues.

My issue is that for the File Systems, "Used Bytes" are showing 0.00B



When I do a "snmpwalk -v2c -c public <IP> 1.3.6.1.2.1.25.2.3", here's what I get:

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::hrStorageType.1 = OID: HOST-RESOURCES-TYPES::hrStorageRemovableDisk
HOST-RESOURCES-MIB::hrStorageType.2 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.3 = OID: HOST-RESOURCES-TYPES::hrStorageCompactDisc
HOST-RESOURCES-MIB::hrStorageType.4 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.5 = OID: HOST-RESOURCES-TYPES::hrStorageVirtualMemory
HOST-RESOURCES-MIB::hrStorageType.6 = OID: HOST-RESOURCES-TYPES::hrStorageRam
HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: A:\
HOST-RESOURCES-MIB::hrStorageDescr.2 = STRING: C:\ Label: Serial Number 9c09c1b4
HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: D:\
HOST-RESOURCES-MIB::hrStorageDescr.4 = STRING: E:\ Label:New Volume Serial Number 64ecffea
HOST-RESOURCES-MIB::hrStorageDescr.5 = STRING: Virtual Memory
HOST-RESOURCES-MIB::hrStorageDescr.6 = STRING: Physical Memory
HOST-RESOURCES-MIB::hrStorageAllocationUnits.1 = INTEGER: 0 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.2 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.3 = INTEGER: 0 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.4 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.5 = INTEGER: 65536 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.6 = INTEGER: 65536 Bytes
HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: 13106431
HOST-RESOURCES-MIB::hrStorageSize.3 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.4 = INTEGER: 4193535
HOST-RESOURCES-MIB::hrStorageSize.5 = INTEGER: 32760
HOST-RESOURCES-MIB::hrStorageSize.6 = INTEGER: 16376
HOST-RESOURCES-MIB::hrStorageUsed.1 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.2 = INTEGER: 10714917
HOST-RESOURCES-MIB::hrStorageUsed.3 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.4 = INTEGER: 134125
HOST-RESOURCES-MIB::hrStorageUsed.5 = INTEGER: 18811
HOST-RESOURCES-MIB::hrStorageUsed.6 = INTEGER: 8191
HOST-RESOURCES-MIB::hrStorageAllocationFailures.1 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.2 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.3 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.4 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.5 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.6 = Counter32: 0

Can you please help me show the used bytes in Zenoss?

Thank you in advance!

------------------------------
Anwar
------------------------------


Subject: RE: Why is Used Bytes displaying 0.00B but snmpwalk has values? (Windows)
Author: Jane Curry
Posted: 2017-05-18 04:38

So can you check that the snmp version of the FileSystems template is actually being used.  This will probably depend on the device class that the device is in.  Go to the device, select a filesystem, change the Display dropdown from Graph to Templates.  The template will be called FileSystem but check the device class definition column for that template.

Cheers,
Jane

------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------


Subject: RE: Why is Used Bytes displaying 0.00B but snmpwalk has values? (Windows)
Author: Anwar Sumawang
Posted: 2017-05-18 21:54

Hi Jane,

The definition is on /Devices/Server/Microsoft and is not using snmp.



I transferred it to /Devices/Server/Windows and got it working. Thanks a lot Jane! :)



------------------------------
Anwar
------------------------------


< Previous
Where to find source code for Zenoss Core?
  Next
Zenoss 5 Core - Multiple Zenperfsnmp oddness
>