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
Monitor PPPOE session user on cisco interface
-
absarcompass
- Posts: 182
- Joined: Thu May 14, 2015 9:57 pm
Re: Monitor PPPOE session user on cisco interface
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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
absarcompass
- Posts: 182
- Joined: Thu May 14, 2015 9:57 pm
Re: Monitor PPPOE session user on cisco interface
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;
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;
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Monitor PPPOE session user on cisco interface
I'm not sure I understand the question? What does 513_511 represent?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;
-
absarcompass
- Posts: 182
- Joined: Thu May 14, 2015 9:57 pm
Re: Monitor PPPOE session user on cisco interface
scottwilkerson wrote:I'm not sure I understand the question? What does 513_511 represent?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;
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.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Monitor PPPOE session user on cisco interface
This is possible
This would be CRITICAL less that 511 or > 513
CRITICAL less than 511 would be
nagios plugin development guidelines
https://nagios-plugins.org/doc/guidelin ... HOLDFORMAT
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:513CRITICAL 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:https://nagios-plugins.org/doc/guidelin ... HOLDFORMAT