Page 1 of 2

Reporting on EIGRP or Downed Interface

Posted: Thu Mar 10, 2016 1:50 pm
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.

Re: Reporting on EIGRP or Downed Interface

Posted: Thu Mar 10, 2016 3:49 pm
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?

Re: Reporting on EIGRP or Downed Interface

Posted: Thu Mar 10, 2016 4:30 pm
by Haasjoh
The file is attached.

Re: Reporting on EIGRP or Downed Interface

Posted: Thu Mar 10, 2016 4:33 pm
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.

Re: Reporting on EIGRP or Downed Interface

Posted: Thu Mar 10, 2016 4:36 pm
by Haasjoh
The final output.

Re: Reporting on EIGRP or Downed Interface

Posted: Thu Mar 10, 2016 4:39 pm
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.

Re: Reporting on EIGRP or Downed Interface

Posted: Thu Mar 10, 2016 5:17 pm
by Haasjoh
I'll do that. But I copied all the snapshots on one graphic.

Re: Reporting on EIGRP or Downed Interface

Posted: Fri Mar 11, 2016 10:06 am
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?

Re: Reporting on EIGRP or Downed Interface

Posted: Fri Mar 11, 2016 2:36 pm
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.

Re: Reporting on EIGRP or Downed Interface

Posted: Fri Mar 11, 2016 3:09 pm
by hsmith
Was there any more help you needed with this issue?