[Xymon] favicon location?
Mike Burger
mburger at bubbanfriends.org
Mon Oct 14 20:33:59 CEST 2013
It's probably easier to have a script to poll Xymon for its current
status, and then reference the appropriate favicon-color.ico.
If you installed from scratch, the icons are in $XYMONHOME/serverwww/gifs
If you installed on a Red Hat type system (CentOS, RHEL, Scientific,
Fedora), look in /usr/share/xymon/static/gifs and/or
/var/lib/xymon/www/gifs.
--
Mike Burger
http://www.bubbanfriends.org
"It's always suicide-mission this, save-the-planet that. No one ever just
stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
> No. The favicon filenames are different based on the color of the xymon
> page at any given moment. I need a script to pull the 'current' favicon
> file that's listed in the xymon.html file. That's the file that get
> re-written every time the server polls everything and refreshes itself.
> When the page color changes the 'favicon' path gets changed accordingly
> also.
>
> When xymon.html is red, the favicon path looks like this
> <link rel="shortcut icon"
> href="/xymon/gifs/favicon-red.ico<http://monitor.innovateteam.com/xymon/gifs/favicon-red.ico>
> ">
>
> When it's green it looks like this
> <link rel="shortcut icon"
> href="/xymon/gifs/favicon-green.ico<http://monitor.innovateteam.com/xymon/gifs/favicon-red.ico>
> ">
>
> You can see this if you look at the source code of your xymon page in a
> browser. I need a script or something that pulls the 'live' favicon image
> that's displayed in the xymon.html file. I don't know if it's easier to
> have an external script pull the image out of xymon.html, or if it's
> easier
> to create a script that runs on the server itself and literally creates a
> new html file that only has the favicon in it.
>
>
> Thank you.
> ------------------------------------------------
> *Kris Springer*
>
> *
> *
>
>
> On Fri, Oct 11, 2013 at 7:08 PM, Josh Luthman
> <josh at imaginenetworksllc.com>wrote:
>
>> Can't you just reference /favicon.ico?
>>
>> Josh Luthman
>> Office: 937-552-2340
>> Direct: 937-552-2343
>> 1100 Wayne St
>> Suite 1337
>> Troy, OH 45373
>> On Oct 11, 2013 8:59 PM, "Kris Springer" <kspringer at innovateteam.com>
>> wrote:
>>
>>> I'd like to find out the html code to use inside an iframe so I can
>>> display the live favicon pulled from my xymon server. I want to add it
>>> onto another site I have that others can quickly glance at and see the
>>> color of Xymon without going there. This is useful for those who are
>>> not
>>> in the email alerts list. Does anyone have any suggestions about a
>>> simple
>>> little html code that pulls that data?
>>>
>>> Thank you.
>>> ------------------------------------------------
>>> *Kris Springer*
>>>
>>> *
>>> *
>>>
>>> _______________________________________________
>>> Xymon mailing list
>>> Xymon at xymon.com
>>> http://lists.xymon.com/mailman/listinfo/xymon
>>>
>>>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
More information about the Xymon
mailing list