[mrtg] pulling snr data error
Lee Todd
ltodd2 at hallmark-uk.com
Tue Jan 17 16:54:56 CET 2012
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
More information about the mrtg
mailing list