Xymon Mailing List Archive search

Using an actual logo instead of text?

5 messages in this thread

list Michael Beatty · Wed, 13 Mar 2013 11:36:49 -0400 ·
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
list Mike Burger · Wed, 13 Mar 2013 12:01:00 -0400 (EDT) ·
quoted from 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
list David Raymond · Tue, 19 Mar 2013 07:53:13 -0400 ·
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?
quoted from Mike Burger

 
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
quoted from Mike Burger
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
list Mike Burger · Tue, 19 Mar 2013 08:04:58 -0400 (EDT) ·
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.
quoted from David Raymond
-- 
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


<

list Michael Beatty · Tue, 19 Mar 2013 08:14:05 -0400 ·
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
user-4aea7c115850@xymon.invalid
XXX-XXX-XXXX
quoted from Mike Burger

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

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