<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2838" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=630023518-09022007>Try this as it gives a matched pair</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=630023518-09022007></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff 
size=2>Target[tower001.ap101]: 1.3.6.1.4.1.161.19.3.1.7.1.0<SPAN 
class=630023518-09022007>&amp; 
1.3.6.1.4.1.161.19.3.1.7.1.0</SPAN>:Canopy@10.254.1.101:::::2<BR></DIV></FONT><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> mrtg-bounces@lists.oetiker.ch 
[mailto:mrtg-bounces@lists.oetiker.ch] <B>On Behalf Of </B>Wes 
Hegge<BR><B>Sent:</B> Friday, February 09, 2007 12:24 PM<BR><B>To:</B> 
mrtg@lists.oetiker.ch<BR><B>Subject:</B> [mrtg] Help with configuring target to 
used an oid<BR></FONT><BR></DIV>
<DIV></DIV>Hello everyone, <BR><BR>Hopefully I have a simple problem.&nbsp; I am 
trying to pull the number of clients from a Motorola Cyclone Access Point.&nbsp; 
I have figured out the OID number to use, it is: 
1.3.6.1.4.1.161.19.3.1.7.1.0.&nbsp; <BR><BR>I can snmpwalk from the machine that 
mrtg is running on and get the expected response.&nbsp; Here it is:<BR>snmpwalk 
-v 2c -c Canopy <A href="http://10.254.1.101">10.254.1.101</A> 
1.3.6.1.4.1.161.19.3.1.7.1.0<BR>SNMPv2-SMI:: enterprises.161.19.3.1.7.1.0 = 
INTEGER: 28<BR><BR>Here is my cfg file for this:<BR>#<BR># File: 
/etc/mrtg/registered_SM_count.cfg<BR>#<BR># Configuration file for gathering 
number of registered SM's on AP's statistics <BR>#<BR><BR>#<BR># Define global 
options<BR>#<BR><BR>WorkDir: /var/www/mrtg/<BR># Refresh brower window very 5 
minutes<BR>Refresh: 300<BR>LoadMIBs: /usr/share/snmp/mibs/SNMPv2-MIB.txt, 
/usr/share/snmp/mibs/SNMPv2-SMI.txt <BR><BR>#<BR># Registered SM 
Monitoring<BR>#<BR><BR>Target[tower001.ap101]: 
1.3.6.1.4.1.161.19.3.1.7.1.0:Canopy@10.254.1.101:::::2<BR>Title[tower001.ap101]: 
SM Count Tower 001 AP 101<BR>MaxBytes[tower001.ap101]: 200<BR>PageTop[ 
tower001.ap101]: &lt;H1&gt;SM Count for Tower 001 Access Point <A 
href="http://10.254.1.101">10.254.1.101</A>&lt;/H1&gt;<BR><BR><BR>The error I 
get is:<BR>2007-02-09 12:20:38: ERROR: Target[tower001.ap101][_IN_] 
'1.3.6.1.4.1.161.19.3.1.7.1 . $target-&gt;[0]{$mode} ' (warn): Use of 
uninitialized value in concatenation (.) or string at (eval 15) line 
1.<BR>2007-02-09 12:20:38: ERROR: Target[tower001.ap101][_OUT_] 
'1.3.6.1.4.1.161.19.3.1.7.1. $target-&gt;[0]{$mode} ' (warn): Use of 
uninitialized value in concatenation (.) or string at (eval 16) line 1. 
<BR><BR><BR>I notice that the OID number is one digit short, it is missing the 
last 0.<BR><BR>I am thinking that I may need to use WaLK prepended to the 
OID.&nbsp; Just not sure how to do that.&nbsp; I cannot find a decent example of 
its use. <BR><BR>Any ideas?<BR><BR>Thanks,<BR><BR>Wes Hegge<BR>Network 
Manager<BR>T6Broadband, Inc.<BR><p></p><p>CONFIDENTIAL NOTICE:<br>This e-mail message and any attachment(s) (collectively, this 'Email') are intended <br>only for the confidential use of the recipient(s) named above. If the reader of this <br>message is not the intended recipient named above or an agent responsible for <br>delivering it to the intended recipient named above, you have received this Email in error. <br>Please notify the sender immediately and permanently delete this Email and any copies thereof.</BODY></HTML>