Page 1 of 1
Design two Nagios Failover/Redundant topology - need help !
Posted: Mon Aug 08, 2016 9:00 am
by karen9876543210
Hello !
I am using nagios core 3 ! and I am trying to make failover monitoring, according to nagios documentation (Redundant and Failover Network Monitoring,Scenario 2 - Failover monitoring) it work fine. For last service state information on backup host, I am using ocsp command on master, and nsca addon on backup host .
The question is - if my backup host go down, send nsca will fail sanding data , and after comming up I will not have history on my backup host . Is there any solution exept rsyncing logs ?
And the second question is - is there any solutions for nagions to read/write plugin output data, perfdata and history in/from mysql ?
Thanks
Moderator Edit: This thread has been split from another - https://support.nagios.com/forum/viewto ... =7&t=25051
In the future, please create a new thread and link to the old one instead of adding on.
Re: Design two Nagios Failover/Redundant topology - need hel
Posted: Mon Aug 08, 2016 1:22 pm
by mcapra
karen9876543210 wrote:
The question is - if my backup host go down, send nsca will fail sanding data , and after comming up I will not have history on my backup host . Is there any solution exept rsyncing logs ?
If you're referring to the state history (host/service up/down at time), rsync is probably your best bet for Nagios Core.
karen9876543210 wrote:
And the second question is - is there any solutions for nagions to read/write plugin output data, perfdata and history in/from mysql ?
NagiosQL does a little bit of this. Might solve parts of your use-case.
Re: Design two Nagios Failover/Redundant topology - need hel
Posted: Thu Aug 11, 2016 8:26 am
by karen9876543210
Thank You for response !!
NagiosQL is for configuration, keepeng configuration in database, and web ui for configuration!
I do not neet that, I need some tool to pull out host/service status data, check output data... fom mysql to nagios ! is there any available ?
Re: Design two Nagios Failover/Redundant topology - need hel
Posted: Thu Aug 11, 2016 4:13 pm
by mcapra
I don't know of any solution that sends the logging info and performance data from Nagios Core to a MySQL database. NagiosQL really is the closest thing to that, but I understand it is not a 100% solution to your use case.
Nagios XI includes some of that information in MySQL tables, but the back-end is almost exclusively using the RRD files for performance data and the log files for reporting.
Re: Design two Nagios Failover/Redundant topology - need hel
Posted: Thu Aug 11, 2016 11:59 pm
by karen9876543210
There is ndoutils for sending data from nagios core to mysql, but I need opposite opportunity !! From mysql to nagios !!
Also I find out that it is possible to compile nagios with mysql support !!
http://nagios.manubulon.com/traduction/ ... ta-db.html
But unfortunatelyI need rpm ! ))
If anybody tried this pleas responce !
In any case thank You for reply !! it helps me !!
Re: Design two Nagios Failover/Redundant topology - need hel
Posted: Fri Aug 12, 2016 6:04 am
by nozlaf
karen9876543210 wrote:
And the second question is - is there any solutions for nagions to read/write plugin output data, perfdata and history in/from mysql ?
is this because you want to keep it in sync or another reason?
Re: Design two Nagios Failover/Redundant topology - need hel
Posted: Fri Aug 12, 2016 12:13 pm
by rkennedy
karen9876543210 wrote:There is ndoutils for sending data from nagios core to mysql, but I need opposite opportunity !! From mysql to nagios !!
Also I find out that it is possible to compile nagios with mysql support !!
http://nagios.manubulon.com/traduction/ ... ta-db.html
But unfortunatelyI need rpm ! ))
If anybody tried this pleas responce !
In any case thank You for reply !! it helps me !!
A lot of modifications / addons have been made for Core, while what you posted above may work, it this isn't something we can directly support. Let us know if you have any further questions.
Re: Design two Nagios Failover/Redundant topology - need hel
Posted: Mon Aug 15, 2016 12:29 am
by karen9876543210
nozlaf wrote:karen9876543210 wrote:
And the second question is - is there any solutions for nagions to read/write plugin output data, perfdata and history in/from mysql ?
is this because you want to keep it in sync or another reason?
yes You are right !! for syncing !
Re: Design two Nagios Failover/Redundant topology - need hel
Posted: Mon Aug 15, 2016 12:34 am
by karen9876543210
rkennedy wrote:karen9876543210 wrote:
A lot of modifications / addons have been made for Core, while what you posted above may work, it this isn't something we can directly support. Let us know if you have any further questions.
I would like to know is there any solution for nagios core 3 to implement failover using mysql for syncing data!! If yes please let me know how !
Re: Design two Nagios Failover/Redundant topology - need hel
Posted: Mon Aug 15, 2016 12:52 pm
by rkennedy
karen9876543210 wrote:
I would like to know is there any solution for nagios core 3 to implement failover using mysql for syncing data!! If yes please let me know how !
We do not have a way that we can recommend / support.