Page 1 of 1
Syncing the two Nagios log servers[not in CLuster]
Posted: Tue Aug 02, 2016 7:51 am
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
Re: Syncing the two Nagios log servers[not in CLuster]
Posted: Tue Aug 02, 2016 9:11 am
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.
Re: Syncing the two Nagios log servers[not in CLuster]
Posted: Tue Aug 02, 2016 9:40 am
by hsmith
eloyd is correct, this is outside of the scope of NLS support.
Re: Syncing the two Nagios log servers[not in CLuster]
Posted: Wed Aug 03, 2016 7:22 am
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
Re: Syncing the two Nagios log servers[not in CLuster]
Posted: Wed Aug 03, 2016 8:38 am
by eloyd
Elasticsearch does not work thay way. You will need to make a cluster if that is your desire.
Re: Syncing the two Nagios log servers[not in CLuster]
Posted: Wed Aug 03, 2016 9:53 am
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.