Xymon Mailing List Archive search

nongreen.html

list Raymond Lee
Thu, 5 May 2011 16:15:25 -0500
Message-Id: <user-5fe43528bc2e@xymon.invalid>

-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On
Behalf Of Asif Iqbal
Sent: Tuesday, May 03, 2011 10:36 AM
To: xymon at xymon.com
Subject: Re: [Xymon] nongreen.html

On Tue, Apr 26, 2011 at 2:54 PM, Asif Iqbal <user-6f4b51ac2a40@xymon.invalid> wrote:
The nongreen.html file shows the host type and description from info
column gets appended into the hostname. It was not like that with
bb2.html

This is an upgrade from hobbit 4.2.0 to xymon 4.3.2

So among other stuff I have the Host type and Description shows in
info column as always

https://xymon.example.net/hobbit-
cgi/svcstatus.sh?HOST=storage.example.net&SERVICE=info

Host type:      Array
Description:    Loc 38B, S/N 12345678

However this info now gets appended into the host name in
nongreen.html page like below and makes the page real wide with
even longer description

https://xymon.example.net/hobbit/nongreen.html

storage.example.net (Array:Loc 38B, S/N 12345678)   list of services
column

I must have managed to break a template?
I removed the server/web/* and just uploaded
/usr/src/xymon-4.3.2/xymond/webfiles/*  using tar.
still need help with this
[Lee, Raymond]

Line 505 of Xymon 4.3.2 {src}/lib/htmllog.c shows the following:

        cmt = xmh_item(host, XMH_COMMENT); if (!cmt) cmt = xmh_item(host, XMH_DESCRIPTION);


But in Hobbit 4.2.0, the line was just:

        cmt = bbh_item(host, BBH_COMMENT);


So if the hosts in hosts.cfg have a DESCR: tag but not a COMMENT: tag, Xymon uses the DESCR: tag as the comment.  Was there a reason to add this feature?  I don't like this behavior either, as it makes nongreen.html a little hard to read when you have long DESCR: tags.  It would be nice to have an option for xymongen to turn off this behavior.


Thanks,
Ray
Thanks

--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful.  If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.