Xymon Mailing List Archive search

bb-hosts NAME Option question

3 messages in this thread

list Al Jeffcoat · Mon, 28 Feb 2005 16:09:17 -0500 ·
Hello,

 
Ok, I have a question on NAME:hostname bb-host option...

 
In the man page, it says that NAME "overrides the default hostname used
on the OVERVIEW web pages".

 
Here is what I have set up.

 
###.###.###.###            srv645a # NAME:"SIS Node A (Mercy Drive)"

 
Now, this works beautifully on the display page, and renames srv645a to
SIS Node A (Mercy Drive).  However, when I try to click on any of the
service icons (conn/info, etc), it gives me an invalid status page.
I've noticed that at the end of the url for each service icon, instead
of now DISPLAYNAME=srv645a, it's putting "
DISPLAYNAME=SIS%20Node%20A%20(Mercy%20Drive)".  If I type in by hand
srv645 at the end of the DISPLAYNAME, it works, and retrieves the
current status of that server.

 
Is that how it is supposed to work?  I had assumed (maybe incorrectly)
that this would be a change only on the web display, but not on the
front pages.

 
The thing is that no one, outside of our windows administrators, will
know what srv645a is, so we wanted to make it something a little more
descriptive.  We also tried COMMENT:hostname, but, the NAME looked a lot
better.  Is there another tag to use to replace the name, only on the
display page, but leave everything else as the real name?

 
Thanks

 
Al Jeffcoat
IBM Certified Support Specialist, AIX
Enterprise Storage Administrator
System Programmer II
(321)843-1051
user-b34a8ad6e24c@xymon.invalid

 
This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message.  To reply to our email administrator directly, send an email to:  user-ecde3bbc361d@xymon.invalid .  If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.
list Henrik Størner · Mon, 28 Feb 2005 22:26:18 +0100 ·
quoted from Al Jeffcoat
On Mon, Feb 28, 2005 at 04:09:17PM -0500, Jeffcoat, Al wrote:
Ok, I have a question on NAME:hostname bb-host option...
[snip]
###.###.###.###   srv645a # NAME:"SIS Node A (Mercy Drive)"

Now, this works beautifully on the display page, and renames srv645a to
SIS Node A (Mercy Drive).  However, when I try to click on any of the
service icons (conn/info, etc), it gives me an invalid status page.
Well, that *is* a bug - it's the parenthesis that do it. In the old
days when BB was using CGI's coded as shell scripts, special
characters that could cause security problems were banned from the
URL's sent to CGI-programs, and the bbgen/Hobbit CGI's did the same.

I think it's safe to drop that restriction now. None of the Hobbit
CGI's ever deal with the query-parameters in the shell wrappers.


Henrik
list Al Jeffcoat · Mon, 28 Feb 2005 16:30:21 -0500 ·
Youda MAN!

Removed the (), and it worked like a champ.

Thanks again,
signature

Al Jeffcoat
IBM Certified Support Specialist, AIX
Enterprise Storage Administrator
System Programmer II
(321)843-1051
user-b34a8ad6e24c@xymon.invalid


-----Original Message-----

quoted from Al Jeffcoat
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Monday, February 28, 2005 4:26 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] bb-hosts NAME Option question

On Mon, Feb 28, 2005 at 04:09:17PM -0500, Jeffcoat, Al wrote:
Ok, I have a question on NAME:hostname bb-host option...
[snip]
###.###.###.###   srv645a # NAME:"SIS Node A (Mercy Drive)"

Now, this works beautifully on the display page, and renames srv645a
to
SIS Node A (Mercy Drive).  However, when I try to click on any of the
service icons (conn/info, etc), it gives me an invalid status page.
Well, that *is* a bug - it's the parenthesis that do it. In the old
days when BB was using CGI's coded as shell scripts, special
characters that could cause security problems were banned from the
URL's sent to CGI-programs, and the bbgen/Hobbit CGI's did the same.

I think it's safe to drop that restriction now. None of the Hobbit
CGI's ever deal with the query-parameters in the shell wrappers.


Henrik


This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message.  To reply to our email administrator directly, send an email to:  user-ecde3bbc361d@xymon.invalid .  If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.