Sadly the isn’t an oid to give you a total which i must say is abit silly, maybe ill ask on the forums see if they can add it into an update :(

all you can do is call the oid .1.3.6.1.4.1.14988.1.1.5.1.1

and then instead of sub snmpwalking to get the extra data like group, ip, mac, etc,

you count the replys of one of the values, maybe the username oid .1.3.6.1.4.1.14988.1.1.5.1.1.3

that would show you the number of active users

Simon

On 4 May 2016, at 11:52 am, Adam Armstrong <adama@memetic.org> wrote:

You might find it easier if you do walks with the MIBs loaded... :D

Customoid won't help you "count" entries in a table.

Is there not an oid which gives you a total?

Adam.

Sent from BlueMail

On May 3, 2016, at 19:16, Simon Smith <simonsmith5521@gmail.com> wrote:
Hi All

I’m just wondering if the is a way in observium to monitor the number of active users in Hotspot on Mikrotik switches?

ive browsed there MIB - http://download2.mikrotik.com/Mikrotik.mib and ive come across the MIB for mtxrHotspotActiveUsersTable

the objectID is .1.3.6.1.4.1.14988.1.1.5.1

a sample of the output for a single user is 

SNMPv2-SMI::enterprises.14988.1.1.5.1.1.2.3232250549 = INTEGER: 1
SNMPv2-SMI::enterprises.14988.1.1.5.1.1.3.3232250549 = STRING: "kitenmason@aol.com"
SNMPv2-SMI::enterprises.14988.1.1.5.1.1.4.3232250549 = ""
SNMPv2-SMI::enterprises.14988.1.1.5.1.1.5.3232250549 = IpAddress: 192.168.58.181
SNMPv2-SMI::enterprises.14988.1.1.5.1.1.6.3232250549 = Hex-STRING: 60 A3 7D 9F EF F0 
SNMPv2-SMI::enterprises.14988.1.1.5.1.1.7.3232250549 = INTEGER: 1243
SNMPv2-SMI::enterprises.14988.1.1.5.1.1.8.3232250549 = INTEGER: 147576
SNMPv2-SMI::enterprises.14988.1.1.5.1.1.9.3232250549 = INTEGER: 269
SNMPv2-SMI::enterprises.14988.1.1.5.1.1.10.3232250549 = INTEGER: 300
SNMPv2-SMI::enterprises.14988.1.1.5.1.1.11.3232250549 = INTEGER: 300
SNMPv2-SMI::enterprises.14988.1.1.5.1.1.12.3232250549 = Counter64: 7383223
SNMPv2-SMI::enterprises.14988.1.1.5.1.1.13.3232250549 = Counter64: 12105744
SNMPv2-SMI::enterprises.14988.1.1.5.1.1.14.3232250549 = Counter64: 16306
SNMPv2-SMI::enterprises.14988.1.1.5.1.1.15.3232250549 = Counter64: 15028
SNMPv2-SMI::enterprises.14988.1.1.5.1.1.16.3232250549 = Counter64: 0
SNMPv2-SMI::enterprises.14988.1.1.5.1.1.17.3232250549 = Counter64: 0
SNMPv2-SMI::enterprises.14988.1.1.5.1.1.18.3232250549 = INTEGER: 0
SNMPv2-SMI::enterprises.14988.1.1.5.1.1.19.3232250549 = INTEGER: 1
SNMPv2-SMI::enterprises.14988.1.1.5.1.1.20.3232250549 = INTEGER: 2
SNMPv2-SMI::enterprises.14988.1.1.5.1.1.21.3232250549 = Counter64: 0

also attached is an output using ManageEngine MIB broswer of the full text and info

can someone add it into observium?

or is it possible i can do it myself with something called custom oid i found in the options?

regards

Simon


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