From oakesbz@gmail.com Wed Jun 24 08:23:26 2026
From: oakesbz@gmail.com
To: xymon@xymon.com
Subject: [Xymon] Turning Hostname into Hyperlink Changes Graph Titles
Date: Thu, 16 Jul 2015 13:00:55 -0500
Message-ID: <423DE259-8AE0-4AD0-AD73-42922A952E7A@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1202918623986575525=="
--===============1202918623986575525==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Hi all,
=20
I=E2=80=99m using the below to turn my hostnames into hyperlinks to login to =
each server (which works great):
=20
10.10.10.10 Hostname # NAME:"Displa=
yed Hostname"
=20
Problem is, it now uses this ugly html string as the hostname in the title of=
my graphs. So it displays " Disk Utilization=
=E2=80=9D, etc. as the title=E2=80=A6 which is obviously not pretty. Any tho=
ughts on how to fix this?
=20
By the way, it also changes the displayed hostname in several other places wh=
ich I managed to fix by changing the variable &XYMWEBHOST to &XMH_HOSTNAME in=
several of the $xymon/server/web/*_header files=E2=80=A6
=20
Thank you!
--===============1202918623986575525==--
From jlaidman@rebel-it.com.au Wed Jun 24 08:23:26 2026
From: jlaidman@rebel-it.com.au
To: xymon@xymon.com
Subject: [Xymon] Turning Hostname into Hyperlink Changes Graph Titles
Date: Fri, 17 Jul 2015 15:22:06 +1000
Message-ID:
In-Reply-To: <423DE259-8AE0-4AD0-AD73-42922A952E7A@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============3156821101096819501=="
--===============3156821101096819501==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Dan
What I do is to leave the hostname alone, but create a "notes" file for
each hostname I want to access. These files go in XYMONNOTESDIR (defined
in xymonserver.cfg), as standard HTML files. For each of my servers I've
an ssh:// link to the server and http:// to the iLO, plus a few direct
links to useful things within Xymon.
To access notes, just click on the hostname. If the notes file exists, it
will be hotlinked.
Creating the notes files could be automated, but I don't have enough hosts
to make it worthwhile, so I've just done it manually. You can also specify
a HOSTDOCURL in xymonserver.cfg that includes a script to run, and have the
notes pages dynamically created based on the hostnames.
I've done a hybrid solution. I have a generic host type notes file for a
group of hosts, and I create symbolic links to each hostname that points to
the generic file. Within the notes file, I use some javascript-fu to
dynamically generate the details on-the-fly.
For anyone interested in giving it a try, I'll append the HTML file below.
J
Connecting to servername
On 17 July 2015 at 04:00, Dan Oakes wrote:
> Hi all,
>
> I=E2=80=99m using the below to turn my hostnames into hyperlinks to login t=
o each
> server (which works great):
>
> 10.10.10.10 Hostname # NAME:"Disp=
layed
> Hostname"
>
> Problem is, it now uses this ugly html string as the hostname in the title
> of my graphs. So it displays " Disk Utiliza=
tion=E2=80=9D,
> etc. as the title=E2=80=A6 which is obviously not pretty. Any thoughts on =
how to
> fix this?
>
> By the way, it also changes the displayed hostname in several other places
> which I managed to fix by changing the variable &XYMWEBHOST to
> &XMH_HOSTNAME in several of the $xymon/server/web/*_header files=E2=80=A6
>
> Thank you!
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
--===============3156821101096819501==--
From Galen.Johnson@sas.com Wed Jun 24 08:23:26 2026
From: Galen.Johnson@sas.com
To: xymon@xymon.com
Subject: [Xymon] Turning Hostname into Hyperlink Changes Graph Titles
Date: Fri, 17 Jul 2015 12:32:27 +0000
Message-ID: <1437136347032.90302@sas.com>
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============3252625793150586240=="
--===============3252625793150586240==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Works great Jeremy...just missing the tags. The ssh piece coul=
d bite you for short hostnames (which I should stop putting in my host config=
s).
=3DG=3D
________________________________
From: Xymon on behalf of Jeremy Laidman
Sent: Friday, July 17, 2015 1:22 AM
To: Dan Oakes
Cc: xymon at xymon.com
Subject: Re: [Xymon] Turning Hostname into Hyperlink Changes Graph Titles
Dan
What I do is to leave the hostname alone, but create a "notes" file for each =
hostname I want to access. These files go in XYMONNOTESDIR (defined in xymon=
server.cfg), as standard HTML files. For each of my servers I've an ssh:// l=
ink to the server and http:// to the iLO, plus a few direct links to useful t=
hings within Xymon.
To access notes, just click on the hostname. If the notes file exists, it wi=
ll be hotlinked.
Creating the notes files could be automated, but I don't have enough hosts to=
make it worthwhile, so I've just done it manually. You can also specify a H=
OSTDOCURL in xymonserver.cfg that includes a script to run, and have the note=
s pages dynamically created based on the hostnames.
I've done a hybrid solution. I have a generic host type notes file for a gro=
up of hosts, and I create symbolic links to each hostname that points to the =
generic file. Within the notes file, I use some javascript-fu to dynamically=
generate the details on-the-fly.
For anyone interested in giving it a try, I'll append the HTML file below.
J
Connecting to servername
On 17 July 2015 at 04:00, Dan Oakes > wrote:
Hi all,
I'm using the below to turn my hostnames into hyperlinks to login to each ser=
ver (which works great):
10.10.10.10 Hostname # NAME:">Displayed Hostname"
Problem is, it now uses this ugly html string as the hostname in the title of=
my graphs. So it displays " Disk Utilization", etc=
. as the title... which is obviously not pretty. Any thoughts on how to fix =
this?
By the way, it also changes the displayed hostname in several other places wh=
ich I managed to fix by changing the variable &XYMWEBHOST to &XMH_HOSTNAME in=
several of the $xymon/server/web/*_header files...
Thank you!
_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon
--===============3252625793150586240==--
From jlaidman@rebel-it.com.au Wed Jun 24 08:23:26 2026
From: jlaidman@rebel-it.com.au
To: xymon@xymon.com
Subject: [Xymon] Turning Hostname into Hyperlink Changes Graph Titles
Date: Sat, 18 Jul 2015 06:50:05 +1000
Message-ID:
In-Reply-To: <1437136347032.90302@sas.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============6894438012487784756=="
--===============6894438012487784756==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
On 17 Jul 2015 22:32, "Galen Johnson" wrote:
>
> Works great Jeremy...just missing the tags. The ssh piece
could bite you for short hostnames (which I should stop putting in my host
configs).
Ah, good point. Thanks for the feedback.
J
--===============6894438012487784756==--