Nagios Log Server in Distributed Environment

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
abhilash
Posts: 1
Joined: Thu Jun 18, 2015 2:20 am

Nagios Log Server in Distributed Environment

Post by abhilash »

Hi there,
I am looking for a log management solution for a distributed environment. There are 200 branch offices which are having limited bandwidth. I cant have Nagios Log server in each office as the price will be very high. I cant have all logs forwarded from each office as the bandwidth is very low. I am looking for a log filtering at each office and only necessary events \ logs which need attention are sent to the NOC. Can I achieve this by having logstash on each office and two or three instanced of Nagios Log Server at NOC.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Nagios Log Server in Distributed Environment

Post by eloyd »

You can filter what you send by altering the log level within rsyslog as to what gets sent to the Log Server.

By default, the log server install sets all facilities, all severities to be sent. You could change that to only log auth failures and system debug events, for instance.

You need to look at the syslog or rsyslog man pages, but you'll be changing "*.* @<logserver>:5544" to be the various things you want to sent. Like:

Code: Select all

mail.info @<logserver>:5544
*.emerg @<logserver>:5544
authpriv.* @<logserver>:5544
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Nagios Log Server in Distributed Environment

Post by jolson »

eloyd has presented the most ideal solution - this will limit the amount of logs going out of your network. In this case, you could have a simple 3-4 instance cluster in the center of your network to handle the log collection. On the Windows side, you can modify nxlog to achieve the same results.

Jesse
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.
Locked