SNMP Centos
How do I find the OID code for a physical volume. I managed to get it to work with our snmp monitoring software to alert me when disk space was < 10% but the computer which was running the SNMP monitoring died. For the life of me I can't remeber how I got it to work.
I have 4 partitions
1 has 88% free /etc/mapper/volgroup00
2 has 21% free /boot
3 nfsd 0 bytes
4 sunrpc 0 bytes
Here is a copy of the OID I'm using 1.3.6.1.2.1.25.2.3.1.5.1 I change the last number to resemble the drive but i'm testing using 8% and they each return an error drive space low which is what the VB script tells it to do. I know the script works as I use it on Windows Servers no problems. I do an SNMPWALK on the server and it validates the above OID with HOST-RESOURCES-MIB::hrStorageSize so I know thats valid.
But thats where I'm stuck. What value should I see if I were to use this OID 1.3.6.1.2.1.25.2.3.1.6.1 which is for free disk space.
atb
Alex
|