Hi
I have verifies all databases
nagios
nagiosxi
nagiosql
through mysql prompt and all entries in different tables are same means the databases are now in sync unlike earlier so that is rectified
Also , now in CCM while writing configuration no ghost entries are there
Problem is
1. first ,that the dashboard and view section automatically add the deleted hosts n services
2. monitoring engine stops automatically and then restarts automatically with ghost entries which is not in CCm or in database
3. and database corrupt after sometime and I need to manually repair it and again same process follows.
Please advice that am I syncing files which are not required to sync and this is the reason Dashboard is behaving weird
thanks
Configure Nagios in HA mode
Re: Configure Nagios in HA mode
Going to repeat my advice from earlier and suggest reaching out to LinBit for this. Officially speaking we only support the Nagios side of things, so if anything is improperly set up in the HA side we can't really troubleshoot it too terribly much.
Former Nagios employee
-
network2016
- Posts: 47
- Joined: Tue Mar 08, 2016 11:35 am
Re: Configure Nagios in HA mode
hi thanks for replying
Just want to ask can you advice on which files or db are need to synced in order to replicate the nagios to another nagios. Just the list of files or db ,if you can please provide.\
Thanks
Just want to ask can you advice on which files or db are need to synced in order to replicate the nagios to another nagios. Just the list of files or db ,if you can please provide.\
Thanks
Re: Configure Nagios in HA mode
You would need to move the three databases you mentioned, as well as the following directories:
Bear in mind this may not be a complete list as this is not something we have documented internally. We recommend contacting LinBit regarding any HA setups.
You can see a talk from a previous conference about HA given by one of our past employees:
https://www.youtube.com/watch?v=KW5Qkl8brcA
But this is not a guarantee of functionality or a method we officially support.
Code: Select all
/usr/local/nagios/
/usr/local/nagiosxi/
/var/lib/mrtg/
You can see a talk from a previous conference about HA given by one of our past employees:
https://www.youtube.com/watch?v=KW5Qkl8brcA
But this is not a guarantee of functionality or a method we officially support.
Former Nagios employee
Re: Configure Nagios in HA mode
This is all I can think of off the top of my head:
- Note: I recommend you check out LinBit as well, I'm not sure if you'll be able to get this to work or not.
- Note: I recommend you check out LinBit as well, I'm not sure if you'll be able to get this to work or not.
Code: Select all
/usr/local/nagios
/usr/local/nagiosmobile
/usr/local/nagiosxi
/usr/local/nagvis
/usr/local/nrdp
/usr/share/snmp/mibs
/etc/snmp
/etc/mrtg
/var/lib/mrtg
/etc/httpd/conf.d/nagios.conf
/etc/httpd/conf.d/nagiosxi.conf
/etc/httpd/conf.d/nagiosmobile.conf
/etc/httpd/conf.d/nagiosql.conf
/etc/httpd/conf.d/mrtg.conf
/etc/httpd/conf.d/nagvis.conf
/etc/httpd/conf.d/nrdp.conf
/etc/cron.d/nagiosxi
/etc/cron.d/mrtg