Distributed,Redundant,Failover monitoring on nagios.

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.
hau361994
Posts: 10
Joined: Sun Apr 23, 2017 12:22 pm

Distributed,Redundant,Failover monitoring on nagios.

Post by hau361994 »

[Help me]
Hi ALL,
I need documents or tutorial(setup and configure) of Distributed,Redundant,Failover monitoring on nagios. Can someone help me please?
Thanks!!!
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Distributed,Redundant,Failover monitoring on nagios.

Post by dwhitfield »

For the most part, these are not really "Nagios" issues. You'll likely get better answers using the forums for your distribution/OS. That's not to say we can't help, but we aren't HA experts.

That said, this document is geared toward XI, but it should still be useful: https://assets.nagios.com/downloads/nag ... ios-XI.pdf

When we talk about distributed monitoring, https://assets.nagios.com/downloads/gen ... utions.pdf is what we mean, but I am not sure that's what you mean. It might still be useful for getting where you want to go with your infrastructure though.

Here are some questions that should help us help you: what version of Core are you using? Was it compiled from source or installed from distro repos? On what OS/version is nagios running? cat /etc/*-release may be of use.
hau361994
Posts: 10
Joined: Sun Apr 23, 2017 12:22 pm

Re: Distributed,Redundant,Failover monitoring on nagios.

Post by hau361994 »

Hi ,
I am using Nagios Core version 4.2.0 on CentOS 6.8.
I am learning about Distributed,Redundant,Failover monitorings on Nagios.
But I did not find the installtion and configuration documents or tutorials on them.
Can you help me?
Thank you.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Distributed,Redundant,Failover monitoring on nagios.

Post by dwhitfield »

This is fairly sparse, and requires VMWare, but http://www.computerglitch.net/bin/texts ... luster.php is specific to CentOS6.

Here is VMWare's documentation: http://www.vmware.com/products/vsphere/ ... ation.html

You could just set up two Core servers and have them both check the same things. This isn't failover per se, as you're doubling your network traffic, and the Nagios-induced server load, but it's possible neither of those is a concern. In this case, you might want to turn notifications off on one of the servers, but getting duplicate notifications would tell you that both servers are working.

You could just have a Nagios-B you turn on when Nagios-A goes down, but if they aren't both monitoring, then they'll have different historical info. Of course, there will likely be a little difference as both checks won't be running at the same time, but it should be very similar. Again, maybe this is not a problem.
hau361994
Posts: 10
Joined: Sun Apr 23, 2017 12:22 pm

Re: Distributed,Redundant,Failover monitoring on nagios.

Post by hau361994 »

Hi ,
My idea is similar to yours.( You could just set up two Core servers and have them both check the same things. This isn't failover per se, as you're doubling your network traffic, and the Nagios-induced server load, but it's possible neither of those is a concern. In this case, you might want to turn notifications off on one of the servers, but getting duplicate notifications would tell you that both servers are working.

You could just have a Nagios-B you turn on when Nagios-A goes down, but if they aren't both monitoring, then they'll have different historical info. Of course, there will likely be a little difference as both checks won't be running at the same time, but it should be very similar.)

I need the installtion and configuration Guide or Tutorial about Distributed,Redundant,Failover monitorings.
Thanks.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Distributed,Redundant,Failover monitoring on nagios.

Post by dwhitfield »

Well, if you've already got Core installed, just do the same steps again on another server. You could do this in two VMs on the same physical server, but in large part that defeats the purpose.

Firewalls and latency are likely to be an issue if one server is in one data center and another is on another (but it really just depends). You could have one of the Core servers in AWS, Azure, Digital Ocean, whatever, and then another locally. That way if AWS goes down it doesn't take out both of your servers. Of course, there is a cost associated with that.

If you are in the same town as an AWS facility, it might be good to use a different facility in case power is out longterm where you.

There really isn't a one-size fits all approach to this. It really just depends on how redundant and distributed you need it to be and how much money you have to make that happen. You might want to check out http://searchdisasterrecovery.techtarge ... -and-guide and other guides for disaster planning.
hau361994
Posts: 10
Joined: Sun Apr 23, 2017 12:22 pm

Re: Distributed,Redundant,Failover monitoring on nagios.

Post by hau361994 »

Hi,
I am working on a distributed,redundant,failover monitoring lab on Nagios.
I need documentation to install and configure them.
please help me!!!
Thanks.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Distributed,Redundant,Failover monitoring on nagios.

Post by dwhitfield »

Here is the install doc for Core and CentOS: https://support.nagios.com/kb/article.php?id=96#CentOS

We can't really help you with configuration unless you tell us what you are checking. Really, install and configuration should be at least two separate threads.
hau361994
Posts: 10
Joined: Sun Apr 23, 2017 12:22 pm

Re: Distributed,Redundant,Failover monitoring on nagios.

Post by hau361994 »

Hi guys,
Please help me.
I really need.
Thanks.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Distributed,Redundant,Failover monitoring on nagios.

Post by dwhitfield »

Did you install Nagios Core on another system? If you don't tell us where you are in the process, it's impossible for us to help you.

Have you looked at our manual? https://assets.nagios.com/downloads/nag ... n/toc.html

Are the any pages in particular that seem to be causing you issues?
Locked