<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 15 October 2013 05:49, Kris Springer <span dir="ltr"><<a href="mailto:kspringer@innovateteam.com" target="_blank">kspringer@innovateteam.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Yes, I'd love to but I don't know how to write that code.  Do you?</blockquote>

</div><div class="gmail_extra"><br></div>Something like this in the file $XYMONHOME/ext/favicon.sh:<br></div><div class="gmail_extra"><div class="gmail_extra"><br></div><div class="gmail_extra">#!/bin/sh</div><div class="gmail_extra">

<div class="gmail_extra"># generate favicon symlink</div><div>FAV=`sed -n '/shortcut icon/{s/^.*\///;s/".*$//;p}' $XYMONWWWDIR/nongreen.html`<br></div></div><div class="gmail_extra"><div class="gmail_extra">
[ -f "$XYMONWWWDIR/gifs/$FAV" ] && ln -f -s gifs/$FAV $XYMONWWWDIR/favicon.ico<br>
</div><div><br></div><div><div class="gmail_extra">Then do "chmod +x $XYMONHOME/ext/favicon.sh".  And finally add this to tasks.cfg:</div><div class="gmail_extra"></div></div></div></div><div class="gmail_extra">

<br></div><div class="gmail_extra">[favicon]</div><div class="gmail_extra">    ENVFILE $XYMONHOME/etc/xymonserver.cfg</div><div class="gmail_extra">    CMD $XYMONHOME/ext/favicon.sh</div><div class="gmail_extra">    LOGFILE $XYMONSERVERLOGS/favicon.log<br>

</div><div class="gmail_extra">    INTERVAL 1m</div><div class="gmail_extra"><br></div><div class="gmail_extra">Adjust the interval to your needs.  Check the xymonlaunch.log and favicon.log for any errors.</div><div class="gmail_extra">

<br></div><div class="gmail_extra">J</div><div class="gmail_extra"><br></div></div>