I’m using MT 2.9.10. Documentation say (http://www.mikrotik.com/docs/ros/2.9/root/snmp):
CISCO-AAA-SESSION-MIB
Note that this MIB is supported only when ppp package is installed. It reports both ppp > and hotspot > active usersenterprises.cisco.ciscoMgmt.ciscoAAASessionMIB.casnMIBObjects.casnActive.casnActiveTableEntries
enterprises.cisco.ciscoMgmt.ciscoAAASessionMIB.casnMIBObjects.casnActive.casnActiveTable.casnActiveEntry.casnSessionId
enterprises.cisco.ciscoMgmt.ciscoAAASessionMIB.casnMIBObjects.casnActive.casnActiveTable.casnActiveEntry.casnUserId
enterprises.cisco.ciscoMgmt.ciscoAAASessionMIB.casnMIBObjects.casnActive.casnActiveTable.casnActiveEntry.casnIpAddr
On router I have 1 active hotspot connection:
[admin@tower] > ip hotspot active print detail
Flags: R - radius, B - blocked
0 R server=hs-server3 user="hfart" address=10.2.3.253 mac-address=00:80:C8:2F:DC:91
uptime=1m19s session-time-left=23h58m41s idle-timeout=2h13m20s keepalive-timeout=2m
but with snmpwalk I get:
[root@nms root]# snmpwalk -v 1 -c public 10.1.202.2 1.3.6.1.4.1.9
SNMPv2-SMI::enterprises.9.9.150.1.1.1.0 0
Where active hotspot connections?
Next… on another router (also 2.9.10) I have 1 PPPoE and 1 PPTP connections:
[art@octopus] > ppp active print
Flags: R - radius
# NAME SERVICE CALLER-ID ADDRESS UPTIME ENCO...
0 R vckstnews pptp 10.10.1.60 194.226.129.253 14h55... MPPE...
1 R es777 pppoe 00:50:FC:C6:50:23 194.226.129.251 12h46...
with snmpwalk I get:
[root@nms root]# snmpwalk -v 1 -c public 194.226.129.13 1.3.6.1.4.1.9
SNMPv2-SMI::enterprises.9.9.150.1.1.1.0 2
SNMPv2-SMI::enterprises.9.9.150.1.1.3.1.2.2171600976 "vckstnews"
SNMPv2-SMI::enterprises.9.9.150.1.1.3.1.2.2171600984 "es777"
SNMPv2-SMI::enterprises.9.9.150.1.1.3.1.3.2171600976 194.226.129.253
SNMPv2-SMI::enterprises.9.9.150.1.1.3.1.3.2171600984 194.226.129.251
Where SNMPv2-SMI::enterprises.9.9.150.1.1.3.1.1.2171600976 and SNMPv2-SMI::enterprises.9.9.150.1.1.3.1.1.2171600984 (enterprises.cisco.ciscoMgmt.ciscoAAASessionMIB.casnMIBObjects.casnActive.casnActiveTable.casnActiveEntry.casnSessionId)?
Bugs?