Anil Gupte a écrit :
I was setting up MRTG on a Debian box and everything was proceeding well for almost a day. However, now one of the routers appears to be giving a problem. I get this:
SNMP Error: Received SNMP response with error code error status: noSuchName index 1 (OID: 1.3.6.1.2.1.2.2.1.10.1797) SNMPv1_Session (remote host: "w.x.y.z" [216.136.13.254].161) community: "xyz" request ID: 1235825153 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) at /usr/lib/perl5/SNMP_util.pm line 456 SNMPGET Problem for ifInOctets.1797 ifOutOctets.1797 sysUptime sysName on [EMAIL PROTECTED]: at /usr/bin/mrtg line 1496 WARNING: Expected a number but got '' WARNING: Expected a number but got ''
This router was responding fine, like I said for almost an entire day.
Any ideas what is causing this and how I can fix it?
Did you try a snmpget by hand from the machine running mrtg? E. g. :
$ snmpget -v1 host community-string snmp-object
In your case, seems to be :
$ snmpget -v1 216.136.13.254 xyz "1.3.6.1.2.1.2.2.1.10.1797"
-- Emmanuel Halbwachs Laboratoire de Photonique et Nanostructures tel : (+33)1 69 63 61 34 CNRS UPR 20 fax : (+33)1 69 63 60 06 Route de Nozay mailto:[EMAIL PROTECTED] 91460 Marcoussis France
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]