[mrtg] Re: MRTG 2.9.17 w/LoadMIBs option
Bowie Bailey
Bowie_Bailey at BUC.com
Wed Oct 16 22:53:31 MEST 2002
> -----Original Message-----
> From: nate [mailto:mrtg at aphroland.org]
>
> so, the OID I want to query is .1.3.6.1.4.1.3495.1.3.2.2.1.1.5. In my
> conf file I put this as the target:
> Target[squid.cache.client.usage]:
> ".1.3.6.1.4.1.3495.1.3.2.2.1.1.5:public at localhost:3401"
>
> (it's wordwrapped again, but trust me its all on one line!)
>
> when I run it through MRTG I get the same message:
>
> $ mrtg squid.conf2
> SNMP Error:
> Received SNMP response with error code
> error status: noSuchName
> index 1 (OID: 1.3.6.1.2.1.2.2.1.10.5)
> SNMPv1_Session (remote host: "localhost" [127.0.0.1].3401)
> community: "public"
> request ID: -1467326778
> PDU bufsize: 8000 bytes
> timeout: 2s
> retries: 5
> backoff: 1)
> at /usr/lib/perl5/SNMP_util.pm line 456
> SNMPGET Problem for ifInOctets.5 ifOutOctets.5 sysUptime sysName on
> public at localhost:3401
> at /usr/bin/mrtg line 1496
> WARNING: Expected a number but got ''
> WARNING: Expected a number but got ''
>
>
> Now I'm really lost.. I mean I'm telling MRTG *exactly* what to
> query I think(snmpwalk understands it, even without the MIB) but
> it still errors out.
I'm not an expert by any means, but when you specify OIDs, each target needs
two of them. Maybe this error message is due to there only being one OID
for the target. I'm also not sure about the leading period or the quotes.
Try this:
Target[squid.cache.client.usage]:
1.3.6.1.4.1.3495.1.3.2.2.1.1.5&1.3.6.1.4.1.3495.1.3.2.2.1.1.5:public at localho
st:3401
Options[squid.cache.client.usage]: noi
(The target specification should be all on one line, of course)
Bowie
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list