<div dir="ltr">Hi,<div><br></div><div>I have done this before using drbd for block based replication and clustering on Redhat, this also could be done with pacemaker/corrosync clusters also.</div><div><br></div><div style>
Ed</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 9 May 2013 10:51, William Leibzon <span dir="ltr"><<a href="mailto:william@leibzon.org" target="_blank">william@leibzon.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Thu, May 9, 2013 at 2:19 AM, Steve Shipway <<a href="mailto:s.shipway@auckland.ac.nz">s.shipway@auckland.ac.nz</a>> wrote:<br>
> Does anyone have an HA setup for Nagios that works?<br>
><br>
> I'm thinking of creating a NEB module that will link two Nagios setups, and<br>
> replicate over all status changes, config changes, downtime, comments, etc<br>
> etc and then set the 'standby' Nagios to be checks/notifications disabled<br>
> when in standby mode, and enabled when in active mode.  Then put the two<br>
> behind a failover load balancer (F5, Foundry or apache reverse proxy).<br>
<br>
</div>I've thought several times of doing it but never actually get started<br>
although I have it all planned out kinda like you.<br>
<br>
In the mean time my HA setup which I've done for several customers<br>
involves config synced using git or svn (script run by cron that<br>
checks if its something new and then restart nagios if config passes<br>
tests). Both servers doing checks but config is such that for one<br>
server all notifications are disabled except for cross-checking of the<br>
other nagios This is achieved by having common template from which all<br>
services are derived and this template is in a file specific to each<br>
server and so one has notifications disabled and the other enabled.<br>
This is not a full HA in a way that if one server dies you have to<br>
execute a script that would enable the other servers for notifications<br>
(this can be done automatically too but I prefer people to do it).<br>
<div class="im HOEnZb"><br>
> However this would be too much work if someone else has already found an<br>
> equivalent solution.<br>
><br>
> I've looked at Merlin but it doesn't seem to do what I'm after (and the<br>
> documentation is practically nonexistant - much the same as the NEB API<br>
> documentation, in fact).  Mod_gearman lets me have redundant checks and<br>
> replicate *active* checks, but not commands, downtime or passive checks.<br>
><br>
> Does anyone out there have a workable way to get an active/standby or<br>
> active/active Nagios setup?  Would be interested in hearing all ideas...<br>
><br>
> Steve<br>
><br>
><br>
> Steve Shipway<br>
> University of Auckland ITS<br>
> UNIX Systems Design Lead<br>
> <a href="mailto:s.shipway@auckland.ac.nz">s.shipway@auckland.ac.nz</a><br>
> Ph: <a href="tel:%2B64%209%20373%207599%20ext%2086487" value="+6493737599">+64 9 373 7599 ext 86487</a><br>
><br>
><br>
</div><div class="HOEnZb"><div class="h5">> ------------------------------------------------------------------------------<br>
> Learn Graph Databases - Download FREE O'Reilly Book<br>
> "Graph Databases" is the definitive new guide to graph databases and<br>
> their applications. This 200-page book is written by three acclaimed<br>
> leaders in the field. The early access version is available now.<br>
> Download your free book today! <a href="http://p.sf.net/sfu/neotech_d2d_may" target="_blank">http://p.sf.net/sfu/neotech_d2d_may</a><br>
> _______________________________________________<br>
> Nagios-users mailing list<br>
> <a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
> <a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
> ::: Please include Nagios version, plugin version (-v) and OS when reporting<br>
> any issue.<br>
> ::: Messages without supporting info will risk being sent to /dev/null<br>
<br>
------------------------------------------------------------------------------<br>
Learn Graph Databases - Download FREE O'Reilly Book<br>
"Graph Databases" is the definitive new guide to graph databases and<br>
their applications. This 200-page book is written by three acclaimed<br>
leaders in the field. The early access version is available now.<br>
Download your free book today! <a href="http://p.sf.net/sfu/neotech_d2d_may" target="_blank">http://p.sf.net/sfu/neotech_d2d_may</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</div></div></blockquote></div><br></div>