Xymon Mailing List Archive search

Wrong color with html_mail.pl

list Malcolm Hunter
Wed, 02 Dec 2009 14:51:18 +0100
Message-Id: <user-3b73cc4f34de@xymon.invalid>

Thanks for the tip.

I have, however, found another problem with the script. The message that
is stored in the $BBALPHAMSG is truncated to a limited number of characters.
That means, that if the red icon is too far down on the page, the script
will not find it, and the color of the mail will be the "worst" one in the
message that it receives.

So, is there any way to increase the size limit of the $BBALPHAMSG?
I'm not sure if this can be done any other way, but you could increase the value of MAX_ALERTMSG_SCRIPTS in hobbitd/do_alert.c then recompile.

Regards,

Malcolm

-- 
Technical copy-editor & proofreader

KDE Proofreading Team
KDE British English Translation Team

http://l10n.kde.org/team-infos.php?teamcode=en_GB

Facebook: http://www.facebook.com/FriendlyAtheist

Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser