Two Nagios Monitors

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
mehetmet
Posts: 11
Joined: Thu Dec 01, 2011 2:11 pm

Two Nagios Monitors

Post by mehetmet »

Hi,

We currently have one Nagios Monitor checking services/hosts on our infrastructure. However, it seems maybe once or twice a week we receive false notifications of our hosts going into a down state.

We think this may be related to our VPN perhaps timing out thus getting no return on the host checks, and having the hosts appear offline (our Nagios Monitor is in a different office than our monitored servers).

I know you can set up multiple Nagios Monitors, but from what I've read, the second one will pick up if the first monitor service fails for whatever reason.

My question is, is there a way to set up a second monitor, in a different location from the first, but only receive notifications if both monitors' service/host checks fail? (i.e. notification if monitor1 and monitor2 fail checking host1, no notification if monitor1 fails check for host1 but monitor2 check is ok for host1)
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Two Nagios Monitors

Post by jsmurphy »

Short answer: no, there's nothing floating around that I am aware of to make a set up like that, not unless you are in the mood to write some custom event handlers that manage the interaction between the two nagios systems.

You might just be better off putting the Nagios server at the remote site?
mehetmet
Posts: 11
Joined: Thu Dec 01, 2011 2:11 pm

Re: Two Nagios Monitors

Post by mehetmet »

Thanks!
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Two Nagios Monitors

Post by mguthrie »

You could use an OSCP command to push passive results to the 2nd server, and then set a freshness threshold on the 2nd server so that if the data was stale, it would run an active check against the host. There's some setup involved in that, so it could just be easier to have a second Nagios install.
Locked