SNMP TABLE ERROR : Requested table is empty or does not exist

Michael_DD發表於2014-10-20
SNMP TABLE ERROR : Requested table is empty or does not exist


When using Centreon / Nagios this error has happened on a few machines. In order to resolve this you need to edit the snmpd.conf file and add a line to it.

So running a command like below would result in this error:

# /usr/lib64/nagios/plugins/check_centreon_snmp_process -H domain.com -v 1 -C public -p mysqld
SNMP TABLE ERROR : Requested table is empty or does not exist.

編輯snmpd.conf檔案:
Edit
/etc/snmp/snmpd.conf
or wherever your conf file is. Add the following line to the bottom:
view systemview included .1


Restart snmpd and try to connect again with the same command as before:

# /usr/lib64/nagios/plugins/check_centreon_snmp_process -H domain.com -v 1 -C public -p mysqld
Process OK - mysqld: runnable
Would you look at that? Success!

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29500582/viewspace-1304663/,如需轉載,請註明出處,否則將追究法律責任。

相關文章