[hobbit] Valid alerts decleration?

Andy France Andy at zespri.com
Thu Jan 27 23:12:09 CET 2005





"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 blysik at shutterfly.com
>
> 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 blysik at shutterfly.com REPEAT=30
>
> Shouldn't there be some hosts showing up after HOST= ?

> --
> Bruce Z. Lysik  <blysik at shutterfly.com>
> 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.
#####################################################################################



More information about the Xymon mailing list