Nagios w/ heartbeat + drbd ?

Jason Qualkenbush jqualkenbush at iso-ne.com
Wed Apr 11 15:03:40 CEST 2007


Hugo van der Kooij wrote:
> On Tue, 10 Apr 2007, Jason Qualkenbush wrote:
>
>   
>> The problem I have is having different config files on each node in the
>> cluster due to the different network devices depending on which node
>> nagios is running on.  The only solution I can come up with is to put
>> all the network devices in a non-drbd partition creating a parent path
>> that works depending on which nagios node is active.  It just bugs me
>> having to update two config files instead of just the one.
>>     
>
> The way I would do this would be to split off the unique per system parts 
> from the remainder.
>
> Then you can sync everything you need to all servers except the config 
> file(s) that are unique for each server.
>   

Looks to be working fine like that.   I did some testing and found that 
I should figure out something with the mail queue.  If there is a 
network failure, notification gets attempted, fails to connect to the 
mail gateway, then put into the queue.  When the secondary comes up, 
because it's picking up where the other node failed, it thinks it 
already sent the notifications.  This could easily be fixed with making 
the queue a drbd8 partition I suppose.

-- 
-jq


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list