[hobbit] Alert on files out of sync?

Tom Moore Tom.Moore at sas.com
Wed Feb 10 19:07:49 CET 2010


Yea I would do that but having to script and rsync with a httpd reload is asking for trouble.  I don't want the rsync to somehow fail one day (or even the conf having an error) and then it goes ahead and HUPs the apache on the second server, which then fails along with the first.


-----Original Message-----
From: Rich Smrcina [mailto:rsmrcina at wi.rr.com] 
Sent: Wednesday, February 10, 2010 11:12 AM
To: hobbit at hswn.dk
Subject: Re: [hobbit] Alert on files out of sync?

A quick thought.... use rsync to eliminate the human from having to 
remember about the second web server.

On 02/10/2010 09:53 AM, Tom Moore wrote:
> Greetings,
>
> I'm trying to figure out the best way for Xymon to alert when it detects that a httpd.conf file on two different webheads is different.  Due to safety reasons we don't automate our web server config files, but rather use change control to keep them managed.  I want to be able to see if someone modifies one config file on one server, but forgets to do it on the second one.   I guess I could write a backend script to do it, but thought maybe there was a way to leverage the FILE monitor in hobbit-clients.cfg.
>
> TIA,
> Tom
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
>    


-- 
Rich Smrcina
Phone: 414-491-6001
http://www.linkedin.com/in/richsmrcina

Catch the WAVV! http://www.wavv.org
WAVV 2010 - Apr 9-13, 2010 Covington, KY

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk






More information about the Xymon mailing list