<font size=2 color=#002f80 face="sans-serif">Lee,</font>
<br>
<br><font size=2 color=#002f80 face="sans-serif">
<i>"</i></font><tt><font size=2><i>do you get a good answer
from this query?<br>
snmpget -c test -v 1 172.20.129.2 .1.3.6.1.2.1.10.
94.1.1.3.1.4.12<br>
snmpget -c test -v 1 172.20.129.2 .1.3.6.1.2.1.10.
94.1.1.2.1.4.12</i></font></tt><font size=2 color=#002f80 face="sans-serif"><i>"</i></font>
<br>
<br><font size=2 color=#002f80 face="sans-serif">I'm assuming that the
space between the 10 and 94 is just is typo. But anyway there's is a few
things I would try.</font>
<br>
<br><font size=2 color=#002f80 face="sans-serif">First try removing the
"." that starts out the OID. That might help. But most likely
that's not the problem.</font>
<br><font size=2 color=#002f80 face="sans-serif">Also, in you cfg file
for the device. When you do version "2" on the "Target[_]:"
line don't use the "c" I don't think MRTG recognizes that.</font>
<br>
<br><font size=2 color=#002f80 face="sans-serif">So for example, you would
just use version "2" like this:</font>
<br><tt><font size=2>Target[<i>my-target-name</i>]:.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@172.20.129.2:::::2</font></tt>
<br><font size=2 color=#002f80 face="sans-serif">It should end with 5 "<b>:</b>"
colons, followed by a 2.</font>
<br>
<br><font size=2 color=#002f80 face="sans-serif">This is from the cfgmaker
man page:</font>
<br><font size=2 face="sans-serif"><i> --snmp-options=:[<port>][:[<tmout>][:[<retr>][:[<backoff>][:<ver>]]]]</i></font>
<br><font size=2 face="sans-serif"><i>
Specify default
SNMP options to be appended to all</i></font>
<br><font size=2 face="sans-serif"><i>
routers following.
Individual fields can be empty.</i></font>
<br><font size=2 face="sans-serif"><i>
Routers following
might override some or all of the</i></font>
<br><font size=2 face="sans-serif"><i>
options
given to --snmp-options.</i></font>
<br>
<br>
<br><font size=2 color=#002f80 face="sans-serif">Also, your "Target:"
name should be a unique name for each separate device/interface or you
can think of it as for each separate graph. Because MRTG will use the target
name as the filename for the RRD file.</font>
<br>
<br><font size=2 color=#002f80 face="sans-serif">One other thing you might
try would be to telnet to the router and check out what the "snmp"
or "snmp-server" settings are. There you should be able to see
what the SNMP version is too.</font>
<br>
<br><font size=2 color=#002f80 face="sans-serif">-Matt</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:
</font><font size=1 face="sans-serif">Lee Todd <ltodd2@hallmark-uk.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:
</font><font size=1 face="sans-serif">Ian <ian@acces.co.jp>,
<mrtg@lists.oetiker.ch>, <MMartin@jwpepper.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:
</font><font size=1 face="sans-serif">01/18/2012 03:31 AM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:
</font><font size=1 face="sans-serif">Re: [mrtg] pulling
snr data error</font>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2><br>
<br>
Ian and Matt<br>
<br>
I can run snmpget and below is what I get from it<br>
<br>
snmpget -t 1 -r 5 -m '' -v 2c -c test<br>
172.20.129.16:161 .1.3.6.1.2.1.10.94.1.1.2.1.4.12<br>
iso.3.6.1.2.1.10.94.1.1.2.1.4.12 = Gauge32: 72<br>
<br>
snmpget -t 1 -r 5 -m '' -v 2c -c test<br>
172.20.129.16:161 .1.3.6.1.2.1.10.94.1.1.3.1.4.12<br>
iso.3.6.1.2.1.10.94.1.1.3.1.4.12 = Gauge32: 58<br>
<br>
I have tried using -v 2c and -v 1 and both work<br>
<br>
<br>
<br>
From: Ian <ian@acces.co.jp><br>
To: mrtg@lists.oetiker.ch,<br>
Date: 18/01/2012 00:15<br>
Subject: Re: [mrtg] pulling snr data error<br>
Sent by: mrtg-bounces+ltodd2=hallmark-uk.com@lists.oetiker.ch<br>
<br>
<br>
<br>
> I have been trying to pull snr data from a cisco 887 router. I
got a<br>
base<br>
> cfg from the web and changed what I think is correct but when I run
it I<br>
> get the following error. Prob a really silly thing but im just
not<br>
seeing<br>
> it.<br>
<br>
do you get a good answer from this query?<br>
snmpget -c test -v 1 172.20.129.2 .1.3.6.1.2.1.10. 94.1.1.3.1.4.12<br>
snmpget -c test -v 1 172.20.129.2 .1.3.6.1.2.1.10. 94.1.1.2.1.4.12<br>
<br>
<br>
_______________________________________________<br>
mrtg mailing list<br>
mrtg@lists.oetiker.ch<br>
</font></tt><a href="https://lists.oetiker.ch/cgi-bin/listinfo/mrtg"><tt><font size=2>https://lists.oetiker.ch/cgi-bin/listinfo/mrtg</font></tt></a><tt><font size=2><br>
<br>
<br>
<br>
Registered Office: Bingley Road, Bradford, BD9 6SD<br>
<br>
Registered in England no. 03414540<br>
<br>
<br>
<br>
The information contained in this e-mail and any accompanying documents<br>
<br>
may contain information that is confidential or otherwise protected from<br>
<br>
disclosure. If you are not the intended recipient of this message, or if<br>
<br>
this message has been addressed to you in error, please immediately<br>
<br>
alert the sender by reply e-mail and then delete this message, including<br>
<br>
any attachments. Any dissemination, distribution or other use of the<br>
<br>
contents of this message by anyone other than the intended recipient is<br>
<br>
strictly prohibited.<br>
<br>
<br>
<br>
Unless specifically stated in this e mail, the agreement and content <br>
<br>
of this correspondence is subject to contract. <br>
<br>
No contract is implied by this correspondence, unless specifically <br>
<br>
stated as a contract (purchase order or sales order)<br>
<br>
<br>
<br>
Think of the environment; please don't print this e-mail unless you<br>
<br>
really need to<br>
<br>
</font></tt>
<br>