Hi Wes, I am not that familiar with mrtg, but I remember vage I had a similiar error output for one of my configurations and if I remember correct, placing a dot in front of the OID fixed it for me.
Your example shows: Target[tower001.ap101]: 1.3.6.1.4.1.161.19.3.1.7.1.0:[EMAIL PROTECTED] :::::2 Change to, try and see what happens: Target[tower001.ap101]: .1.3.6.1.4.1.161.19.3.1.7.1.0:[EMAIL PROTECTED] :::::2 Note the dot in front of the very first number of your OID Hope this will fix it. Johannes > Hello everyone, > > 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. > > I can snmpwalk from the machine that mrtg is running on and get the expected > response. Here it is: > snmpwalk -v 2c -c Canopy 10.254.1.101 1.3.6.1.4.1.161.19.3.1.7.1.0 > SNMPv2-SMI::enterprises.161.19.3.1.7.1.0 = INTEGER: 28 > > Here is my cfg file for this: > # > # File: /etc/mrtg/registered_SM_count.cfg > # > # Configuration file for gathering number of registered SM's on AP's > statistics > # > > # > # Define global options > # > > WorkDir: /var/www/mrtg/ > # Refresh brower window very 5 minutes > Refresh: 300 > LoadMIBs: /usr/share/snmp/mibs/SNMPv2-MIB.txt, /usr/share/snmp/mibs/SNMPv2- > SMI.txt > > # > # Registered SM Monitoring > # > > Target[tower001.ap101]: 1.3.6.1.4.1.161.19.3.1.7.1.0:[EMAIL PROTECTED] > :::::2 > Title[tower001.ap101]: SM Count Tower 001 AP 101 > MaxBytes[tower001.ap101]: 200 > PageTop[tower001.ap101]: <H1>SM Count for Tower 001 Access Point > 10.254.1.101</H1> > > > The error I get is: > 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. > 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. > > > I notice that the OID number is one digit short, it is missing the last 0. > > 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. > > Any ideas? > > Thanks, > > Wes Hegge > Network Manager > T6Broadband, Inc. > > _______________________________________________ > mrtg mailing list > mrtg@lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/mrtg > > -- Yorkton-Digital affordable webhosting & design now offering jabber secure instant messaging http://www.yorktondigital.ca Jabber ID (JID) [EMAIL PROTECTED] _______________________________________________ mrtg mailing list mrtg@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/mrtg