Why SNMP is unable to query the interface, disk, memory, and CPU information in Red Hat Enterprise Linux?
Issue
- SNMP is unable to query the system interface, disk, memory, and CPU information, getting below error while querying:
$ snmptable -Cb localhost HOST-RESOURCES-MIB::hrFSTable -v2c -c public
HOST-RESOURCES-MIB::hrFSTable: No entries
$ snmpwalk localhost UCD-SNMP-MIB::systemStats -v2c -c public
UCD-SNMP-MIB::systemStats = No more variables left in this MIB View (It is past the end of the MIB tree)
$ snmpwalk localhost UCD-SNMP-MIB::memory -v2c -c public
UCD-SNMP-MIB::memory = No more variables left in this MIB View (It is past the end of the MIB tree)
$ snmptable localhost UCD-SNMP-MIB::laTable -v2c -c public
UCD-SNMP-MIB::laTable: No entries
$ snmptable -Cb localhost HOST-RESOURCES-MIB::hrStorageTable -v2c -c public
HOST-RESOURCES-MIB::hrStorageTable: No entries
$ snmptable -Cb localhost UCD-DISKIO-MIB::diskIOTable -v2c -c public
UCD-DISKIO-MIB::diskIOTable: No entries
snmptable -Cb localhost IF-MIB::ifTable -v2c -c public
IF-MIB::ifTable: No entries
$ snmpwalk localhost IF-MIB::ifDescr -v2c -c public
IF-MIB::ifDescr = No Such Object available on this agent at this OID
Environment
- Red Hat Enterprise Linux 5/6
- net-snmp
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.