4.3.3 nongreen host.cfg DESCR tag issue
list Scott Pfister
I've been testing the 4.3.3 version and stepped through an upgrade from version 4.2.3. I have noticed a problem with the nongreen page displaying both the name and the DESCR tag from the hosts.cfg. In the old version only the host name was displayed (no descr tag). The descr tag is only showing up on the nongreen page. It doesn't show up on any other pages. Any thoughts on how to make the nongreen page not show the DESCR tag from the hosts.cfg? Thanks,
list Raymond Lee
Hi Scott, This new behavior also plagued us when we upgraded from Hobbit 4.2.0 to Xymon 4.3.2. I believe it affects more than just the nongreen.html page. I think it also affects the Critical Systems and Reports pages. Please see this thread for an explanation of the problem and the workaround: http://lists.xymon.com/pipermail/xymon/2011-May/031555.html I'd still like to see an option for xymongen to turn off this behavior or just revert back to the old behavior in a future release (hint hint ;)). -Ray
▸
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Scott Pfister
Sent: Monday, May 23, 2011 11:45 PM
To: xymon at xymon.com
Subject: [Xymon] 4.3.3 nongreen host.cfg DESCR tag issue
I've been testing the 4.3.3 version and stepped through an upgrade from version 4.2.3. I have noticed a problem with the nongreen page displaying both the name and the DESCR tag from the hosts.cfg. In the old version only the host name was displayed (no descr tag). The descr tag is only showing up on the nongreen page. It doesn't show up on any other pages. Any thoughts on how to make the nongreen page not show the DESCR tag from the hosts.cfg?
Thanks,
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.
list Scott Pfister
Hi Ray, Thanks for the pointer. I was searching last night, but must have been to tired to see this thread. I agree. I would like to see an option for xymongen to either turn off this behavior or revert back as well. It makes the page ugly and hard to use. Scott
▸
On Tue, May 24, 2011 at 9:15 AM, Lee, Raymond <user-d4a5ab5607a1@xymon.invalid> wrote:
Hi Scott, This new behavior also plagued us when we upgraded from Hobbit 4.2.0 to Xymon 4.3.2. I believe it affects more than just the nongreen.html page. I think it also affects the Critical Systems and Reports pages. Please see this thread for an explanation of the problem and the workaround: http://lists.xymon.com/pipermail/xymon/2011-May/031555.html I’d still like to see an option for xymongen to turn off this behavior or just revert back to the old behavior in a future release (hint hint ;)). -Ray *From:* xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] *On Behalf Of *Scott Pfister *Sent:* Monday, May 23, 2011 11:45 PM *To:* xymon at xymon.com *Subject:* [Xymon] 4.3.3 nongreen host.cfg DESCR tag issue I've been testing the 4.3.3 version and stepped through an upgrade from version 4.2.3. I have noticed a problem with the nongreen page displaying both the name and the DESCR tag from the hosts.cfg. In the old version only the host name was displayed (no descr tag). The descr tag is only showing up on the nongreen page. It doesn't show up on any other pages. Any thoughts on how to make the nongreen page not show the DESCR tag from the hosts.cfg? Thanks, 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.
list Henrik Størner
On Tue, 24 May 2011 08:15:13 -0500, "Lee, Raymond" <user-d4a5ab5607a1@xymon.invalid>
▸
wrote:I'd still like to see an option for xymongen to turn off this behavior or just revert back to the old behavior in a future release (hint hint ;)).
Could you try out this patch ? It should apply to all 4.3.x versions. Apply with cd xymon-4.3.3 patch -p0 < /tmp/commentdisplay.diff then run "make; make install" After installing the new binaries, you can turn off the unwanted behaviour by adding USEDESCRASCOMMENT="N" in xymonserver.cfg . Please let me know if this works OK. Regards, Henrik
list Scott Pfister
Henrik, Thanks for the quick repsonse. I applied the patch, verified the patch code was applied, remade and reinstalled. It doesn't appear to be working. The DESCR tag is still being picked up. I verified USEDESCRASCOMMENT="N" in xymonserver.cfg. In htmllog.c I changed the static int usedescrascomment = 1; to 0 and make; make install. The DECR tag does not show up as expected. I wonder if the xgetenv isn't working as expected. Scott
▸
On Wed, May 25, 2011 at 9:11 AM, <user-ce4a2c883f75@xymon.invalid> wrote:
On Tue, 24 May 2011 08:15:13 -0500, "Lee, Raymond" <user-d4a5ab5607a1@xymon.invalid> wrote:I'd still like to see an option for xymongen to turn off this behavior or just revert back to the old behavior in a future release (hint hint ;)).Could you try out this patch ? It should apply to all 4.3.x versions. Apply with cd xymon-4.3.3 patch -p0 < /tmp/commentdisplay.diff then run "make; make install" After installing the new binaries, you can turn off the unwanted behaviour by adding USEDESCRASCOMMENT="N" in xymonserver.cfg . Please let me know if this works OK. Regards, Henrik
list Raymond Lee
Same results here, Henrik. It looks like xgetenv isn't picking up the new USEDESCRASCOMMENT env variable from xymonserver.cfg. Thanks, Ray
▸
From: Scott Pfister [mailto:user-3f57de7c453d@xymon.invalid]
Sent: Wednesday, May 25, 2011 10:49 PM
To: user-ce4a2c883f75@xymon.invalid
Cc: Lee, Raymond; xymon at xymon.com
Subject: Re: [Xymon] 4.3.3 nongreen host.cfg DESCR tag issue
Henrik,
Thanks for the quick repsonse. I applied the patch, verified the patch code was applied, remade and reinstalled. It doesn't appear to be working. The DESCR tag is still being picked up.
I verified USEDESCRASCOMMENT="N" in xymonserver.cfg.
In htmllog.c I changed the static int usedescrascomment = 1; to 0 and make; make install. The DECR tag does not show up as expected.
I wonder if the xgetenv isn't working as expected.
Scott
On Wed, May 25, 2011 at 9:11 AM, <user-ce4a2c883f75@xymon.invalid<mailto:user-ce4a2c883f75@xymon.invalid>> wrote:
On Tue, 24 May 2011 08:15:13 -0500, "Lee, Raymond" <user-d4a5ab5607a1@xymon.invalid<mailto:user-d4a5ab5607a1@xymon.invalid>>
▸
wrote:I'd still like to see an option for xymongen to turn off this behavior or just revert back to the old behavior in a future release (hint hint ;)).
Could you try out this patch ? It should apply to all 4.3.x versions. Apply with cd xymon-4.3.3 patch -p0 < /tmp/commentdisplay.diff then run "make; make install" After installing the new binaries, you can turn off the unwanted behaviour by adding USEDESCRASCOMMENT="N" in xymonserver.cfg . Please let me know if this works OK. Regards, Henrik 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.