Load Balancing syslog input to NLS

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
OptimusB
Posts: 146
Joined: Mon Oct 27, 2014 10:08 pm
Location: Canada
Contact:

Load Balancing syslog input to NLS

Post by OptimusB »

We are looking to make sure that all logs are captured and not lost with a use of a load balancer with virtual IP. This way the clients will always send to a single IP, but logs will get capture regardless of which log server might be down. Theoretically this should pose any issues, but I would like to check whether this will have any impact in a 2 or 3 node cluster in terms of the replicas. Since the logs will be coming into all the nodes, will NLS cluster figure this out and maintain redundancy?

Thanks!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Load Balancing syslog input to NLS

Post by ssax »

There should be no problem, the replication will happen across all nodes regardless of where the logs were originally sent. You need to make sure that your load balancer doesn't replace the source IP with the IP of the load balancer, otherwise the logs will show a source of your load balancer.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Load Balancing syslog input to NLS

Post by jolson »

It is also worth noting that round robin DNS is an available option. Elasticsearch will handle shard/data load balancing automatically on the backend.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
OptimusB
Posts: 146
Joined: Mon Oct 27, 2014 10:08 pm
Location: Canada
Contact:

Re: Load Balancing syslog input to NLS

Post by OptimusB »

Thank you. This helps with our initial NLS design and making sure that we minimize any risk in losing any of the log data.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Load Balancing syslog input to NLS

Post by tmcdonald »

Did you have further questions or are we set to close this topic?
Former Nagios employee
OptimusB
Posts: 146
Joined: Mon Oct 27, 2014 10:08 pm
Location: Canada
Contact:

Re: Load Balancing syslog input to NLS

Post by OptimusB »

Please close this topic. Much appreciated.
Locked