Xymon Mailing List Archive search

Trends page bug

3 messages in this thread

list Johan Sjöberg · Mon, 5 Sep 2011 11:09:20 +0000 ·
Hi.

I noticed a bug in the Trends page in 4.3.4 (possibly earlier as well).

If I press any of the buttons to change the time period for which to show graphs (or manually enter a custom period), the short name of the host is used (as specified with NAME: in hosts.cfg), giving me a "No such host" error. I can see in the address bar that the hostname is changed from FQDN to the short name, and it works if I manually enter the full name.

/Johan
list Dominique Frise · Mon, 05 Sep 2011 15:34:42 +0200 ·
The ~/xymon/server/web/trends_form passes the value of XYMWEBHOST to the 
svcstatus.cgi. This variable holds the value of NAME:hostname if 
specified in hosts.cfg (defaults to the hostname).
You can set XYMWEBHIKEY instead if you want to force the cgi to use the 
hostname.

Dominique
▸ quoted from Johan Sjöberg

On 09/ 5/11 01:09 PM, Johan Sjöberg wrote:
Hi.

I noticed a bug in the Trends page in 4.3.4 (possibly earlier as well).

If I press any of the buttons to change the time period for which to
show graphs (or manually enter a custom period), the short name of the
host is used (as specified with NAME: in hosts.cfg), giving me a “No
such host” error. I can see in the address bar that the hostname is
changed from FQDN to the short name, and it works if I manually enter
the full name.

/Johan

list Johan Sjöberg · Mon, 5 Sep 2011 13:50:00 +0000 ·
Thanks, now it works. But is there any reason to have XYMWEBHOST there? I guess it always causes a problem if the names are not identical?

/Johan
-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com]
On Behalf Of Dominique Frise
Sent: den 5 september 2011 15:35
To: xymon at xymon.com
Subject: Re: [Xymon] Trends page bug
▸ quoted from Dominique Frise

The ~/xymon/server/web/trends_form passes the value of XYMWEBHOST
to the svcstatus.cgi. This variable holds the value of NAME:hostname if
specified in hosts.cfg (defaults to the hostname).
You can set XYMWEBHIKEY instead if you want to force the cgi to use the
hostname.

Dominique

On 09/ 5/11 01:09 PM, Johan Sjöberg wrote:
Hi.

I noticed a bug in the Trends page in 4.3.4 (possibly earlier as well).

If I press any of the buttons to change the time period for which to
show graphs (or manually enter a custom period), the short name of the
host is used (as specified with NAME: in hosts.cfg), giving me a "No
such host" error. I can see in the address bar that the hostname is
changed from FQDN to the short name, and it works if I manually enter
the full name.

/Johan