Turn Hostnames into hyperlinks?
list Chris Williamson
Please forgive me if I'm not reaching out to the right place.... For each host I have listed on BBDisplay, I want to turn their name into a hyperlink that takes me to a weather page for that customer's location. I was able to insert an html hyperlink into the index.html for that customer- and it worked! Though the index.html refreshes every minute and ends up removing my tag. Can someone shine some light on this for me- or direct me to the right place to ask this question? Very very much appreciated. Chris Chris Williamson Infrastructure Support Specialist Fortitude Technology, Inc. Ph: (XXX) XXX-XXXX ext. XXX www.fortitudetechnology.com
list Magnus Carlebjörk
Hi Chris, I don't know if this is what you're after, but you could try this in the hobbitlaunch.cfg file. Add a docurl statement at the end of the CMD line under the bbdisplay section like this: CMD bbgen $BBGENOPTS --report --docurl="http://server/weather.cgi?host=%s"; This would create a link for each of the servers on the generated page, where the %s would be replaced with the server name. You will not need to restart anything, the next page generated should contain the links. The %s that returns the hostname of the computer/client is the only variable I know of, there does not seem to be an IP address equivalent. I guess you would want to create a script on the other server that parses the hostname and does something intelligent ... Regards, -- Magnus Carlebjork Stockholm, Sweden +46 76 116 9008
▸
On Fri, 8 Aug 2008, Chris Williamson wrote:
Please forgive me if I'm not reaching out to the right place.... For each host I have listed on BBDisplay, I want to turn their name into a hyperlink that takes me to a weather page for that customer's location. I was able to insert an html hyperlink into the index.html for that customer- and it worked! Though the index.html refreshes every minute and ends up removing my tag. Can someone shine some light on this for me- or direct me to the right place to ask this question? Very very much appreciated. Chris Chris Williamson Infrastructure Support Specialist Fortitude Technology, Inc. Ph: (XXX) XXX-XXXX ext. XXX www.fortitudetechnology.com
list Phil Meech
Hi Chris, On each host in the bb-hosts file you can add href links to the NAME: tag such as: 0.0.0.0 myhostname.dyndns.org #NAME:"<a href=http://myhostname.dyndns.org>My Host</a>" This replaces the html links on all the bb pages from taking you to the group/page that the host belongs to, to whatever you specified in the NAME field. I hope this is what you were after! Regards, Phil Meech On Fri, Aug 8, 2008 at 5:45 PM, Chris Williamson <
▸
user-c88f67870963@xymon.invalid> wrote:
Please forgive me if I'm not reaching out to the right place…. For each host I have listed on BBDisplay, I want to turn their name into a hyperlink that takes me to a weather page for that customer's location. I was able to insert an html hyperlink into the index.html for that customer- and it worked! Though the index.html refreshes every minute and ends up removing my tag. Can someone shine some light on this for me- or direct me to the right place to ask this question? Very very much appreciated. Chris Chris Williamson Infrastructure Support Specialist Fortitude Technology, Inc. Ph: (XXX) XXX-XXXX ext. XXX www.fortitudetechnology.com
list H. Klomp
You can also create small hostname.html files with hyperlinks in the www/notes directory. Here you can put information about the host and what ever you like. Regards, Bert Klomp
▸
From: Phil Meech [mailto:user-472323a743c7@xymon.invalid]
Sent: maandag 11 augustus 2008 8:39
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Turn Hostnames into hyperlinks?
Hi Chris,
On each host in the bb-hosts file you can add href links to the NAME: tag such as:0.0.0.0<http://0.0.0.0>; myhostname.dyndns.org<http://myhostname.dyndns.org>; #NAME:"<a href=http://myhostname.dyndns.org>My Host</a>"
▸
This replaces the html links on all the bb pages from taking you to the group/page that the host belongs to, to whatever you specified in the NAME field.
I hope this is what you were after!
Regards,
Phil Meech
On Fri, Aug 8, 2008 at 5:45 PM, Chris Williamson <user-c88f67870963@xymon.invalid<mailto:user-c88f67870963@xymon.invalid>> wrote:
Please forgive me if I'm not reaching out to the right place....
For each host I have listed on BBDisplay, I want to turn their name into a hyperlink that takes me to a weather page for that customer's location. I was able to insert an html hyperlink into the index.html for that customer- and it worked! Though the index.html refreshes every minute and ends up removing my tag. Can someone shine some light on this for me- or direct me to the right place to ask this question? Very very much appreciated.
Chris
Chris Williamson
Infrastructure Support Specialist
Fortitude Technology, Inc.
Ph: (XXX) XXX-XXXX ext. XXX
www.fortitudetechnology.com<http://www.fortitudetechnology.com/>; ******************************************************************************************************* The NLR disclaimer (http://www.nlr.nl/emaildisclaimer) is valid for NLR e-mail messages. *******************************************************************************************************
list Joshua Krause
I have used the NAME tag in the host file also but how do you go about getting it to open in a new page. Because when I do: 0.0.0.0 myhostname.dyndns.org #NAME:"<a href=http://myhostname.dyndns.org target=_blank>My Host</a>" My hostname disappears. I have also tried it like this: 0.0.0.0 myhostname.dyndns.org #NAME:"<a href="http://myhostname.dyndns.org"; target="_balnk">My Host</a>" And it does the same thing. Thanks, -Josh
▸
From: Klomp, H. [mailto:user-b644cde19b47@xymon.invalid] Sent: Monday, August 11, 2008 3:05 AM To: 'user-ae9b8668bcde@xymon.invalid' Subject: RE: [hobbit] Turn Hostnames into hyperlinks? You can also create small hostname.html files with hyperlinks in the www/notes directory. Here you can put information about the host and what ever you like. Regards, Bert Klomp From: Phil Meech [mailto:user-472323a743c7@xymon.invalid] Sent: maandag 11 augustus 2008 8:39 To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Turn Hostnames into hyperlinks? Hi Chris, On each host in the bb-hosts file you can add href links to the NAME: tag such as: 0.0.0.0 myhostname.dyndns.org #NAME:"<a href=http://myhostname.dyndns.org>My Host</a>" This replaces the html links on all the bb pages from taking you to the group/page that the host belongs to, to whatever you specified in the NAME field. I hope this is what you were after! Regards, Phil Meech On Fri, Aug 8, 2008 at 5:45 PM, Chris Williamson <user-c88f67870963@xymon.invalid> wrote: Please forgive me if I'm not reaching out to the right place.. For each host I have listed on BBDisplay, I want to turn their name into a hyperlink that takes me to a weather page for that customer's location. I was able to insert an html hyperlink into the index.html for that customer- and it worked! Though the index.html refreshes every minute and ends up removing my tag. Can someone shine some light on this for me- or direct me to the right place to ask this question? Very very much appreciated. Chris Chris Williamson Infrastructure Support Specialist Fortitude Technology, Inc. Ph: (XXX) XXX-XXXX ext. XXX
www.fortitudetechnology.com <http://www.fortitudetechnology.com/>; The NLR disclaimer <http://www.nlr.nl/emaildisclaimer>; is valid for NLR e-mail messages.
list Joshua Krause
The other thing I noticed is that it changes the hostname in the graphs: I would like it to display just the hostname. gsonc-arc-valere-1 And by the way I got the link to open in a new window thanks, Josh
▸
From: Joshua Krause [mailto:user-41d3365fe380@xymon.invalid] Sent: Tuesday, August 12, 2008 1:00 PM To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] Turn Hostnames into hyperlinks? I have used the NAME tag in the host file also but how do you go about getting it to open in a new page. Because when I do: 0.0.0.0 myhostname.dyndns.org #NAME:"<a href=http://myhostname.dyndns.org target=_blank>My Host</a>" My hostname disappears. I have also tried it like this: 0.0.0.0 myhostname.dyndns.org #NAME:"<a href="http://myhostname.dyndns.org"; target="_balnk">My Host</a>" And it does the same thing. Thanks, -Josh From: Klomp, H. [mailto:user-b644cde19b47@xymon.invalid] Sent: Monday, August 11, 2008 3:05 AM To: 'user-ae9b8668bcde@xymon.invalid' Subject: RE: [hobbit] Turn Hostnames into hyperlinks? You can also create small hostname.html files with hyperlinks in the www/notes directory. Here you can put information about the host and what ever you like. Regards, Bert Klomp From: Phil Meech [mailto:user-472323a743c7@xymon.invalid] Sent: maandag 11 augustus 2008 8:39 To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Turn Hostnames into hyperlinks? Hi Chris, On each host in the bb-hosts file you can add href links to the NAME: tag such as: 0.0.0.0 myhostname.dyndns.org #NAME:"<a href=http://myhostname.dyndns.org>My Host</a>" This replaces the html links on all the bb pages from taking you to the group/page that the host belongs to, to whatever you specified in the NAME field. I hope this is what you were after! Regards, Phil Meech On Fri, Aug 8, 2008 at 5:45 PM, Chris Williamson <user-c88f67870963@xymon.invalid> wrote: Please forgive me if I'm not reaching out to the right place.. For each host I have listed on BBDisplay, I want to turn their name into a hyperlink that takes me to a weather page for that customer's location. I was able to insert an html hyperlink into the index.html for that customer- and it worked! Though the index.html refreshes every minute and ends up removing my tag. Can someone shine some light on this for me- or direct me to the right place to ask this question? Very very much appreciated. Chris Chris Williamson Infrastructure Support Specialist Fortitude Technology, Inc. Ph: (XXX) XXX-XXXX ext. XXX www.fortitudetechnology.com <http://www.fortitudetechnology.com/>; The NLR disclaimer <http://www.nlr.nl/emaildisclaimer>; is valid for NLR e-mail messages.
list Rafal Roginela
Hi Joshua, How did you get the new window to pop? Thank You, Rafal Roginela Office (XXX) XXX-XXXX x109 Fax (XXX) XXX-XXXX This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
▸
From: Joshua Krause [mailto:user-41d3365fe380@xymon.invalid]
Sent: Tuesday, August 12, 2008 12:11 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Turn Hostnames into hyperlinks?
The other thing I noticed is that it changes the hostname in the graphs:
I would like it to display just the hostname.
gsonc-arc-valere-1
And by the way I got the link to open in a new window
thanks,
Josh
From: Joshua Krause [mailto:user-41d3365fe380@xymon.invalid]
Sent: Tuesday, August 12, 2008 1:00 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Turn Hostnames into hyperlinks?
I have used the NAME tag in the host file also but how do you go about
getting it to open in a new page. Because when I do:
0.0.0.0 myhostname.dyndns.org #NAME:"<a href= http://myhostname.dyndns.org target=_blank>My Host</a>" My hostname disappears. I have also tried it like this: 0.0.0.0 myhostname.dyndns.org #NAME:"<a href=" http://myhostname.dyndns.org"; target="_balnk">My Host</a>"
▸
And it does the same thing.
Thanks,
-Josh
From: Klomp, H. [mailto:user-b644cde19b47@xymon.invalid]
Sent: Monday, August 11, 2008 3:05 AM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Turn Hostnames into hyperlinks?
You can also create small hostname.html files with hyperlinks in the
www/notes directory.
Here you can put information about the host and what ever you like.
Regards,
Bert Klomp
From: Phil Meech [mailto:user-472323a743c7@xymon.invalid]
Sent: maandag 11 augustus 2008 8:39
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Turn Hostnames into hyperlinks?
Hi Chris,
On each host in the bb-hosts file you can add href links to the
NAME: tag such as:
0.0.0.0 myhostname.dyndns.org #NAME:"<a href= http://myhostname.dyndns.org>My Host</a>"
▸
This replaces the html links on all the bb pages from taking you to the group/page that the host belongs to, to whatever you specified in the NAME field. I hope this is what you were after! Regards, Phil Meech On Fri, Aug 8, 2008 at 5:45 PM, Chris Williamson < user-c88f67870963@xymon.invalid> wrote: Please forgive me if I'm not reaching out to the right place.... For each host I have listed on BBDisplay, I want to turn their name into a hyperlink that takes me to a weather page for that customer's location. I was able to insert an html hyperlink into the index.html for that customer- and it worked! Though the index.html refreshes every minute and ends up removing my tag. Can someone shine some light on this for me- or direct me to the right place to ask this question? Very very much appreciated. Chris Chris Williamson Infrastructure Support Specialist Fortitude Technology, Inc. Ph: (XXX) XXX-XXXX ext. XXX www.fortitudetechnology.com <http://www.fortitudetechnology.com/>; The NLR disclaimer <http://www.nlr.nl/emaildisclaimer>; is valid for NLR e-mail messages.
Attachments (1)
list Phil Meech
Hi Josh, Try changing the line to target=_"blank" Works fine in my browser
▸
On Tue, Aug 12, 2008 at 5:59 PM, Joshua Krause <user-41d3365fe380@xymon.invalid>wrote:
I have used the NAME tag in the host file also but how do you go about getting it to open in a new page. Because when I do:
0.0.0.0 myhostname.dyndns.org #NAME:"<a href=http://myhostname.dyndns.orgtarget=_blank>My Host</a>"
▸
My hostname disappears. I have also tried it like this: 0.0.0.0 myhostname.dyndns.org #NAME:"<a href=" http://myhostname.dyndns.org"; target="_balnk">My Host</a>" And it does the same thing. Thanks, -Josh *From:* Klomp, H. [mailto:user-b644cde19b47@xymon.invalid] *Sent:* Monday, August 11, 2008 3:05 AM *To:* 'user-ae9b8668bcde@xymon.invalid' *Subject:* RE: [hobbit] Turn Hostnames into hyperlinks? You can also create small hostname.html files with hyperlinks in the www/notes directory. Here you can put information about the host and what ever you like. Regards, Bert Klomp *From:* Phil Meech [mailto:user-472323a743c7@xymon.invalid] *Sent:* maandag 11 augustus 2008 8:39 *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: [hobbit] Turn Hostnames into hyperlinks? Hi Chris, On each host in the bb-hosts file you can add href links to the NAME: tag such as: 0.0.0.0 myhostname.dyndns.org #NAME:"<a href=http://myhostname.dyndns.org>My Host</a>" This replaces the html links on all the bb pages from taking you to the group/page that the host belongs to, to whatever you specified in the NAME field. I hope this is what you were after! Regards, Phil Meech On Fri, Aug 8, 2008 at 5:45 PM, Chris Williamson < user-c88f67870963@xymon.invalid> wrote: Please forgive me if I'm not reaching out to the right place…. For each host I have listed on BBDisplay, I want to turn their name into a hyperlink that takes me to a weather page for that customer's location. I was able to insert an html hyperlink into the index.html for that customer- and it worked! Though the index.html refreshes every minute and ends up removing my tag. Can someone shine some light on this for me- or direct me to the right place to ask this question? Very very much appreciated. Chris Chris Williamson Infrastructure Support Specialist Fortitude Technology, Inc. Ph: (XXX) XXX-XXXX ext. XXX www.fortitudetechnology.com *The NLR disclaimer <http://www.nlr.nl/emaildisclaimer>; is valid for NLR e-mail messages.*
list Phil Meech
Ooops, sorry lent on the wrong keys there! target="_blank" would of course been correct in my typing there! Phil
▸
On Tue, Aug 12, 2008 at 8:01 PM, Phil Meech <user-472323a743c7@xymon.invalid> wrote:
Hi Josh, Try changing the line to target=_"blank" Works fine in my browser On Tue, Aug 12, 2008 at 5:59 PM, Joshua Krause <user-41d3365fe380@xymon.invalid>wrote:I have used the NAME tag in the host file also but how do you go about getting it to open in a new page. Because when I do: 0.0.0.0 myhostname.dyndns.org #NAME:"<a href= http://myhostname.dyndns.org target=_blank>My Host</a>" My hostname disappears. I have also tried it like this: 0.0.0.0 myhostname.dyndns.org #NAME:"<a href=" http://myhostname.dyndns.org"; target="_balnk">My Host</a>" And it does the same thing. Thanks, -Josh *From:* Klomp, H. [mailto:user-b644cde19b47@xymon.invalid] *Sent:* Monday, August 11, 2008 3:05 AM *To:* 'user-ae9b8668bcde@xymon.invalid' *Subject:* RE: [hobbit] Turn Hostnames into hyperlinks? You can also create small hostname.html files with hyperlinks in the www/notes directory. Here you can put information about the host and what ever you like. Regards, Bert Klomp *From:* Phil Meech [mailto:user-472323a743c7@xymon.invalid] *Sent:* maandag 11 augustus 2008 8:39 *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: [hobbit] Turn Hostnames into hyperlinks? Hi Chris, On each host in the bb-hosts file you can add href links to the NAME: tag such as: 0.0.0.0 myhostname.dyndns.org #NAME:"<a href= http://myhostname.dyndns.org>My Host</a>" This replaces the html links on all the bb pages from taking you to the group/page that the host belongs to, to whatever you specified in the NAME field. I hope this is what you were after! Regards, Phil Meech On Fri, Aug 8, 2008 at 5:45 PM, Chris Williamson < user-c88f67870963@xymon.invalid> wrote: Please forgive me if I'm not reaching out to the right place…. For each host I have listed on BBDisplay, I want to turn their name into a hyperlink that takes me to a weather page for that customer's location. I was able to insert an html hyperlink into the index.html for that customer- and it worked! Though the index.html refreshes every minute and ends up removing my tag. Can someone shine some light on this for me- or direct me to the right place to ask this question? Very very much appreciated. Chris Chris Williamson Infrastructure Support Specialist Fortitude Technology, Inc. Ph: (XXX) XXX-XXXX ext. XXX www.fortitudetechnology.com *The NLR disclaimer <http://www.nlr.nl/emaildisclaimer>; is valid for NLR e-mail messages.*
list Joshua Krause
NAME:"<a href=http://myhostname.dyndns.org target=_blank>My Host</a>"
▸
From: Rafal Roginela [mailto:user-744e62462615@xymon.invalid] Sent: Tuesday, August 12, 2008 1:16 PM To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] Turn Hostnames into hyperlinks? Hi Joshua, How did you get the new window to pop? Thank You, Rafal Roginela Office (XXX) XXX-XXXX x109 Fax (XXX) XXX-XXXX This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From: Joshua Krause [mailto:user-41d3365fe380@xymon.invalid] Sent: Tuesday, August 12, 2008 12:11 PM To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] Turn Hostnames into hyperlinks? The other thing I noticed is that it changes the hostname in the graphs: I would like it to display just the hostname. gsonc-arc-valere-1 And by the way I got the link to open in a new window thanks, Josh From: Joshua Krause [mailto:user-41d3365fe380@xymon.invalid] Sent: Tuesday, August 12, 2008 1:00 PM To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] Turn Hostnames into hyperlinks? I have used the NAME tag in the host file also but how do you go about getting it to open in a new page. Because when I do: 0.0.0.0 myhostname.dyndns.org #NAME:"<a href=http://myhostname.dyndns.org target=_blank>My Host</a>" My hostname disappears. I have also tried it like this: 0.0.0.0 myhostname.dyndns.org #NAME:"<a href="http://myhostname.dyndns.org"; target="_balnk">My Host</a>" And it does the same thing. Thanks, -Josh From: Klomp, H. [mailto:user-b644cde19b47@xymon.invalid] Sent: Monday, August 11, 2008 3:05 AM To: 'user-ae9b8668bcde@xymon.invalid' Subject: RE: [hobbit] Turn Hostnames into hyperlinks? You can also create small hostname.html files with hyperlinks in the www/notes directory. Here you can put information about the host and what ever you like. Regards, Bert Klomp From: Phil Meech [mailto:user-472323a743c7@xymon.invalid] Sent: maandag 11 augustus 2008 8:39 To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Turn Hostnames into hyperlinks? Hi Chris, On each host in the bb-hosts file you can add href links to the NAME: tag such as: 0.0.0.0 myhostname.dyndns.org #NAME:"<a href=http://myhostname.dyndns.org>My Host</a>" This replaces the html links on all the bb pages from taking you to the group/page that the host belongs to, to whatever you specified in the NAME field. I hope this is what you were after! Regards, Phil Meech On Fri, Aug 8, 2008 at 5:45 PM, Chris Williamson <user-c88f67870963@xymon.invalid> wrote: Please forgive me if I'm not reaching out to the right place.. For each host I have listed on BBDisplay, I want to turn their name into a hyperlink that takes me to a weather page for that customer's location. I was able to insert an html hyperlink into the index.html for that customer- and it worked! Though the index.html refreshes every minute and ends up removing my tag. Can someone shine some light on this for me- or direct me to the right place to ask this question? Very very much appreciated. Chris Chris Williamson Infrastructure Support Specialist Fortitude Technology, Inc. Ph: (XXX) XXX-XXXX ext. XXX www.fortitudetechnology.com <http://www.fortitudetechnology.com/>; The NLR disclaimer <http://www.nlr.nl/emaildisclaimer>; is valid for NLR e-mail messages.
attachment.jpg