I am using RedHat 9, mrtg-2.9.17-13 and net-snmp-5.0.6-17
I am sure my mrtg conf is no problem. And I think this about snmp setting. But I don't how to set snmp.
Pls help me to solve this problem and teach me how to set snmp.
thx
When I run this
[root@ns1 mrtg]# mrtg mrtg.cfg
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 2 (OID: 1.3.6.1.2.1.2.2.1.16.1)
SNMPv1_Session (remote host: "ns1.xxx.com" [127.0.0.1].161)
community: "public"
request ID: 1622863907
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 450
SNMPGET Problem for ifInOctets.1 ifOutOctets.1 sysUptime sysName on
public@ns1.xxx.com:
at /usr/bin/mrtg line 1491
WARNING: Expected a number but got ''
WARNING: Expected a number but got ''