I'm using mrtg, I did the following to obtain the amount of clients on 
the AP, I had to call an external script to sum them.
This should work for all Ubiquites w/AirOS 3.3.xx+.
Basically you just need to sum up the amount of entries in 
.1.3.6.1.4.1.14988.1.1.1.2.1.3.

Target line looks like, with the argument being the AP IP.
Target[10.130.1.13_clients]: `/home/mrtg/clientsap.pl 10.130.1.13`

The generic script I'm calling from mrtg to sum up the client entries in 
the snmp results.
#!/usr/bin/perl
$community="community"
$ap=($ARGV[0]);
$mibcheck=`/usr/bin/snmpwalk -c $community -v1 $ap 
.1.3.6.1.4.1.14988.1.1.1.2.1.3`;
chop($mibcheck);
if ($mibcheck ne "End of MIB") {
    $clients=`/usr/bin/snmpwalk -c $community -v1 $ap 
.1.3.6.1.4.1.14988.1.1.1.2.1.3|wc -l`;
    print $clients,$clients,"0\n0\n";
    }
else {
    print "0\n0\n0\n0\n";
    }

Regards
Michael Baird

> Anyone have the OID for # clients handy?
>
>
> --------------------------------------------------------------------------------
> WISPA Wants You! Join today!
> http://signup.wispa.org/
> --------------------------------------------------------------------------------
>  
> WISPA Wireless List: [email protected]
>
> Subscribe/Unsubscribe:
> http://lists.wispa.org/mailman/listinfo/wireless
>
> Archives: http://lists.wispa.org/pipermail/wireless/
>   



--------------------------------------------------------------------------------
WISPA Wants You! Join today!
http://signup.wispa.org/
--------------------------------------------------------------------------------
 
WISPA Wireless List: [email protected]

Subscribe/Unsubscribe:
http://lists.wispa.org/mailman/listinfo/wireless

Archives: http://lists.wispa.org/pipermail/wireless/

Reply via email to