dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
uniqs
18
share rss forum feed

ahuebel

join:2003-09-24
Houston, TX
reply to birdman62

Re: monitor Aironet 1100 Access Point via SNMP

I use the web inteface to configure the AP. Do you know how to check for the snmp-server community RO in the web interface?


ahuebel

join:2003-09-24
Houston, TX

2 edits

You know I do have the .11g board in this thing. Do you think that may have anything to do with the errors?

I was on IOS version c1100-k9w7-tar.122-13.JA1.tar, now I am on c1100-k9w7-tar.122-13.JA2.tar. Still the same results.

If anyone has some documentation or a book to recommend on understanding how to use MRTG (or at least what the config file means) that would be great. I read the mrtg-refrence.html that comes with mrtg. I guess if there were some examples and howtos for things besides just a default configuration that would be great.


birdman62

join:2002-02-26
Maryland

Looks to me like you have the comm. string configured correctly. Shouldn't matter whether or not it's 11g or b to MRTG. I'll see if I can dig up some of my MRTG docs tomorrow I used to setup my enviroment. I saw on another thread that mentioned a MRTG knockoff called PRTG. It looks to be easier to setup. If you don't have alot of time invested in MRTG you may want to give that a look.


ahuebel

join:2003-09-24
Houston, TX

I found a site that had an example of monitoring wireless traffic. »openfire.coloradocollege.edu/mrtg/how...
From that page they showed a page that has all SNMP info for Cisco products (which someone else helped me find yesterday as well). after reading that page closer I found that I needed to take the object name like "Dot11AssStatsAssociated" and do a search in the SNMP object navigator from Cisco's site and it gave me OID of 1.3.6.1.4.1.9.9.273.1.1.3.1.1. I put that in my mrtg.cfg but I am STILL getting that noSuchName error. Any ideas on that? I am using the web interface to administer the AP.

I am pretty sure I have the correct OID because if I try to just put in a bogus number I get a different error about IfOctets. And I am definitely sure I have the correct comm_string because if I put a different one I get a no response error or something.

Tony


ahuebel

join:2003-09-24
Houston, TX

4 edits

Ok, after reading VERY carefully, the help file on the AP, I found that there was an optional entry for an OID under New/Edit Community Strings. If I had an entry there then ONLY that OID could be monitored. So I took that entry out and I got a readout from the C:\mrtg-2.10.13\bin> perl cfgmaker --ifref=name --ifdesc=alias c1sc0AP@192.168.3.152 > test.cfg .

What is the easiest way to modify the cfg file so I can monitor things like CPU utilization? I tried adding the following to my test.cfg

Target[192.168.3.152_CPU]: 1.3.6.1.4.1.9.9.109.1.1.1.1.3:c1sc0AP@192.168.3.152
MaxBytes[192.168.3.152_CPU]: 2048
Title[192.168.3.152_CPU]: 192.168.3.152_CPU

but I got the following error

C:\mrtg-2.10.13\bin>perl mrtg test.cfg
Daemonizing MRTG ...
Do Not close this window. Or MRTG will die
ERROR: Target[192.168.3.152_cpu][_IN_] '1.3.6.1.4.1.9.9.109.1.1.1.1. $target->[0
]{$mode} ' evaluated to '☺♥♠☺♦☺ m☺&#9786
*;☺☺0' instead of a number
ERROR: Target[192.168.3.152_cpu][_OUT_] '1.3.6.1.4.1.9.9.109.1.1.1.1. $target->[
0]{$mode} ' evaluated to '☺♥♠☺♦☺ m&#978
*6;☺☺☺0' instead of a number

(*) WARNING 2 long line(s) split
I think what I need to do is find the description of that OID. I tried the object name and CPU0, neither worked. Or is there a way to specify nr for some and alias for others (the parameters for ifdesc used in the cfgmaker command).

birdman62

join:2002-02-26
Maryland

Try this Tony, I tested on my MRTG config and seems to work OK. The CPU IOD I used from a router config that does work.

### Interface 1 >> Descr: 'Dot11Radio0'
Target[192.168.3.152_Do0]: #Do0:c1sc0AP@192.168.3.152:
Directory[192.168.3.152_Do0]: 192.168.3.152
MaxBytes[192.168.3.152_Do0]: 1375000
Title[192.168.3.152_Do0]: Dot11Radio0 HQ 1100
PageTop[192.168.3.152_Do0]: <H1>Dot11Radio0 HQ 1100</H1> <TABLE>
<TR><TD><B>Service:</B></TD><TD><B>HQ 1100</B></TD></TR>
<TR><TD><B>Admin:</B></TD><TD><B>Contact Admin Phone:</B></TD></TR>
</TABLE>

