[mrtg] Connected Users - Cisco Aironet 1200

Richard Gliebe richard.gliebe at fhv.at
Thu May 20 14:11:49 CEST 2010


sorry for sending a private email. My mistake.

On 5/20/10 12:39 PM Niall O'Reilly wrote:
> On 20/05/10 08:36, Richard Gliebe wrote:
>> Hi Niall,

me onesmore ;-)

> 
> 	If Perl coding is not something you feel confident about,
> 	you may prefer to drop sections like the following (generated
> 	by the code I sent) into your configuration file.
> 
> 	Beware of line folding during mail-sending or -receipt!
> 
> ### Unit wbs-qusb-001
> 
> ### Interface 1 >> Descr: 'Dot11Radio0' | Name: 'Do0' | Ip: '' | Eth: '' ###
> 
> # wbs-qusb-001 cDot11ActiveWirelessClients
> Target[wbs-qusb-001-wlclients-Do0]: 
> 1.3.6.1.4.1.9.9.273.1.1.2.1.1#Do0&1.3.6.1.4.
> 1.9.9.273.1.1.2.1.1#Do0:public at wbs-qusb-001:::::2
> Directory[wbs-qusb-001-wlclients-Do0]: wbs-qusb-001
> Title[wbs-qusb-001-wlclients-Do0]: Active wireless clients on 
> wbs-qusb-001 Do0
> PageTop[wbs-qusb-001-wlclients-Do0]: wbs-qusb-001 Do0</H1>
>     <TABLE>
>       <TR><TD>System:</TD><TD>wbs-qusb-001.ucd.ie</TD></TR>
>       <TR><TD>&nbsp;</TD><TD>Active Wireless Clients</TD></TR>
>      </TABLE>
> 
> ### END Interface

I put the above lines into my cfg file, put a <H> into the line "PageTop".

While I'm tried to build a new html file, MRTG told me, that there is a
line called 'MaxBytes' missing in my cfg file.

So I included this line,

[...]
MaxBytes[ap-w106-19.uclv.net-wlclients-Do0]: 35
[...]

and build the html file successfully.

I think this line should called like "MaxClients" or something similar 
to the connected wireless clients?? ;-)

here is the part of my new cfg File.

Attention: some lines are brocken from cut&paste.

[...]
######################################################################
# System: ap-w106-19.uclv.net
# Description: Cisco IOS Software, C1200 Software (C1200-K9W7-M),
Version 12.3(7)JA5, RELEASE SOFTWARE (fc3)
#          Technical Support: http://www.cisco.com/techsupport
#          Copyright (c) 1986-2007 by Cisco Systems, Inc.
#          Compiled Fri 27-Jul-07 14:00 by kehsiao
# Contact:
# Location:
######################################################################

### Interface 1 >> Descr: 'Dot11Radio0' | Name: 'Do0' | Ip: '' | Eth: '' ###

# ap-w106-19.uclv.net cDot11ActiveWirelessClients
Target[ap-w106-19.uclv.net-wlclients-Do0]:1.3.6.1.4.1.9.9.273.1.1.2.1.1#Do0&1.3.6.1.4.1.9.9.273.1.1.2.1.1#Do0:uclvN
OC-ro at ap-w106-19.uclv.net:::::2
Directory[ap-w106-19.uclv.net-wlclients-Do0]: ap-w106-19.uclv.net
MaxBytes[ap-w106-19.uclv.net-wlclients-Do0]: 35
Title[ap-w106-19.uclv.net-wlclients-Do0]: Active wireless clients on
ap-w106-19.uclv.net Do0
PageTop[ap-w106-19.uclv.net-wlclients-Do0]: <H1>ap-w106-19.uclv.net Do0
WLAN Clients</H1>
        <TABLE>
          <TR><TD>System:</TD><TD>ap-w106-19.uclv.net</TD></TR>
          <TR><TD>&nbsp;</TD><TD>Active Wireless Clients</TD></TR>
         </TABLE>

### END Interface

### Interface 1 >> Descr: 'Dot11Radio0' | Name: 'Do0' | Ip: '' | Eth: '' ###

Target[ap-w106-19.uclv.net_1]: 1:uclvNOC-ro at ap-w106-19.uclv.net:
SetEnv[ap-w106-19.uclv.net_1]: MRTG_INT_IP="" MRTG_INT_DESCR="Dot11Radio0"
Directory[ap-w106-19.uclv.net_1]: ap-w106-19.uclv.net
MaxBytes[ap-w106-19.uclv.net_1]: 6750000
Title[ap-w106-19.uclv.net_1]: Dot11Radio0 -- ap-w106-19.uclv.net
PageTop[ap-w106-19.uclv.net_1]: <h1>Dot11Radio0 -- ap-w106-19.uclv.net</h1>
                    <div id="sysdetails">
and so on ...
[...]

Now, the web interface shows me the traffic and not the connected clients.

At this moment, one Client is connected to this AP:

k2# ./check_conn_rad0 ap-w106-19.uclv.net 20 35
Connections Dot11Radio0 OK: 1

Where is the missmatch or is there missing something else?

many thanks
Richard



More information about the mrtg mailing list