[hobbit] Alert Config Issues
Andy France
Andy at zespri.com
Mon May 23 10:46:55 CEST 2005
henrik at hswn.dk (Henrik Stoerner) wrote on 23/05/2005 17:52:51:
> On Mon, May 23, 2005 at 03:49:41PM +1200, Andy France wrote:
> > I am getting some dead.letter issues as it seems hobbit is mis-reading
my
> > alert config... either that or I have laid out my hobbit-alerts.cfg
file
> > badly!
> [snip]
> > I'm starting to suspect it is to do with the order of the arguments, or
> > maybe whitespace issues. Or, God forbid, oddball control characters
which
> > have somehow ended up in the file.
> I think this last explanation is one you should check. The piece of your
> hobbit-alerts.cfg file that you included in the message had some hex
> 0xA0 characters in them - I don't know if they were added by your e-mail
> client, but if they are in the file I can understand why it would behave
> the way it does.
God only knows what Lotus Notes gets up to with it's formatting :-)
> Try running "od -cx hobbit-alerts.cfg" and see if you have some of those
> 0xA0 characters in the file.
"od -cx hobbit-alerts.cfg | grep -i 0xA0" doesn't turn up anything.
> Try this patch - it will complain loudly in the page.log file if it
> finds high-ascii (> 0x7f) characters in the file, and then drop them
> from the input.
I ran through the following procedure...
gmake distclean
gpatch -p0 < cfg-hiascii.patch
gmake
~/server/hobbit.sh stop
gmake install
~/server/hobbit.sh start
However "~/server/bin/bbcmd hobbitd_alert --test zp1sv1 disk" still shows
the same erroneous recipients and there are no complaints in page.log.
>
> Regards,
> Henrik
Thanks,
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