Page 1 of 1
Monitor PPPOE session user on cisco interface
Posted: Thu Jun 07, 2018 6:00 pm
by absarcompass
Hi Guys,
I am looking to monitor PPPOE sessions on a cisco 7200 broadband router.
although i can see the OID for number of active session but I am looking for a plugin/tool that can generate alert when number of users gets drop by 15 or 20 percent of total sessions. Because total number of active session will keep increasing when new customers gets in and if alerts are not on percentage base then I'll need to change alert threshold all the time which will be a hassle.
I know disk space and bandwidth plugin are threshold with percentage but can not find any plugin with same for PPPOE sessions
Any help will be much appreciated.
Thanks
Re: Monitor PPPOE session user on cisco interface
Posted: Fri Jun 08, 2018 12:16 pm
by cdienger
Looking through Cisco docs, it doesn't look like this will available via SNMP and I'm not finding anything suitable on exchange.nagios.org. Failing to find an existing plugin to monitor this, making a plugin is usually relatively easy. In this case you'll need a plugin that will monitor session counts and save them to a file or database of some sort, then do the math to determine if there has been a drop between the previous session count with the current session count.
Re: Monitor PPPOE session user on cisco interface
Posted: Wed Jun 27, 2018 11:31 pm
by absarcompass
Hi ,
Is there a possibility to trigger alert when value drops from critical threshold instead of increment
./check_snmp -H x.x.x.x -o .1.3.6.1.4.1.9.9.194.1.1.1.0 -C ********* -c 513_511
SNMP OK - 509 | iso.3.6.1.4.1.9.9.194.1.1.1.0=509;;513;
Re: Monitor PPPOE session user on cisco interface
Posted: Thu Jun 28, 2018 11:15 am
by scottwilkerson
absarcompass wrote:Hi ,
Is there a possibility to trigger alert when value drops from critical threshold instead of increment
./check_snmp -H x.x.x.x -o .1.3.6.1.4.1.9.9.194.1.1.1.0 -C ********* -c 513_511
SNMP OK - 509 | iso.3.6.1.4.1.9.9.194.1.1.1.0=509;;513;
I'm not sure I understand the question? What does 513_511 represent?
Re: Monitor PPPOE session user on cisco interface
Posted: Thu Jun 28, 2018 4:27 pm
by absarcompass
scottwilkerson wrote:absarcompass wrote:Hi ,
Is there a possibility to trigger alert when value drops from critical threshold instead of increment
./check_snmp -H x.x.x.x -o .1.3.6.1.4.1.9.9.194.1.1.1.0 -C ********* -c 513_511
SNMP OK - 509 | iso.3.6.1.4.1.9.9.194.1.1.1.0=509;;513;
I'm not sure I understand the question? What does 513_511 represent?
My Bad, 513_511 are set to be critical value range, I was trying to achieve a trigger when the OID output is less than critical value,
generally alarm trigger when output value cross the critical limit, I am trying to trigger an alarm when output value drops below the critical value.
Re: Monitor PPPOE session user on cisco interface
Posted: Thu Jun 28, 2018 4:56 pm
by scottwilkerson
This is possible
This would be CRITICAL less that 511 or > 513
Code: Select all
./check_snmp -H x.x.x.x -o .1.3.6.1.4.1.9.9.194.1.1.1.0 -C ********* -c 511:513
CRITICAL less than 511 would be
Code: Select all
./check_snmp -H x.x.x.x -o .1.3.6.1.4.1.9.9.194.1.1.1.0 -C ********* -c 511:
nagios plugin development guidelines
https://nagios-plugins.org/doc/guidelin ... HOLDFORMAT