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博客 ” ,链接:https://blog.itpub.net/29500582/viewspace-1304663/
,如需转载,请注明出处,否则将追究法律责任。