在使用mrtg监控交换机时报错
SNMP Error:
no response received
SNMPv1_Session (remote host: "10.0.0.254" )
community: "public"
request ID: -869504328
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib64/mrtg2/SNMP_util.pm line 627
SNMPWALK Problem for 1.3.6.1.2.1.1 on public@10.0.0.254:v4only
at /usr/bin/cfgmaker line 918
WARNING: Skipping public@10.0.0.254 as no info could be retrieved
解决办法
#/usr/local/mrtg/cfgmaker --snmp-options=:::::2 public@10.0.0.254 > /usr/local/mrtg/etc/mrtg.cfg
对于千兆交换机,snmp协议必须使用2c以上版本
转载于:https://blog.51cto.com/danhanwen/1539306