Hello,
Can someone advise me if this is possible. I see an old thread about it but its from years ago, but there might be a newer way to do this. I need to get a report on the number of clients registered to an AP by SNMP. Any help appreciated.
Q
Hello,
Can someone advise me if this is possible. I see an old thread about it but its from years ago, but there might be a newer way to do this. I need to get a report on the number of clients registered to an AP by SNMP. Any help appreciated.
Q
snmp walk in Dude shows:
iso.org.dod.internet.private.enterprises.mikrotik.mikrotikExperimentalModule.mtXRouterOs.mtxrWireless.mtxrWlApTable.mtxrWlApEntry.mtxrWlApClientCount.2
oid .1.3.6.1.4.1.14988.1.1.1.3.1.6.2
Thank you for the info. Does additional software need to be installed on the AP, I’m getting no SNMP info from the AP via The Dude.
it depends on what is interface id.
snmpwalk -v 1 -c public ap .1.3.6.1.4.1.14988.1.1.1.3
will show you some OIDs among them will be correct one.
basically iso.3.6.1.4.1.14988.1.1.1.3.1.6.X where X can change depending on interfaces.
Hello,
I’m still getting no response from the AP
[root@pnetKilbSvr1 ~]# snmpwalk -v 1 -c public 88.151.30.219 .1.3.6.1.4.1.14988.1.1.1.3
Timeout: No Response from 88.151.30.219
[root@pnetKilbSvr1 ~]#
is your snmp enabled, is your snmp version 1 and your community is public, adjust these settings as you might have different ones set.
edit:
running 5.6
Working fine for other devices on the network.
[root@pnetKilbSvr1 ~]# snmpwalk -v2c -c private 192.168.53.71
SNMPv2-MIB::sysDescr.0 = STRING: ARRIS DOCSIS 1.1 Touchstone Cable Modem <<HW_REV: 07; VENDOR: Arris Interactive, L.L.C.; BOOTR: 4.00; SW_REV: CM.05.00.0X.062005D; MODEL: CM450W>>
SNMPv2-MIB::sysObjectID.0 = OID: ARRIS-MIB::tcm.4.0.0.5.0.0
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (48451500) 5 days, 14:35:15.00
SNMPv2-MIB::sysContact.0 = STRING:
SNMPv2-MIB::sysName.0 = STRING:
SNMPv2-MIB::sysLocation.0 = STRING:
SNMPv2-MIB::sysServices.0 = INTEGER: 2
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (0) 0:00:00.00
But nothing from the AP
[root@pnetKilbSvr1 ~]# snmpwalk -v2c -c public 88.151.30.219
Timeout: No Response from 88.151.30.219
[root@pnetKilbSvr1 ~]#
i meant - is your router configured to accept SNMP requests and you are using correct settings to connect to the routers SNMP service.
I have it working, I had to enable SNMP on the AP. Thanks so much for your help.
SNMPv2-SMI::enterprises.14988.1.1.1.3.1.2.4 = Gauge32: 0
SNMPv2-SMI::enterprises.14988.1.1.1.3.1.3.4 = Gauge32: 0
SNMPv2-SMI::enterprises.14988.1.1.1.3.1.4.4 = STRING: “permaNET-TEST”
SNMPv2-SMI::enterprises.14988.1.1.1.3.1.5.4 = “”
SNMPv2-SMI::enterprises.14988.1.1.1.3.1.6.4 = Counter32: 1
The last oid is the number of connected clients. I turned the WiFi off and the value was
[root@pnetKilbSvr1 ~]# snmpwalk -v 1 -c public 10.1.10.180 .1.3.6.1.4.1.14988.1.1.1.3
SNMPv2-SMI::enterprises.14988.1.1.1.3.1.2.4 = Gauge32: 0
SNMPv2-SMI::enterprises.14988.1.1.1.3.1.3.4 = Gauge32: 0
SNMPv2-SMI::enterprises.14988.1.1.1.3.1.4.4 = STRING: “permaNET-TEST”
SNMPv2-SMI::enterprises.14988.1.1.1.3.1.5.4 = “”
SNMPv2-SMI::enterprises.14988.1.1.1.3.1.6.4 = Counter32: 0
Thanks again!