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
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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
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
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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
participants (2)
-
dominique.frise@unil.ch
-
Johan.Sjoberg@deltamanagement.se