[mrtg] pulling snr data error

MMartin at jwpepper.com MMartin at jwpepper.com
Tue Jan 17 16:57:34 CET 2012


Hey Lee,

I am by no means an expert on the subject, but from personal experience it 
looks like the OID your giving it is incorrect. Or your using the wrong 
SNMP version.
Are you just trying to collect Traffic data from your router...?

Also, do you have the ability to run an "snmpget" request from a command 
line?


-Matt





From:   Lee Todd <ltodd2 at hallmark-uk.com>
To:     <mrtg at lists.oetiker.ch>
Date:   01/17/2012 10:52 AM
Subject:        [mrtg] pulling snr data error
Sent by:        <mrtg-bounces+mmartin=jwpepper.com at lists.oetiker.ch>




I have been trying to pull snr data from a cisco 887 router.  I got a base
cfg from the web and changed what I think is correct but when I run it I
get the following error.  Prob a really silly thing but im just not seeing
it.


env LANG=C /usr/bin/mrtg /etc/mrtg/test.cfg

SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.2.2.1.10.12)
SNMPv1_Session (remote host: "172.20.129.2" [172.20.129.2].161)
                  community: "test"
                 request ID: 762442628
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/bin/../lib/mrtg2/SNMP_util.pm line 490
SNMPGET Problem for ifInOctets.12 ifOutOctets.12 sysUptime sysName on
test at 172.20.129.2::::::v4only
 at /usr/bin/mrtg line 2202
2012-01-17 15:40:15: ERROR: Target[gauge32][_IN_] '.1.3.6.1.2.1.10.­
94.1.1.3.1.4.12&.1.3.6.1.2.1.10.94­.1.1.2.1.4. $target->[0]{$mode} ' 
(kill):
Unrecognized character \xC2 at (eval 19) line 1.
2012-01-17 15:40:15: ERROR: Target[gauge32][_OUT_] '.1.3.6.1.2.1.10.­
94.1.1.3.1.4.12&.1.3.6.1.2.1.10.94­.1.1.2.1.4. $target->[0]{$mode} ' 
(kill):
Unrecognized character \xC2 at (eval 20) line 1.

The cfg is below.  I first thought it was the name in the [ ] so tried
guage32 and before that it was Cisco-snr

EnableIPv6: no
workdir:/var/www/mrtg/test
options[_]: growright,bits



XSize[_]: 500
YSize[_]: 100

Target[Gauge32]:.1.3.6.1.2.1.10.­
94.1.1.3.1.4.12&.1.3.6.1.2.1.10.94­.1.1.2.1.4.12:test at 172.20.129.2
Title[Gauge32]: Cisco 887 SNR Analysis
PNGTitle[Gauge32]: Cisco 887 SNR Analysis
Background[Gauge32]: #ffffff
PageTop[Gauge32]: <H1>Cisco 887 SNR Analysis</H1>
WithPeak[Gauge32]: wmy
MaxBytes[Gauge32]: 200000
Options[Gauge32]: gauge, nopercent
YLegend[Gauge32]: SNR Value
ShortLegend[Gauge32]: dB
Legend1[Gauge32]: Average
Legend2[Gauge32]:
Legend3[Gauge32]: Maximum
Legend4[Gauge32]:
LegendI[Gauge32]: Local SNR:
LegendO[Gauge32]: Remote SNR:


Registered Office: Bingley Road, Bradford, BD9 6SD
Registered in England no. 03414540

The information contained in this e-mail and any accompanying documents
may contain information that is confidential or otherwise protected from
disclosure. If you are not the intended recipient of this message, or if
this message has been addressed to you in error, please immediately
alert the sender by reply e-mail and then delete this message, including
any attachments. Any dissemination, distribution or other use of the
contents of this message by anyone other than the intended recipient is
strictly prohibited.

Unless specifically stated in this e mail, the agreement and content 
of this correspondence is subject to contract. 
No contract is implied by this correspondence, unless specifically 
stated as a contract (purchase order or sales order)

Think of the environment; please don't print this e-mail unless you
really need to

_______________________________________________
mrtg mailing list
mrtg at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20120117/bdb84cdb/attachment.htm 


More information about the mrtg mailing list