Page 1 of 2

Distributed,Redundant,Failover monitoring on nagios.

Posted: Mon May 15, 2017 11:37 am
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!!!

Re: Distributed,Redundant,Failover monitoring on nagios.

Posted: Mon May 15, 2017 1:06 pm
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.

Re: Distributed,Redundant,Failover monitoring on nagios.

Posted: Mon May 15, 2017 1:44 pm
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.

Re: Distributed,Redundant,Failover monitoring on nagios.

Posted: Mon May 15, 2017 2:14 pm
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.

Re: Distributed,Redundant,Failover monitoring on nagios.

Posted: Mon May 15, 2017 10:09 pm
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.

Re: Distributed,Redundant,Failover monitoring on nagios.

Posted: Tue May 16, 2017 10:34 am
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.

Re: Distributed,Redundant,Failover monitoring on nagios.

Posted: Tue May 16, 2017 12:53 pm
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.

Re: Distributed,Redundant,Failover monitoring on nagios.

Posted: Tue May 16, 2017 12:58 pm
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.

Re: Distributed,Redundant,Failover monitoring on nagios.

Posted: Wed May 17, 2017 4:45 am
by hau361994
Hi guys,
Please help me.
I really need.
Thanks.

Re: Distributed,Redundant,Failover monitoring on nagios.

Posted: Wed May 17, 2017 9:01 am
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?