Syncing the two Nagios log servers[not in CLuster]

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
network2016
Posts: 47
Joined: Tue Mar 08, 2016 11:35 am

Syncing the two Nagios log servers[not in CLuster]

Post by network2016 »

Hi I would like to configure two nagios log servers in different networks [not in cluster format but to export the same to the other Nagios instance] , both data should be synced . I have one central nagioslog server configured to recieve logs from all devices in network ,also I have another log server at enterprize level not in cluster arrangement I would like the database sync between two servers n it can be exported to Syslog server 2 and can be used for furthur processing..

Please help me out on this..

Thanks
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Syncing the two Nagios log servers[not in CLuster]

Post by eloyd »

WAY beyond the scope of NLS it its current implementation. But you could set up an output filter on NLS 1 to forward events to NLS 2. You're not going to sync them though unless they're in a cluster.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Syncing the two Nagios log servers[not in CLuster]

Post by hsmith »

eloyd is correct, this is outside of the scope of NLS support.
Former Nagios Employee.
me.
network2016
Posts: 47
Joined: Tue Mar 08, 2016 11:35 am

Re: Syncing the two Nagios log servers[not in CLuster]

Post by network2016 »

Hi all

thanks for reply

Is it possible that I can forward the same NLS1 database [elasticsearch and logstash] to NLS2 ,and the logs can be visible on NLS2 dashboard same as on NLS1 ?? using any sync method will that work??

Regards
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Syncing the two Nagios log servers[not in CLuster]

Post by eloyd »

Elasticsearch does not work thay way. You will need to make a cluster if that is your desire.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Syncing the two Nagios log servers[not in CLuster]

Post by rkennedy »

eloyd wrote:Elasticsearch does not work thay way. You will need to make a cluster if that is your desire.
This is correct. Really isn't a way to 'replicate' like this. What you're asking is the purpose of a cluster.
Former Nagios Employee
Locked