Community discussions

MikroTik App
 
Mandarine
just joined
Topic Author
Posts: 11
Joined: Sat Nov 01, 2014 4:19 pm

SNMP OID for User List

Mon May 25, 2015 9:50 pm

which is the OID for > System > user > User List - Active Users ?

I want to monitor, if someone is logging into the device.


found only this for the wireless users 1.3.6.1.4.1.14988.1.1.1.2.1.3 ,

https://exchange.nagios.org/index.php?o ... d=MIKROTIK


but I need winbox or SSH users


and

/user active >>> print oid

is no output there. Maybe not suportet?
 
Mandarine
just joined
Topic Author
Posts: 11
Joined: Sat Nov 01, 2014 4:19 pm

Re: SNMP OID for User List

Thu Jun 11, 2015 4:21 pm

I see, nobody want to have an alert when there are successfully logins in mikrotik boxes.

So we will see in future more of this.

http://www.tagesschau.de/inland/hacker- ... z-101.html

http://www.heise.de/newsticker/meldung/ ... 87521.html
 
jebz
Member
Member
Posts: 366
Joined: Sun May 01, 2011 12:03 pm
Location: Australia

Re: SNMP OID for User List

Fri Jun 12, 2015 5:44 am

which is the OID for > System > user > User List - Active Users ?

I want to monitor, if someone is logging into the device.
You could use Syslog and alarm monitoring for logon events.
http://wiki.mikrotik.com/wiki/Manual:Sy ... xy_logging
 
Mandarine
just joined
Topic Author
Posts: 11
Joined: Sat Nov 01, 2014 4:19 pm

Re: SNMP OID for User List

Sat Jun 27, 2015 5:47 pm

yes, but tricky,

check_user -nagios/icinga- would be the easiest way
 
lebowski
Forum Guru
Forum Guru
Posts: 1619
Joined: Wed Aug 27, 2008 5:17 pm

Re: SNMP OID for User List

Mon Jun 29, 2015 11:58 pm

Log into the device, snmpwalk the device, wait till finished, search for your id with "find" in snmpwalk, log out, snmpwalk device, check same oid for your usename. If you find the oid create a function/probe that generates a notification...
 
Mandarine
just joined
Topic Author
Posts: 11
Joined: Sat Nov 01, 2014 4:19 pm

Re: SNMP OID for User List

Tue Jun 30, 2015 2:35 pm

Log into the device, snmpwalk the device, wait till finished, search for your id with "find" in snmpwalk, log out, snmpwalk device, check same oid for your usename. If you find the oid create a function/probe that generates a notification...

have you tried it? I cant find OID for a active user with a snmp-walk.
 
lebowski
Forum Guru
Forum Guru
Posts: 1619
Joined: Wed Aug 27, 2008 5:17 pm

Re: SNMP OID for User List

Tue Jun 30, 2015 7:02 pm

Sounds like it is not supported, maybe try on a couple different operating systems?

If it is a Mikrotik box you could use execute to run the command and return a value. Execute is a pain in the ass but once you get it working it is fine.

Who is online

Users browsing this forum: No registered users and 10 guests