Page 1 of 1
Redback Ericsson SmartEdge SE1200 username dropped
Posted: Fri Mar 20, 2015 4:13 pm
by zaji_nms
Dear Expert
Please advice if possible
We have Redback SE1200 (Ericsson SmartEdge Router - SEOS-6.4.1.5-Release), how to monitor if username (alias subscriber) disconnected?
FYI, there are thousands of username (subscriber) PPPoE get authenticate via Radius Server, just we want to monitor selected 100 usersnames (subscribers).
Please note : there are many context and username (PPPoE subscriber) authenticate under that CONTEXT. We know the CONTEXT and USERNAME which will pass via $ARG1$ , $ARG2$ and if possible to see if its online (active) then should return exit code =0 OK, otherwise CRITICAL
Regards
Re: Redback Ericsson SmartEdge SE1200 username dropped
Posted: Fri Mar 20, 2015 5:01 pm
by jdalrymple
Hi zaji_nms
I can offer 2 pieces of advice:
1) I can move this to the general support forums for you. Sometimes the customer forums are great because you get the more personalized attention, but sometimes the general forums are better because of the broader audience. I don't mind leaving it here and we can do our best, but someone else in the world may have more experience than our staff with this equipment. Just let us know if you want it relocated.
2) I suggest walking the snmp tree on that device:
Code: Select all
snmpwalk -v 2c -c <community> <IP address> .1.3.6.1.4.1.2352
Use the output and search for a string that might match what you want to monitor. From that we can probably fabricate some sort of plugin, but first we have to find out if the data is even readily available. We can push forward after we know that.
Re: Redback Ericsson SmartEdge SE1200 username dropped
Posted: Sat Mar 21, 2015 12:22 am
by zaji_nms
Dear Jdalrymple
Yes, please keep it here and move to General Forum.
Me not aware about this General Forum until today, you gave hint.
Me seeing all my post under -> Board index ‹ Customer Support ‹ Nagios XI
I think you will move to -> Board index ‹ General Support ‹ Nagios XI
Me was doing little trial-error and snmp got stuck for 2 hours on the device
snmpwalk -v 2c -c <community> <IP> .1.3.6.1.4.1.2352.2.17.1.1.1.13
so I don't think I will run what you have suggested (sorry for that) as its not very specific OID.
FYI, there are 10+thousands users and if I run (.1.3.6.1.4.1.2352) sure again SNMP will get stuck as its more broader OID.
Welcome any more suggestion
Somewhere I have read that we can limit the query but not getting how exactly to do. When we hitting SNMPWALK from Linux to gert device (e.g Cisco) info vis SNMP and there is 1000 result but we can tell via some option to limit the result only 10. How to do that?
Regards
Re: Redback Ericsson SmartEdge SE1200 username dropped
Posted: Sun Mar 22, 2015 6:35 pm
by jdalrymple
Hi zaji_nms
I have moved the topic per your request. I think having it in general support would be better for your problem because it is an uncommon device so having more visibility to a broader audience will be better.
Regarding the SNMP walk at the upper end of the tree, my suggestion is that you output the contents of the command to a file with a redirect '>' and then scan the contents of that file for your users.
So for instance pick a user that you know would be always logged in the grep the results of the snmpwalk for that user. My example "
[email protected]"
The grep should output any walk results with the specific OIDs that we want to find, then we can match those up at a website describing the MIB such as
http://www.oidview.com. The only thing to be forewarned about is if the output of the walk is large it can create a similarly large file so make sure you're redirecting the output of the file to a filesystem with ample free space.
Understand?