i can get value via snmpwalk:

snmpwalk -v2c -c XXXXXX 10.255.250.8 1.3.6.1.4.1.14988.1.1.1.3.1.6.1
SNMPv2-SMI::enterprises.14988.1.1.1.3.1.6.1 = Counter32: 1


Franjo Posavec
system administrator
entitas d.o.o.
T: +385 (0)40 600 002
S: franjo.posavec
On 06/11/2014 12:54 PM, Franjo Posavec wrote:
Nop, no number of clients :)

I'm using community version,
1 client is currently connected


here is output of poller:

oot@observium:~# /opt/observium/poller.php -h 51
Observium v0.14.4.5229
Poller

Starting polling run:

r8-omnitik-vojarna.entitas.dc 51 routeros
Module [ unix-agent ] disabled globally.
Module [ ipmi ] excluded for device.
Module [ junose-atm-vp ] excluded for device.
Module [ cisco-ipsec-flow-monitor ] excluded for device.
Module [ cisco-remote-access-monitor ] excluded for device.
Module [ cisco-cef ] excluded for device.
Module [ cisco-sla ] excluded for device.
Module [ arista-software-ip-forwarding ] excluded for device.
Module [ cipsec-tunnels ] excluded for device.
Module [ cisco-ace-loadbalancer ] excluded for device.
Module [ cisco-ace-serverfarms ] excluded for device.
Module [ cisco-cbqos ] excluded for device.
Module [ cisco-eigrp ] excluded for device.
Module [ netscaler-vsvr ] excluded for device.
Module [ aruba-controller ] excluded for device.
Module [ cisco-vpdn ] disabled globally.
Module [ wmi ] disabled globally.
Uptime: 16 days, 5h 7m 37s
Module time: 0.0616s

Hardware: RB OmniTIK U-5HnD Version: 6.9 Features: Level 4 Serial:  Asset:
Module time: 0.1125s
Module time: 0.0004s
Processor Processor 10%
Module time: 0.0126s
Mempool main memory: 66.46%

Module time: 0.1559s
Storage disk: system: 20.25%

Module time: 0.098s
Netstats: Module time: 0.0884s
HR Stats:
Module time: 0.0135s
Module time: 0.1094s
Polling IP-MIB ipSystemStats
Module time: 0.0374s
Caching Oids: ifEntry ifXEntry dot3StatsDuplexStatus
Port wlan1(1) replacing with 64-bit...VLAN == bps(637bps/4.02kbps)bytes(3.97kB/25kB)pkts(0.76pps/4.67pps)
Port ether1(2) replacing with 64-bit...VLAN == bps(12.7kbps/11.4kbps)bytes(79.4kB/71.0kB)pkts(16.3pps/15.0pps)
Port ether2(3) replacing with 64-bit...VLAN == bps(0bps/0bps)bytes(0B/0B)pkts(0pps/0pps)
Port ether3(4) replacing with 64-bit...VLAN == bps(0bps/0bps)bytes(0B/0B)pkts(0pps/0pps)
Port ether4(5) replacing with 64-bit...VLAN == bps(0bps/0bps)bytes(0B/0B)pkts(0pps/0pps)
Port ether5(6) replacing with 64-bit...VLAN == bps(0bps/0bps)bytes(0B/0B)pkts(0pps/0pps)
Port loopback(7) replacing with 64-bit...VLAN == bps(0bps/39bps)bytes(0B/250B)pkts(0pps/39.2mpps)
Port bridge1(8) replacing with 64-bit...VLAN == bps(11.3kbps/10.9kbps)bytes(70.7kB/68.0kB)pkts(16.9pps/14.6pps)
Port vlan1000(9) replacing with 64-bit...VLAN == bps(8.62kbps/10.4kbps)bytes(53.6kB/64.8kB)pkts(14.5pps/14.6pps)
Port vlan1000_wlan(10) replacing with 64-bit...VLAN == bps(108bps/889bps)bytes(691B/5.54kB)pkts(0.18pps/1.39pps)
Port br_vlan1000(11) replacing with 64-bit...VLAN == bps(8.68kbps/10.0kbps)bytes(54.0kB/62.7kB)pkts(14.6pps/13.9pps)
Module time: 2.3598s
BGP Peers: Module time: 0.0105s
Module time: 0.0005s
Module time: 0.0002s
Wireless: Checking RouterOS Wireless clients... 0 clients

Module time: 0.0163s
OSPF: Processes:  Areas:  Ports:  Neighbours:
Module time: 0.0357s
Mac Accounting: Caching DB...0 entries.
Module time: 0.0008s
Entity Physical:
Module time: 0.0003s
Module time: 0.0002s
FDB Tables
Module time: 0.0622s
ping ping_snmp uptime processor mempool storage fdb_count poller_perf Polled in 3.205 seconds
UPDATED!
MySQL: Cell[0/0s] Row[6/0s] Rows[12/0s] Column[0/0s] Update[15/0.09s] Insert[2/0.24s] Delete[0/0s]




Franjo Posavec
system administrator
entitas d.o.o.
T: +385 (0)40 600 002
S: franjo.posavec
On 06/11/2014 12:41 PM, Tom Laermans wrote:
Should work then. :)

On 06/11/2014 12:39 PM, Franjo Posavec wrote:
I have this in inventory:

Atheros Communications Inc. AR5008 Wireless Network Adapter (rev: 1)

model is: RB OmniTIK U-5HnD



Franjo Posavec
system administrator
entitas d.o.o.
T: +385 (0)40 600 002
S: franjo.posavec

On 06/11/2014 12:31 PM, Tom Laermans wrote:
You mean like this?

       {
         echo("Checking RouterOS Wireless clients... ");

         $wificlients1 = snmp_get($device, "mtxrWlApClientCount",
"-OUqnv", "MIKROTIK-MIB", mib_dirs('mikrotik'));

Translation:

We already do, but there is a constraint, you need to have something
matching "Wireless" or "Atheros" in your device's inventory.

Tom

On 06/11/2014 12:26 PM, Franjo Posavec wrote:
It will be great if there will be support for number of clients on
mikrotik wifi access point

do you have in plans to support this?

best regards,

_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium



_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium