Xymon Mailing List Archive search

Config files overwritten?

list Al Jeffcoat
Wed, 5 Oct 2005 11:27:42 -0400
Message-Id: <user-f9ae9de18ecf@xymon.invalid>

Good to know, thanks Henrik...

In the past I had just copied the server directory out of the way, and
then make install, and copy my config files back into place...

Also, I have a questions about external scripts.  I have written an
external script to monitor HACMP on AIX, is there a repository for
scripts besides deadcat?  Not sure if this script would work with BB
anyway.

Al

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: Wednesday, October 05, 2005 11:15 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Config files overwritten?

On Wed, Oct 05, 2005 at 10:12:54AM -0400, Jeffcoat, Al wrote:
What happens to any configuration files that have been changed in the
$HOBBIT/server/etc directory if I do a make install to the same
location?  Are they overwritten, or reused?

I'm wanting to do an update to the RC1 from a previous snapshot, and
am
curious if it will be that easy :)
"make install" does its best to do "the right thing". It won't touch
your bb-hosts, hobbit-alerts.cfg, hobbit-clients.cfg files; if tries to merge in added settings to the hobbitserver.cfg, hobbitcgi.cfg, hobbitgraph.cfg, hobbitlaunch.cfg and columndoc.csv files; and it only
updates your web/* templates and the www/menu/* files if they haven't been modified since Hobbit was installed.

In other words - as the cautious admin you are, you will of course make a rapid backup - tar cf /tmp/config.tar ~hobbit/server/etc - before running make install, but it really should just work :-)


Henrik