Xymon Mailing List Archive search

Include an image within custom xymon message

4 messages in this thread

list Thepuppy4 · Thu, 29 Apr 2021 17:21:42 +0000 (UTC) ·
Hello,
I am trying to figure out how I would include an image within the status message of my custom test? I noticed that the default "conn" test uses the xymon color gif within its status which makes me think it is possible.

I tried to add an image by including the text??<IMG SRC='usr/src/xymon-4.3.30/xymond/wwfiles/gifs/green-recent.gif' ALT='green image'>
but that did not work, it only shows the alt text and not the image itself.
list Tom Schmidt · Thu, 29 Apr 2021 14:07:10 -0600 ·
The SRC path needs to be relative to your web server document root for the
Xymon page, typically /xymon/gifs/green-recent.gif

Tom

On Thu, Apr 29, 2021 at 1:44 PM thepuppy4--- via Xymon <xymon at xymon.com>
wrote:
---------- Forwarded message ----------
From: "user-cc369134d690@xymon.invalid" <user-cc369134d690@xymon.invalid>
To: "xymon at xymon.com" <xymon at xymon.com>
Cc:
Bcc:
Date: Thu, 29 Apr 2021 17:21:42 +0000 (UTC)
Subject: Include an image within custom xymon message
quoted from Thepuppy4
Hello,

I am trying to figure out how I would include an image within the status
message of my custom test? I noticed that the default "conn" test uses the
xymon color gif within its status which makes me think it is possible.


I tried to add an image by including the text
 <IMG SRC='usr/src/xymon-4.3.30/xymond/wwfiles/gifs/green-recent.gif'
quoted from Thepuppy4
ALT='green image'>

but that did not work, it only shows the alt text and not the image itself.


---------- Forwarded message ----------
From: thepuppy4--- via Xymon <xymon at xymon.com>
To: "xymon at xymon.com" <xymon at xymon.com>
Cc:
Bcc:
Date: Thu, 29 Apr 2021 17:21:42 +0000 (UTC)
Subject: [Xymon] Include an image within custom xymon message

list Adam Goryachev · Fri, 30 Apr 2021 14:40:03 +1000 ·
You can simply put &green (or any of the colours) into your status message, and it will automatically be replaced with the image required.

If you wish to embed other images, then that will be a completely different process.

Regards,
Adam

On 30/4/21 03:21, thepuppy4--- via Xymon wrote:
list Thepuppy4 · Fri, 30 Apr 2021 12:27:32 +0000 (UTC) ·
 That did it, thank you.
quoted from Tom Schmidt
    On Thursday, April 29, 2021, 04:07:48 PM EDT, Tom Schmidt <user-d34f6118b459@xymon.invalid> wrote:  
 
 The SRC path needs to be relative to your web server document root for the Xymon page, typically /xymon/gifs/green-recent.gif
Tom
On Thu, Apr 29, 2021 at 1:44 PM thepuppy4--- via Xymon <xymon at xymon.com> wrote:


---------- Forwarded message ----------

From:?"user-cc369134d690@xymon.invalid" <user-cc369134d690@xymon.invalid>
To:?"xymon at xymon.com" <xymon at xymon.com>
Cc:?
Bcc:?
Date:?Thu, 29 Apr 2021 17:21:42 +0000 (UTC)
Subject:?Include an image within custom xymon message
quoted from Tom Schmidt
Hello,
I am trying to figure out how I would include an image within the status message of my custom test? I noticed that the default "conn" test uses the xymon color gif within its status which makes me think it is possible.

I tried to add an image by including the text??<IMG SRC='usr/src/xymon-4.3.30/xymond/wwfiles/gifs/green-recent.gif' ALT='green image'>
but that did not work, it only shows the alt text and not the image itself.


---------- Forwarded message ----------

From:?thepuppy4--- via Xymon <xymon at xymon.com>
To:?"xymon at xymon.com" <xymon at xymon.com>
Cc:?
Bcc:?
Date:?Thu, 29 Apr 2021 17:21:42 +0000 (UTC)
Subject:?[Xymon] Include an image within custom xymon message