Page 1 of 1

Nagios Log Server HA setup

Posted: Mon Jan 16, 2023 2:24 am
by MurbiesWalkw
I have spun up 2 servers and installed Nagios log server on each and configured the cluster. Now this is where things fall apart, when configuring a client with our log server we run the commands to tell the server what logs to send to Nagios Log server and the ip address chatrandom echat of the log server.

Re: Nagios Log Server HA setup

Posted: Tue Jan 17, 2023 12:08 pm
by gormank
You might want to set up a VIP that points to both log servers.

Re: Nagios Log Server HA setup

Posted: Tue Jan 17, 2023 12:13 pm
by gormank
NLS takes what you send to it.
As far as I recall, sudo info is in the messages file on each server so each server needs to be set up to send that file to NLS.

Re: Nagios Log Server HA setup

Posted: Tue Jan 17, 2023 7:23 pm
by gormank
Sorry about that last message. It was meant for another thread...

Re: Nagios Log Server HA setup

Posted: Thu Nov 23, 2023 6:57 am
by alexbelov11
Setting up High Availability (HA) for Nagios Log Server ensures continuous monitoring. Install two servers, one primary and one secondary. Sync configurations between them. Utilize a Virtual IP (VIP) for seamless failover. Employ tools like Pacemaker and Corosync for automatic switchover. If the primary server falters, the secondary takes over, maintaining uninterrupted log monitoring. Regularly test failover scenarios to guarantee system reliability. This straightforward HA setup enhances Nagios Log Server's resilience, ensuring constant vigilance over your logs.

Re: Nagios Log Server HA setup

Posted: Sat Nov 25, 2023 12:54 am
by kg2857
An NLS cluster is HA by default if you have multiple servers. You can log into any of the servers and see the same log data. Nagios told me that 3 servers is the minimum to have a quorum. I rans several 2 server clusters for a whils without any issues. Obviously using a load balancer to send logs to an available host is a good idea.