[hobbit] Turn Hostnames into hyperlinks?
Magnus Carlebjörk
magnus at carlebjork.se
Sat Aug 9 18:59:09 CEST 2008
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: (858) 571-3614 ext. 107
>
> www.fortitudetechnology.com
>
>
>
>
More information about the Xymon
mailing list