Hello everyone, <br><br>Hopefully I have a simple problem. I am trying to pull the number of clients from a Motorola Cyclone Access Point. I have figured out the OID number to use, it is: 1.3.6.1.4.1.161.19.3.1.7.1.0. <br>
<br>I can snmpwalk from the machine that mrtg is running on and get the expected response. 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]: <H1>SM Count for Tower 001 Access Point <a href="http://10.254.1.101">10.254.1.101</a></H1><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->[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->[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. Just not sure how to do that. 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>