<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Tried it but the javascript doesn't affect anything.<br>
<br>
Also you should use https on your javascript source line or the
browser blocks it. ;-)<br>
<div class="moz-signature"><br>
<br>
<p class="c3"><span class="c1">Thank you.</span></p>
<p class="c3"><span class="c1">------------------------------------------------</span></p>
<p class="c3"><span class="c0">Kris Springer</span></p>
<p class="c3"><span class="c0"></span><br>
</p>
<title>Signature - Kris</title>
<meta content="text/html; charset=utf-8" http-equiv="content-type">
<style type="text/css">@import url('https://themes.googleusercontent.com/fonts/css?kit=wAPX1HepqA24RkYW1AuHYA');ol{margin:0;padding:0}.c0{color:#990000;font-size:10pt;background-color:#ffffff;font-family:"Calibri";font-weight:bold}.c5{color:#990000;font-size:8pt;background-color:#ffffff;font-family:"Calibri"}.c1{color:#990000;font-size:10pt;background-color:#ffffff;font-family:"Calibri"}.c2{max-width:468pt;background-color:#ffffff;padding:72pt 72pt 72pt 72pt}.c4{text-decoration:underline}.c3{direction:ltr}.title{widows:2;padding-top:0pt;line-height:1.15;orphans:2;text-align:left;color:#000000;font-size:21pt;font-family:"Trebuchet MS";padding-bottom:0pt;page-break-after:avoid}.subtitle{widows:2;padding-top:0pt;line-height:1.15;orphans:2;text-align:left;color:#666666;font-style:italic;font-size:13pt;font-family:"Trebuchet MS";padding-bottom:10pt;page-break-after:avoid}li{color:#000000;font-size:11pt;font-family:"Arial"}p{color:#000000;font-size:11pt;margin:0;font-family:"Arial"}h1{widows:2;padding-top:10pt;line-height:1.15;orphans:2;text-align:left;color:#000000;font-size:16pt;font-family:"Trebuchet MS";padding-bottom:0pt;page-break-after:avoid}h2{widows:2;padding-top:10pt;line-height:1.15;orphans:2;text-align:left;color:#000000;font-size:13pt;font-family:"Trebuchet MS";font-weight:bold;padding-bottom:0pt;page-break-after:avoid}h3{widows:2;padding-top:8pt;line-height:1.15;orphans:2;text-align:left;color:#666666;font-size:12pt;font-family:"Trebuchet MS";font-weight:bold;padding-bottom:0pt;page-break-after:avoid}h4{widows:2;padding-top:8pt;line-height:1.15;orphans:2;text-align:left;color:#666666;font-size:11pt;text-decoration:underline;font-family:"Trebuchet MS";padding-bottom:0pt;page-break-after:avoid}h5{widows:2;padding-top:8pt;line-height:1.15;orphans:2;text-align:left;color:#666666;font-size:11pt;font-family:"Trebuchet MS";padding-bottom:0pt;page-break-after:avoid}h6{widows:2;padding-top:8pt;line-height:1.15;orphans:2;text-align:left;color:#666666;font-style:italic;font-size:11pt;font-family:"Trebuchet MS";padding-bottom:0pt;page-break-after:avoid}</style>
</div>
<div class="moz-cite-prefix">On 06/12/2018 04:13 PM, Jeremy Laidman
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CACO=ejw+OMN1rAC8qeB62bmW9c3BGUV4pKYV8DtuS_s=Fz2LcQ@mail.gmail.com">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On 13 June 2018 at 08:29, Kris
Springer <span dir="ltr"><<a
href="mailto:kspringer@innovateteam.com" target="_blank"
moz-do-not-send="true">kspringer@innovateteam.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF"> I have custom icons and themed my
systems to make them a bit less neon, more professional
and easy on the eyes. I've attached a screenshot.
Hopefully the mailing list doesn't strip it off.<br>
</div>
</blockquote>
<div><br>
</div>
<div>It didn't. Looks very cool.</div>
<div><br>
</div>
<div><snip></div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">I would like a few of my custom
tests to have the same 'info.png' icon instead of the
green/yellow/red icons.</div>
</blockquote>
<div><br>
</div>
<div>I did not know the Info column could have its icon
changed. That's neat. In my installation (and at <a
href="http://xymon.org" moz-do-not-send="true">xymon.org</a>)
it's just the standard green.gif.</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF"> The tests always come in green,
so I'm not concerned with any color changing or alerting
on those particular tests. One of the tests is the
'who' column that BBwin and the XymonPSClient send in.
I just want the 'info' icon to display instead of the
green one. It sounds simple enough but I can't figure
out how/if the system will allow me to define it.<br>
</div>
</blockquote>
<div><br>
</div>
<div>Yep, makes sense.</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">I tried adding this to my
xymonserver.cfg and restarting, but nothing happened. I
suspect because WHOCOLUMN is not recognized by Xymongen.<br>
WHOCOLUMN="who" <br>
WHOCOLUMNGIF="info.png"</div>
</blockquote>
<div><br>
</div>
<div>You're correct. All of the "*COLUMN" and "*COLUMNGIF"
strings are special, and you can't make up your own
(without changing the source code).</div>
<div><br>
</div>
<div>The simplest thing might be to tweak the display in the
browser with a bit of Javascript, perhaps inserted into a
template or footer file. Something like:</div>
<div><br>
</div>
<div>
<div><script src="<a
href="http://code.jquery.com/jquery-latest.js"
moz-do-not-send="true">http://code.jquery.com/jquery-latest.js</a>"></script></div>
<div><script type="text/javascript"></div>
<div> jQuery("img").each(</div>
<div> function(){</div>
<div> var self=jQuery(this);</div>
<div> if
((self).attr("title").match(/^who:[a-z]+:/)) {</div>
<div> var
newsrc=(self).attr("src").replace("green.gif","info.gif");</div>
<div>
(self).attr("src",newsrc);</div>
<div> };</div>
<div> }</div>
<div> );</div>
<div></script></div>
</div>
<div><br>
</div>
<div>This looks for any "<img>" tag with the "title"
attribute (pop-up text) "who:bla:bla" and substitutes
green.gif with info.gif.</div>
<div><br>
</div>
<div>To insert a bit of HTML or JavaScript into every page,
add the text into a file called xymonbodyfooter.html in
the same directory where xymonserver.cfg, and then set
XYMONBODYFOOTER=<a class="moz-txt-link-rfc2396E" href="file:$XYMONHOME/etc/xymonbodyfooter.html">"file:$XYMONHOME/etc/xymonbodyfooter.html"</a>
into xymonserver.cfg. The location and name of the
xymonbodyfooter.html is arbitrary.</div>
<div><br>
</div>
<div>Cheers</div>
<div>Jeremy</div>
<div><br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>