[mrtg] Problem with ifInOctets
Dickson Law
dickson at mizuhocap.com
Fri Dec 20 06:00:28 MET 2002
i all
Having problem configuring a snmp device with no support for mibv2.
Config file
NoMib2:Yes
WorkDir: /var/tmp/temp
Imagedir: /var/tmp/temp/images
NoMib2:Yes
Target[temp.snmp-monitor]:
1.3.6.1.4.1.3052.4.1.1.1.1.6.1.1.1:public at snmp-monitor
Title[temp.snmp-monitor]: Temperature Monitoring
PageTop[temp.snmp-monitor]: <h1> Machine Room Temperature (Celcius)</h1>
But gets this error when I run mrtg temp.cfg
mrtg temp.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)
<---------------------------Problem!
SNMPv1_Session (remote host: "snmp-monitor" [172.18.2.41].161)
community: "public"
request ID: -1017239276
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /opt/local/bin/../lib/mrtg2/SNMP_util.pm line 458
SNMPGET Problem for ifInOctets.1 ifOutOctets.1 on public at snmp-monitor
at /usr/local/bin/mrtg line 1620
WARNING: skipping because at least the query for ifInOctets.1 on
snmp-monitor did not succeed
ERROR: Target[temp.snmp-monitor][_IN_]
'1.3.6.1.4.1.3052.4.1.1.1.1.6.1.1. $$target[0]{$mode} ' (warn): Use of
uninitialized value in concatenation (.) or string at (eval 6) line 1.
ERROR: Target[temp.snmp-monitor][_OUT_]
'1.3.6.1.4.1.3052.4.1.1.1.1.6.1.1. $$target[0]{$mode} ' (warn): Use of
uninitialized value in concatenation (.) or string at (eval 7) line 1.
WARNING: Skipping Update of temp.snmp-monitor, inlast is
not defined
WARNING: Skipping Update of temp.snmp-monitor, outlast is
not defined
I am certain the device snmp-montior does not support the OID
1.3.6.1.2.1.2.2.1.16.1, which I belive is a standard v2 MIB. How can
I turn it off? the noMib2 in the config file does not seems to be
doing much.
TIA
dickson
--
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