Page 1 of 1

HA in Nagios LS nodes

Posted: Mon May 07, 2018 11:53 am
by technosol
Hi

I have few queries regarding to the Nagios LS implementation. Could you please help me to get the answers at your earliest?

1. In a two-node cluster, if one of the nodes fail how will the log sources know to which IP to send the new log files? How does the HA work, can you link us to a doc which we can refer?

2. As per the plan, Nagios LS will be installed in VMs. We are planning to install the operating system and the Nagios LS on the local disk. Storage will be shared over SAN or NFS. This can be done. But just to clarity, may I ask to share particular docs to refer?

Thanks & Regards
Chandana
(www.technokain.com)

Re: HA in Nagios LS nodes

Posted: Mon May 07, 2018 12:48 pm
by mcapra
technosol wrote:In a two-node cluster, if one of the nodes fail how will the log sources know to which IP to send the new log files? How does the HA work, can you link us to a doc which we can refer?
If you want high-availability for the transport layer (Logstash), that is best handled outside of Nagios Log Server.

You can either configure multiple potential destinations in your logging agents (nxlog, rsyslog, syslog-ng, etc) or leverage a load balancer of some sort (F5, HAProxy, round-robin DNS, etc). I don't know of any official documents for this setup, but here's the official architecture overview:
https://support.nagios.com/kb/article.php?id=98
technosol wrote:Storage will be shared over SAN or NFS. This can be done.
Elasticsearch needs speedy disks. A fast SAN is probably fine, but I wouldn't put your primary "hot" storage on a NFS. An NFS is a good place to store backups and other "cold" data.

Re: HA in Nagios LS nodes

Posted: Mon May 07, 2018 4:40 pm
by tmcdonald
Thanks for the assist, @mcapra!

@technosol, please let us know if you need further assistance.

Re: HA in Nagios LS nodes

Posted: Mon May 07, 2018 7:31 pm
by technosol
Hi

Thank you for the reply.

May I ask another question regarding the storage.

We are planning to Install OS + Nagios LS in a VM. Then we will use a SAN storage/ space to mount particular log files with LS.
is this acceptable and recommended by nagios?

Thank you.

Re: HA in Nagios LS nodes

Posted: Tue May 08, 2018 3:30 pm
by cdienger
This should be okay although we cannot directly help with setting up the filesystem, san storage, etc.

Re: HA in Nagios LS nodes

Posted: Tue May 08, 2018 7:27 pm
by technosol
Hi

Thanks for the reply. Your, Nagios, confirmation is enough just to proceed with what we have planned.

Regards