"Bruce Lysik" wrote on 28/01/2005 11:06:55:
A related question: if hobbit-alerts.cfg is modified, does hobbit
automatically pick up the new version, or is a restart required?
Restart's are evil - they disrupt things. Configuration changes will
be picked up automatically - at least when the next alert happens.
Excellent. Of course now I've found a problem...
My test hobit-alerts.cfg:
$HG-TEST=host01|host02
HOST=$HG-TEST
Looking back at Henrik's earlier email, I think this should be...
HOST=%$HG-TEST
SCRIPT /opt/bb/server/ext/email bruce_mail
MAIL user-4e63a10f8934@xymon.invalid
And then I run the dump config:
-bash-2.05b$ ./bin/bbcmd --env=etc/hobbitserver.cfg hobbitd_alert --
dump-config
HOST=
SCRIPT /opt/bb/server/ext/email bruce_mail FORMAT=SCRIPT REPEAT=30
MAIL user-4e63a10f8934@xymon.invalid REPEAT=30
Shouldn't there be some hosts showing up after HOST= ?
--
Bruce Z. Lysik <user-4e63a10f8934@xymon.invalid>
Operations Engineer
HTH,
Andy.
#####################################################################################
This email is intended for the person to whom it is addressed
only. If you are not the intended recipient, do not read, copy
or use the contents in any way. The opinions expressed may not
necessarily reflect those of ZESPRI Group of Companies ('ZESPRI').
While every effort has been made to verify the information
contained herein, ZESPRI does not make any representations
as to the accuracy of the information or to the performance
of any data, information or the products mentioned herein.
ZESPRI will not accept liability for any losses, damage or
consequence, however, resulting directly or indirectly from
the use of this e-mail/attachments.
#####################################################################################