Reporting on EIGRP or Downed Interface

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Haasjoh
Posts: 8
Joined: Thu Mar 10, 2016 1:18 pm

Reporting on EIGRP or Downed Interface

Post by Haasjoh »

Hello,

We are implementing a new network for SCADA. We have 4 sites, each with a wired connection via broadband and a wireless connection (Failover) through a provider such as Verizon. The way it is supposed to work, is when the broadband connection fails, the Verizon connection (Additional card in the router) kicks on as a failover. But when that happens, that's when we start getting charged $$$. I have setup NagiosXI to monitor the ports of both broadband and Verizon. But I do not have notifications turned on for the Verizon connection because it will always show down. I'm trying to have a setup that will notify our utilities folks when the Verizon connection kicks on, which means the broadband connection isn't working right.

I've tried: ./check_eigrp.pl -H 10.X.X.X -c public -p 4 -AS 10, which works through the NagiosXI shell. But it doesn't put out any data when trying to configure the commands in the core config menu. I know I have them in correctly. I'd like to get that working, but it doesn't want to display in the NagiosXI web interface. Is there a way to setup and alert to contact up only when a device is up?

We are running the latest NagiosXI VMware edition.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Reporting on EIGRP or Downed Interface

Post by tmcdonald »

Regarding notifying when the connection is up, you might want to look into the Negate plugin:

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Basically, if the link is down (which is normally a bad thing) it will be OK, and when it is up it will be Critical.

Regarding the plugin output, can you provide an example of the CLI output and a screenshot of the service detail in the XI interface?
Former Nagios employee
Haasjoh
Posts: 8
Joined: Thu Mar 10, 2016 1:18 pm

Re: Reporting on EIGRP or Downed Interface

Post by Haasjoh »

The file is attached.
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Reporting on EIGRP or Downed Interface

Post by tmcdonald »

So a few things. First, try running it as the nagios user on the command line instead of root as this can affect the results depending on the plugin. Second, the Test Check Command button is not always 100% accurate - the best way to test is to save and click Apply Configuration, then let the check run naturally and check those results.
Former Nagios employee
Haasjoh
Posts: 8
Joined: Thu Mar 10, 2016 1:18 pm

Re: Reporting on EIGRP or Downed Interface

Post by Haasjoh »

The final output.
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Reporting on EIGRP or Downed Interface

Post by tmcdonald »

Can you try what I suggested in my post above? The output from the Test Check Command is not always the same as what you would get if the check ran on its own.
Former Nagios employee
Haasjoh
Posts: 8
Joined: Thu Mar 10, 2016 1:18 pm

Re: Reporting on EIGRP or Downed Interface

Post by Haasjoh »

I'll do that. But I copied all the snapshots on one graphic.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Reporting on EIGRP or Downed Interface

Post by rkennedy »

What are the permissions on check_eigrp.pl? ls -la check_eigrp.pl

As Trevor mentioned, we'd need to see the actual check results with Nagios running it. Can you please provide that?
Former Nagios Employee
Haasjoh
Posts: 8
Joined: Thu Mar 10, 2016 1:18 pm

Re: Reporting on EIGRP or Downed Interface

Post by Haasjoh »

I think I have figured it out. This is the only change I have made so far.

The old PL script was:
use lib "/usr/lib64/nagios/plugins";

I changed it to:
use lib "/usr/local/nagios/libexec";

It is working now. I don't know if it worked the bugs out or not. But it is the only thing I changed.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Reporting on EIGRP or Downed Interface

Post by hsmith »

Was there any more help you needed with this issue?
Former Nagios Employee.
me.
Locked