[Xymon] Color Status GIF for host status page

Jeremy Laidman jlaidman at rebel-it.com.au
Tue Sep 29 03:04:41 CEST 2015

On 26 September 2015 at 12:12, Rob Steuer <steuer at hotmail.com> wrote:

>       $DOTCOLOR Domain $DOMAIN expires on: $EXPIRESTRING
Rob, that's great work.  A couple of suggestions.  Firstly, in some cases
you want the color to be hard up against the next word with no spaces, and
so you need to include a semicolon, like so:

&red;Bad widget smell at 4o'clock

Secondly, you could streamline your code by removing all of the DOTCOLOR=
lines and instead use this at the end:

&$COLOR Domain $DOMAIN expires on: $EXPIRESTRING

This prunes 3 lines of code, and eliminates one variable, with no loss in
readability (IMHO).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20150929/bdc9bf2f/attachment.html>

More information about the Xymon mailing list