Community discussions

MikroTik App
 
ferdinandbabst
newbie
Topic Author
Posts: 31
Joined: Thu Dec 11, 2008 12:51 pm

Dude and SNMP

Mon Sep 20, 2010 5:02 pm

Hi

Can I use Dude to display connected PPPoE clients on a specific Mikrotik on a network map using SNMP?
The reason is I want to see when connected users's pppoe drops. I want to display all connected users on a map so that its easy to see on our Helpdesk which users are no longer connected
 
lebowski
Forum Guru
Forum Guru
Posts: 1618
Joined: Wed Aug 27, 2008 5:17 pm

Re: Dude and SNMP

Mon Sep 27, 2010 5:56 pm

I don't have a system to test but while users are connected, SNMPwalk your device, wait for it to finish then search for a PPP username that should be connected. If that data is in snmp you could make a probe. I don't know if it is there.
 
ferdinandbabst
newbie
Topic Author
Posts: 31
Joined: Thu Dec 11, 2008 12:51 pm

Re: Dude and SNMP

Mon Oct 11, 2010 12:20 pm

Thanks for advice

Its working ok. the only issue is that with every connected pppoe session, the session gets a variable session ID. If you setup a probe to listen via SNMP and the user disconnects, when that specific user reconnects it will get a new session ID for pppoe (even though the username is the same). The dude will flag the user offline due to the username and session ID having a mismatch. He actually isnt offline, its just his session ID is different :?
 
lebowski
Forum Guru
Forum Guru
Posts: 1618
Joined: Wed Aug 27, 2008 5:17 pm

Re: Dude and SNMP

Mon Oct 11, 2010 8:40 pm

Can you post your probe(s), maybe there is a way to only pay attention to the user id?
 
chrisd13
Frequent Visitor
Frequent Visitor
Posts: 68
Joined: Mon Feb 20, 2006 4:05 pm
Location: UK

Re: Dude and SNMP

Mon Oct 18, 2010 5:46 pm

If the username is listed in the snmpwalk as a oid value, I am sure you would be able to manipulate the "Check if service is running" Probe to look for the username like below...

if(array_find(oid_column("<oid for ppoe sessions>"), "<username>")>0, 1, ")

This way it should pick up the username when it comes back online no matter which sessionid it is listed against. But this does all depend on whether the pppoe sesions can be listed by a single oid. (like Lebowski, I do not have any systems that I can check this on though. A screenshot of the pppoe sessions in a snmpwalk would help.)

Hope it can help you though.

Who is online

Users browsing this forum: No registered users and 6 guests