Is it possible to put an <img src> tag in the XYMONLOGO variable to display an actual logo instead of just text? I've tried a few different ways, but it doesn't appear to work.
-- Michael Beatty
Is it possible to put an <img src> tag in the XYMONLOGO variable to display an actual logo instead of just text? I've tried a few different ways, but it doesn't appear to work.
Michael:
I placed my logo file in the $XYMON/gifs directory, and then used "http://<my.xymon.server>/xymon/gifs/<filename>" in the img src" tag.
-- 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
Hi Michael,
There is what I do, I custom the logo for our company.
Upload file xymon.png to /usr/lib/xymon/server/www/gifs
Change security to : chown xymon:xymon xymon.png
You need to edit /usr/lib/xymon/server/web/*_header
nano /usr/lib/xymon/server/web/*_header
Where you see $XYMONLOGO change to this line.
<FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>&XYMONLOGO</B></FONT>
<img src="&XYMONSKIN/xymon.png" alt="Xymon logo" />
You need to change all file header.
David
-----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Mike Burger Sent: Wednesday, March 13, 2013 12:01 To: Michael Beatty Cc: xymon at xymon.com Subject: Re: [Xymon] Using an actual logo instead of text?
Is it possible to put an <img src> tag in the XYMONLOGO variable to
display an actual logo instead of just text? I've tried a few
different ways, but it doesn't appear to work.
Michael:
I placed my logo file in the $XYMON/gifs directory, and then used "http://<my.xymon.server>/xymon/gifs/<filename> <http://%3cmy.xymon.server%3e/xymon/gifs/%3cfilename%3e> " in the img src" tag.
--
Mike Burger
http://www.bubbanfriends.org <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
Xymon mailing list
Xymon at xymon.com <mailto:Xymon at xymon.com>
http://lists.xymon.com/mailman/listinfo/xymon <http://lists.xymon.com/mailman/listinfo/xymon>
David, that's complete overkill, and could very well be undone by the next update to the software.
After uploading the image, all you have to do is edit one file...xymonserver.cfg...and change the "XYMONLOGO" variable.
You don't even need to overwrite the original logo (if there is one) when you upload the new logo file, nor do you have to rename the file that you uploaded.
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
Hi Michael,
There is what I do, I custom the logo for our company.
Upload file xymon.png to /usr/lib/xymon/server/www/gifs
Change security to : chown xymon:xymon xymon.png
You need to edit /usr/lib/xymon/server/web/*_header
nano /usr/lib/xymon/server/web/*_header
Where you see $XYMONLOGO change to this line.
<FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>&XYMONLOGO</B></FONT>
<img src="&XYMONSKIN/xymon.png" alt="Xymon logo" />
You need to change all file header.
David
-----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Mike Burger Sent: Wednesday, March 13, 2013 12:01 To: Michael Beatty Cc: xymon at xymon.com Subject: Re: [Xymon] Using an actual logo instead of text?
Is it possible to put an <img src> tag in the XYMONLOGO variable to
display an actual logo instead of just text? I've tried a few
different ways, but it doesn't appear to work.
Michael:
I placed my logo file in the $XYMON/gifs directory, and then used "http://<my.xymon.server>/xymon/gifs/<filename> <http://%3cmy.xymon.server%3e/xymon/gifs/%3cfilename%3e> " in the img src" tag.
--
Mike Burger
http://www.bubbanfriends.org <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
Xymon mailing list
Xymon at xymon.com <mailto:Xymon at xymon.com>
http://lists.xymon.com/mailman/listinfo/xymon <http://lists.xymon.com/mailman/listinfo/xymon>
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Thank you for the reponse David, but that seems to be more work than I needed to do. A answer was provided by someone already that fixed my issue, just simply put the fully qualified URL to the image in XYMONLOGO variable the xymonserver.cfg file. When I had tried it, I failed to fully qualify the location of the image I used absolute paths, and the one time I did try to fully qualify it, I pathed it incorrectly.
The easy fix was to set the XYMONLOGO variable to "<img src=http://myhost.com/xymon/gifs/mylogo.png"> and it worked. It wasn't necessary to change any of the header pages.
Michael Beatty Sherwin-Williams IT Analyst/Developer michael.beatty at sherwin.com 216-515-7374
On 03/19/2013 07:53 AM, Raymond, David wrote:
Hi Michael,
There is what I do, I custom the logo for our company.
/Upload file xymon.png to /usr/lib/xymon/server/www/gifs/
/Change security to : chown xymon:xymon xymon.png/
//
/You need to edit /usr/lib/xymon/server/web/*_header/
/nano /usr/lib/xymon/server/web/*_header/
//
/Where you see $XYMONLOGO change to this line./
/<FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>&XYMONLOGO</B></FONT>/
//
/<img src="&XYMONSKIN/xymon.png" alt="Xymon logo" />/
//
/You need to change all file header/.
David
-----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Mike Burger Sent: Wednesday, March 13, 2013 12:01 To: Michael Beatty Cc: xymon at xymon.com Subject: Re: [Xymon] Using an actual logo instead of text?
Is it possible to put an <img src> tag in the XYMONLOGO variable to
display an actual logo instead of just text? I've tried a few
different ways, but it doesn't appear to work.
Michael:
I placed my logo file in the $XYMON/gifs directory, and then used "http://<my.xymon.server>/xymon/gifs/<filename> <http://%3cmy.xymon.server%3e/xymon/gifs/%3cfilename%3e>" in the img src" tag.
--
Mike Burger
"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
Xymon mailing list
Xymon at xymon.com <mailto:Xymon at xymon.com>
participants (3)
-
David.Raymond@ca.ebarrette.com
-
mburger@bubbanfriends.org
-
Michael.Beatty@sherwin.com