[mrtg] Re: Cisco Aironet 1200 oid; continued

David Ziemba dziemba at ColoradoCollege.edu
Thu Feb 5 18:00:22 MET 2004


Hi Everyone,

ARRRG!  I've been doing this before, but I cannot get it to work now with
the changed OID!  I'm pooling the OID for authenticated users on the Cisco
1200AP's IOS, from Vx works, and now getting error messages.


Here is the walk:

[root at openfire:~]# snmpwalk 10.1.0.9 COMM .1.3.6.1.4.1.9.9.273.1.1.2.1.1
enterprises.9.9.273.1.1.2.1.1.1 = Gauge32: 0


Here is the config file:

WorkDir: /usr/local/www/data/mrtg
Options[_]: growright, transparent, noinfo, gauge, absolute
Background[_]: #cccccc
Target[TUT-12AP-3N2]:
1.3.6.1.4.1.9.9.273.1.1.2.1.1&1.3.6.1.4.1.9.9.273.1.1.2.1.1:COMM at 10.1.0.9
MaxBytes[TUT-12AP-3N2]: 2048
Title[TUT-12AP-3N2]: TUT-12AP-3N2
YLegend[TUT-12AP-3N2]: TUT-12AP-3N2
LegendI[TUT-12AP-3N2]:  
LegendO[TUT-12AP-3N2]:
Legend1[TUT-12AP-3N2]:Client Users Auth to Cisco 1200 AP's
ShortLegend[TUT-12AP-3N2]: Users
PageTop[TUT-12AP-3N2]: <H1>Cisco 1200 AP Auth Client Users</H1>
 <TABLE>
   <TR><TD>System:</TD><TD>TUT-12AP-3N2 in Tutt</TD></TR>
   <TR><TD>Max Sesstions:</TD>  <TD>2048 Users</TD></TR>
 </TABLE>


...And, here is the error:

[root at openfire:~]# /usr/local/bin/mrtg /etc/mrtg/mrtg_test.cfg
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.4.1.9.9.273.1.1.2.1.1)
SNMPv1_Session (remote host: "10.1.0.9" [10.1.0.9].161)
                  community: "setup"
                 request ID: 1256114244
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/local/lib/perl5/site_perl/5.6.1/SNMP_util.pm line 487
SNMPGET Problem for 1.3.6.1.4.1.9.9.273.1.1.2.1.1
1.3.6.1.4.1.9.9.273.1.1.2.1.1 sysUptime sysName on
setup at 10.1.0.9::::::v4only
 at /usr/local/bin/mrtg line 1835
ERROR: Target[tut-12ap-3n2][_IN_] ' $target->[0]{$mode} ' did not eval
into defined data
ERROR: Target[tut-12ap-3n2][_OUT_] ' $target->[0]{$mode} ' did not eval
into defined data


UCD-snmp version: 4.2.6
MRTG 2.10.13
perl-5.6.1_13
gd-1.8.4_6
png-1.2.5_2


I've tried this under 2.9.25 and 2.10.13 and it's the same error
message...Does anyone see errors in my config?  I can walk with both SNMP
v1 and v2c (-v 1, -v 2c) in smpwalk and the result is the same data...

Thanks for the help,
David

--
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