From kspringer@innovateteam.com Wed Jun 24 08:24:30 2026 From: kspringer@innovateteam.com To: xymon@xymon.com Subject: [Xymon] change custom column icon Date: Tue, 12 Jun 2018 15:29:19 -0700 Message-ID: <23faf1e8-12b5-3989-a37c-94a5e24639b4@innovateteam.com> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5894611369661144912==" --===============5894611369661144912== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable An HTML attachment was scrubbed... URL: --===============5894611369661144912==-- From jeremy@laidman.org Wed Jun 24 08:24:30 2026 From: jeremy@laidman.org To: xymon@xymon.com Subject: [Xymon] change custom column icon Date: Wed, 13 Jun 2018 09:13:52 +1000 Message-ID: In-Reply-To: <23faf1e8-12b5-3989-a37c-94a5e24639b4@innovateteam.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8259834501283173942==" --===============8259834501283173942== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On 13 June 2018 at 08:29, Kris Springer wrote: > 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. > It didn't. Looks very cool. > I would like a few of my custom tests to have the same 'info.png' icon > instead of the green/yellow/red icons. > I did not know the Info column could have its icon changed. That's neat. In my installation (and at xymon.org) it's just the standard green.gif. > 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. > Yep, makes sense. > I tried adding this to my xymonserver.cfg and restarting, but nothing > happened. I suspect because WHOCOLUMN is not recognized by Xymongen. > WHOCOLUMN="who" > WHOCOLUMNGIF="info.png" > 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). 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: This looks for any "" tag with the "title" attribute (pop-up text) "who:bla:bla" and substitutes green.gif with info.gif. 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="file:$XYMONHOME/etc/xymonbodyfooter.html" into xymonserver.cfg. The location and name of the xymonbodyfooter.html is arbitrary. Cheers Jeremy --===============8259834501283173942==-- From kspringer@innovateteam.com Wed Jun 24 08:24:30 2026 From: kspringer@innovateteam.com To: xymon@xymon.com Subject: [Xymon] change custom column icon Date: Wed, 13 Jun 2018 07:47:43 -0700 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1069642799893127828==" --===============1069642799893127828== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable An HTML attachment was scrubbed... URL: --===============1069642799893127828==--