I am trying to use SNMP to monitor disk usage for a particular filesystem on several servers. Each server is the only Ubuntu 16.04 guest on a dedicated ESXi host. Each server is configured with two virtual volumes provided by ESX. One volume is used for the OS and the other is used for data only and mounted on /history.
I want to monitor the usage on /history, but an snmpwalk on each server shows it is reported on different OIDs.
When I do an snmpwalk on .1.3.6.1.2.1.25.2.3.1.3 I get two different results:
- Server A has .1.3.6.1.2.1.25.2.3.1.3.60 /history
- Server B has .1.3.6.1.2.1.25.2.3.1.3.59 /history
This OID translates to: HOST-RESOURCES-MIB::hrStorageDescr
I have several servers to monitor (not just the two above) and would really love to be able to use the same OID for each server's /history usage statistic.
Is there a way to achieve this consistency?
As far as I can tell the servers are all configured with same number of virtual disks and the same filesystem structure. Within their respective hosts the disks and RAID configurations are the same. Would it even matter how hosts disks are arranged?
I would appreciate any assistance or tips on where to look.
-Sander