### CPU Utilization
Target[192.168.3.152-cpuload]: 1.3.6.1.4.1.9.2.1.57.0&1.3.6.1.4.1.9.2.1.58.0:c1sc0AP@192.1
*68.3.152
Directory[192.168.3.152-cpuload]: 192.168.3.152
Options[192.168.3.152-cpuload]: gauge, nopercent, growright
YLegend[192.168.3.152-cpuload]: CPU 1m/5m
ShortLegend[192.168.3.152-cpuload]: %
MaxBytes[192.168.3.152-cpuload]: 100
LegendI[192.168.3.152-cpuload]: &nbsp; 1m:
LegendO[192.168.3.152-cpuload]: &nbsp; 5m:
Title[192.168.3.152-cpuload]: HQ 1100
PageTop[192.168.3.152-cpuload]: <H1>HQ 1100 CPU Utilization<BR></H1>
<TABLE>
<TR><TD><B>Service:</B></TD><TD><B>CPU Utilization</B></TD></TR>
<TR><TD><B>Admin:</B></TD><TD><B>Contact Admin Phone:</B></TD></TR>
</TABLE>

(*) WARNING 1 long line(s) split

birdman62

join:2002-02-26
Maryland

I don't know if either IOD works. I get errors on the one you listed:

The description for Event ID ( 1000 ) in Source ( MRTG ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: WARNING: Skipping Update of 192.168.1.57-cpuload, outlast is not defined.

And with my version, I get no graph and no errors although I may not have much of a load on the WAP to graph.


ahuebel

join:2003-09-24
Houston, TX

Thanks a ton for the reply! Is it IOD or OID? Anyway, where did you get that object identifier? I tried looking on the cisco site »ftp://ftp.cisco.com/pub/mibs/supportli···ist.html which I got to by selecting the 1100 series AP from »www.cisco.com/public/sw-center/n···bs.shtml . I then found the object I wanted and typed in the object name into the SNMP MIB browser: »www.cisco.com/pcgi-bin/Support/M···pl?tab=3
. I tried using your config file and it didnt error out, but for some weird reason it created a new directory inside my working directory called 192.168.3.152 and my graphs are empty. It updates every 5 minutes, but I Get no traffic and no CPU load.


birdman62

join:2002-02-26
Maryland

Sorry, OID - getting blurry eyed today. I know the Interface config works cause I'm graphing traffic on my unit now. Not sure about OID on the CPU part - swiped that from a working router config OID. The new directory is created from the second line of the config: Directory[192.168.3.152-cpuload]: 192.168.3.152. That way you can monitor different devices with one config and seperate the results. Let me know if you find a good CPU OID and how you went about it. I've used only basic stuff thus far and this will be great info to find other OIDs to monitor. Your helping me too!


ahuebel

join:2003-09-24
Houston, TX

2 edits

downloadtest.zip 1,451 bytes
(test.cfg)
Wait, I spoke too soon...heh, it is showing something!! Thanks! Now I just wonder why that OID I looked up didnt work! Or maybe the syntax in my other test.cfg was wrong. I attached it to this message if you wanna look at the original one.
What exactly is the CPU graph showing? 1m/5m? What does that mean?
--
Personality opens many doors; character keeps them open.

ahuebel

join:2003-09-24
Houston, TX

1 edit

I tried looking up the object name by the OID (from the sample config you gave me) on Cisco's site and it could not resolve the 0 in 1.3.6.1.4.1.9.2.1.57.0. It did recognize 57 as the 1minute average and the 58 as the 5 minute average. Does anyone know why there is a 0 at the end of those OIDs? If I take the 0 off and try to run mrtg I get the noSuchName error. Perhaps that is what was wrong with my other OIDs. According to Cisco's site 1.3.6.1.4.1.9.9.109.1.1.1.1.4 "This object obsoletes the avgBusy1 object from the OLD-CISCO-SYSTEM-MIB." That says to me, this should now be used instead of the old OID. But this one gives me errors and the old one doesnt. It does also say that "This object is deprecated by cpmCPUTotal1minRev which has the changed range of value (0..100)." I am not sure what that means or if cpmCPUTotal1min has to be used with cpmCPUTotal1minRev in order to work right or what. I am at a loss here. I have a working graph but I want to understand this.