报错:
root@localhost mnt]# ./check_traffic.sh -V 2c -C public -H 127.0.0.1 -L
List Interface for host 127.0.0.1.
Interface index = No Such Object available on this agent at this OID
解决:
vim /etc/snmp/snmpd.conf
修改两处:
一处:
access notConfigGroup "" any noauth exact all none none
或者
access notConfigGroup "" any noauth exact mib2 none none
二处:
view mib2 included .iso.org.dod.internet.mgmt.mib-2 fc
转载于:https://blog.51cto.com/151wqooo/1302787