[Xymon] favicon location?

Kris Springer kspringer at innovateteam.com
Wed Oct 30 05:50:03 CET 2013


Wow!  You rock.  Thanks a lot!

Thank you.
------------------------------------------------
*Kris Springer*
*=======================*
*
*


On Mon, Oct 14, 2013 at 6:05 PM, Jeremy Laidman <jlaidman at rebel-it.com.au>wrote:

> On 15 October 2013 05:49, Kris Springer <kspringer at innovateteam.com>wrote:
>
>> Yes, I'd love to but I don't know how to write that code.  Do you?
>
>
> Something like this in the file $XYMONHOME/ext/favicon.sh:
>
> #!/bin/sh
> # generate favicon symlink
> FAV=`sed -n '/shortcut icon/{s/^.*\///;s/".*$//;p}'
> $XYMONWWWDIR/nongreen.html`
> [ -f "$XYMONWWWDIR/gifs/$FAV" ] && ln -f -s gifs/$FAV
> $XYMONWWWDIR/favicon.ico
>
> Then do "chmod +x $XYMONHOME/ext/favicon.sh".  And finally add this to
> tasks.cfg:
>
> [favicon]
>     ENVFILE $XYMONHOME/etc/xymonserver.cfg
>     CMD $XYMONHOME/ext/favicon.sh
>     LOGFILE $XYMONSERVERLOGS/favicon.log
>     INTERVAL 1m
>
> Adjust the interval to your needs.  Check the xymonlaunch.log and
> favicon.log for any errors.
>
> J
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20131029/62705e30/attachment.html>


More information about the Xymon mailing list