No problem, I will post it shortly.  It's very small (one or two lines).  I just have some IT hurdles to jump.<br><br>Essentially here's how it works:<br><br>Lets say you set your --docurl to something like this:<br>
<br>--docurl=<a href="http://mysite.com/xymon-cgi/docurl.cgi?%s">http://mysite.com/xymon-cgi/docurl.cgi?%s</a><br><br><br>Now, all 'docurl.cgi' will need to contain in order to do a proper redirection is the following:<br>
<br>----<br>#!/usr/bin/perl -w<br>use strict;<br><br>print "Location: <a href="http://someothersite.com/page.html#">http://someothersite.com/page.html#</a>". $ARGV[0] . "\n\n";<br>exit;<br>----<br><br>
And thats it.  $ARGV[0] is really just an array element (@ARGV being the array) which automatically includes any arguments passed to the script.  In our case, the argument is "%s" from --docurl, which 'docurl.cgi' receives as "<a href="http://hostname.domain.com">hostname.domain.com</a>".<br>
<br>The 'print' statement just prints an HTTP header which forces the browser to re-direct to a new location, specifically, the URL "<a href="http://someothersite.com/page.html#hostname.domain.com">http://someothersite.com/page.html#hostname.domain.com</a>".  You just have to make sure that your 'page.html' contains an HTML anchor ("<a name...") such as this:<br>
<br>....<br><a name="<a href="http://hostname.domain.com">hostname.domain.com</a>"><br>This is the start of the '<a href="http://hostname.domain.com">hostname.domain.com</a>' section.<br>....<br><br>
It's pretty straight forward, and you don't really even need to use perl CGI modules or anything because the script is so small and only serves one purpose.<br><br>Try it out, and let me know if it works for you.   I'll post the actual script here shortly, but if I typed out the above correctly, then it would contain exactly the same thing that my script contains.<br>
<br>Enjoy!<br><br><br><br><div class="gmail_quote">On Wed, Jul 22, 2009 at 1:00 PM, Harold J. Ballinger <span dir="ltr"><<a href="mailto:hballinger@heritage-healthcare.com">hballinger@heritage-healthcare.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Yes, if you could share this perl script, I am thinking about
following in your footsteps.</span></p><div class="im">

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<div>

<p><i><span style="font-size: 14pt; font-family: "Book Antiqua","serif"; color: rgb(33, 88, 104);"> </span></i></p>

</div>

<table style="border-collapse: collapse;" border="0" cellpadding="0" cellspacing="0">
 <tbody><tr>
  <td style="padding: 0in 5.4pt; width: 5.5in;" valign="top" width="528">
  <table style="background: rgb(0, 161, 218) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; border-collapse: collapse;" align="left" border="0" cellpadding="0" cellspacing="0">

   <tbody><tr style="height: 6.25pt;">
    <td style="padding: 0in 5.75pt; width: 395.6pt; height: 6.25pt;" valign="top" width="527">
    <p><span style="font-size: 4pt; color: rgb(33, 88, 104);">-</span><span style="font-size: 4pt; color: rgb(33, 88, 104);"></span></p>
    </td>
   </tr>
  </tbody></table>
  <p><span style="color: rgb(33, 88, 104);"> </span><span style="font-size: 8pt; color: rgb(33, 88, 104);"></span></p>
  <table style="border-collapse: collapse;" border="0" cellpadding="0" cellspacing="0">
   <tbody><tr>
    <td style="padding: 0in 5.4pt; width: 221.4pt;" valign="top" width="295">
    <p><b><span style="font-size: 11pt; color: rgb(33, 88, 104);">Harold
    Ballinger</span></b><span style="font-size: 11pt; color: rgb(33, 88, 104);"></span></p>
    <p><i><span style="font-size: 10pt; color: rgb(33, 88, 104);">IT
    Coordinator</span></i></p>
    <p><span style="font-size: 11pt; color: rgb(33, 88, 104);">Heritage
    Healthcare, Inc.</span><span style="font-size: 9pt; color: rgb(33, 88, 104);"> </span></p>
    <p><span style="font-size: 9pt; color: rgb(33, 88, 104);"> (888)
    335-2620  | helpdesk</span></p>
    <p><span style="font-size: 9pt; color: rgb(33, 88, 104);"> (864)
    224-3626  | office</span></p>
    <p><span style="font-size: 9pt; color: rgb(33, 88, 104);"> (864)
    224-3093  | fax</span><span style="color: rgb(33, 88, 104);"></span></p>
    </td>
    <td style="padding: 0in 5.4pt; width: 174.6pt;" valign="top" width="233">
    <p style="text-align: right;" align="right"><span style="color: rgb(33, 88, 104);"><img src="cid:image001.jpg@01CA0ACC.9C19E7B0" alt="cid:image003.jpg@01CA0167.D630C4A0" height="97" width="150"></span><span style="color: rgb(33, 88, 104);"></span></p>

    </td>
   </tr>
   <tr>
    <td colspan="2" style="padding: 0in 5.4pt; width: 5.5in;" valign="top" width="528">
    <p><span style="color: rgb(33, 88, 104);">Visit our website: <a href="http://www.heritage-healthcare.com/" target="_blank">www.heritage-healthcare.com</a> </span><span style="color: rgb(33, 88, 104);"></span></p>
    </td>
   </tr>
  </tbody></table>
  </td>
 </tr>
</tbody></table>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

</div><div>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> T.J. Yang
[mailto:<a href="mailto:tj_yang@hotmail.com" target="_blank">tj_yang@hotmail.com</a>] <br>
<b>Sent:</b> Tuesday, July 21, 2009 7:03 PM<br>
<b>To:</b> hobbit system monitoring<br>
<b>Subject:</b> RE: [hobbit] Providing a description of listed systems?</span></p>

</div>

</div><div><div></div><div class="h5">

<p> </p>

<p><span style="font-size: 10pt;">>I
wrote a very small perl script and popped it into my cgi-bin directory. 
The script simply takes the %s argument which can >be passed via --docurl,
and redirects to the correct site using HTML anchors '#'.  <br>
Would you mind sharing this small perl script with me ?<br>
<br>
<br>
T.J. Yang<br>
<br>
<br>
 </span></p>

<div style="text-align: center;" align="center"><span style="font-size: 10pt;">

<hr align="center" size="2" width="100%">

</span></div>

<p style="margin-bottom: 12pt;"><span style="font-size: 10pt;">Date: Tue, 21 Jul 2009 17:23:05 -0400<br>
From: <a href="mailto:jbl@jbldata.com" target="_blank">jbl@jbldata.com</a><br>
To: <a href="mailto:hobbit@hswn.dk" target="_blank">hobbit@hswn.dk</a><br>
Subject: Re: [hobbit] Providing a description of listed systems?<br>
<br>
Thanks for the help!<br>
<br>
I ended up using BBGEN's --docurl option, it seems cleaner, and it's built-in.<br>
<br>
--docurl only accepts URLs which are static HTML, or CGI scripts.  It does
not, for example, accept a link which includes a hash '#' character.  I
even tried to escape it with a backslash, but it didn't work.  So I had to
get creative.<br>
<br>
I wrote a very small perl script and popped it into my cgi-bin directory. 
The script simply takes the %s argument which can be passed via --docurl, and
redirects to the correct site using HTML anchors '#'.<br>
<br>
E.g.:<br>
--docurl=xymon-cgi/docurl.cgi?%s<br>
<br>
%s would be something like "<a href="http://host.domain.com" target="_blank">host.domain.com</a>'"<br>
<br>
docurl.cgi redirects to:<br>
<a href="http://somesite.domain.com/pages/page.html#host.domain.com" target="_blank">http://somesite.domain.com/pages/page.html#host.domain.com</a><br>
<br>
Which jumps to the correct section in the document with the host details.<br>
<br>
<br>
Thanks again again all!<br>
Bobby<br>
<br>
</span></p>

<div>

<p><span style="font-size: 10pt;">On
Tue, Jul 21, 2009 at 4:32 PM, Harold J. Ballinger
<<a href="mailto:hballinger@heritage-healthcare.com" target="_blank">hballinger@heritage-healthcare.com</a>> wrote:</span></p>

<div>

<div>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">There is a notes directory. You can either create a file within
the notes directory with the same name as the host or you can create a folder
and place an index.html file, etc. If the file or directory exists, the
hostname will be hyperlinked to these files.</span><span style="font-size: 10pt;"><br>
</span><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><span style="font-size: 10pt;"><br>
</span><i><span style="font-size: 14pt; font-family: "Book Antiqua","serif"; color: rgb(33, 88, 104);"> </span></i><span style="font-size: 10pt;"></span></p>

<table style="border-collapse: collapse;" border="0" cellpadding="0" cellspacing="0">
 <tbody><tr>
  <td style="padding: 0in 5.4pt; width: 5.5in;" valign="top" width="528">
  <table style="background: rgb(0, 161, 218) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; border-collapse: collapse;" align="left" border="0" cellpadding="0" cellspacing="0">

   <tbody><tr style="height: 6.25pt;">
    <td style="padding: 0in 5.75pt; width: 395.6pt; height: 6.25pt;" valign="top" width="527">
    <p style="line-height: 6.25pt;"><span style="font-size: 4pt; color: rgb(33, 88, 104);">-</span></p>
    </td>
   </tr>
  </tbody></table>
  <p><span style="color: rgb(33, 88, 104);"> </span></p>
  <table style="border-collapse: collapse;" border="0" cellpadding="0" cellspacing="0">
   <tbody><tr>
    <td style="padding: 0in 5.4pt; width: 221.4pt;" valign="top" width="295">
    <p><b><span style="font-size: 11pt; color: rgb(33, 88, 104);">Harold
    Ballinger</span></b><br>
    <i><span style="font-size: 10pt; color: rgb(33, 88, 104);">IT Coordinator</span></i><br>
    <span style="font-size: 11pt; color: rgb(33, 88, 104);">Heritage Healthcare, Inc.</span><span style="font-size: 9pt; color: rgb(33, 88, 104);"> </span><br>
    <span style="font-size: 9pt; color: rgb(33, 88, 104);"> (888) 335-2620  |
    helpdesk</span><br>
    <span style="font-size: 9pt; color: rgb(33, 88, 104);"> (864) 224-3626  |
    office</span><br>
    <span style="font-size: 9pt; color: rgb(33, 88, 104);"> (864) 224-3093  |
    fax</span></p>
    </td>
    <td style="padding: 0in 5.4pt; width: 174.6pt;" valign="top" width="233">
    <p style="text-align: right;" align="right"><span style="color: rgb(33, 88, 104);"><img alt="cid:image003.jpg@01CA0167.D630C4A0" border="0" height="97" width="150"></span></p>
    </td>
   </tr>
   <tr>
    <td colspan="2" style="padding: 0in 5.4pt; width: 5.5in;" valign="top" width="528">
    <p><span style="color: rgb(33, 88, 104);">Visit our website:
    <a href="http://www.heritage-healthcare.com" target="_blank">www.heritage-healthcare.com</a> </span></p>
    </td>
   </tr>
  </tbody></table>
  </td>
 </tr>
</tbody></table>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><span style="font-size: 10pt;"><br>
</span><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><span style="font-size: 10pt;"></span></p>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;">
<a href="mailto:bobby.lopez@gmail.com" target="_blank">bobby.lopez@gmail.com</a> [mailto:<a href="mailto:bobby.lopez@gmail.com" target="_blank">bobby.lopez@gmail.com</a>] <b>On Behalf Of </b>J.
Bobby Lopez<br>
<b>Sent:</b> Tuesday, July 21, 2009 1:24 PM<br>
<b>To:</b> <a href="mailto:hobbit@hswn.dk" target="_blank">hobbit@hswn.dk</a><br>
<b>Subject:</b> Re: [hobbit] Providing a description of listed systems?</span></p>

</div>

<div>

<div>

<p><span style="font-size: 10pt;"> </span></p>

<p style="margin-bottom: 12pt;"><span style="font-size: 10pt;">Hi Rich,<br>
<br>
Is this the one you're talking about?<br>
<a href="http://xymonton.trantor.org/doku.php/addons:hobbitnotes" target="_blank">http://xymonton.trantor.org/doku.php/addons:hobbitnotes</a><br>
<br>
It looks like it is an addon to edit existing notes files from a web
interface.  But I didn't know Xymon had existing notes files.. I would be
just as happy to edit them on the command line.  Am I understanding this
correctly?</span></p>

<div>

<p><span style="font-size: 10pt;">On
Fri, Jul 17, 2009 at 2:14 PM, Rich Smrcina <<a href="mailto:rsmrcina@wi.rr.com" target="_blank">rsmrcina@wi.rr.com</a>> wrote:</span></p>

<div>

<div>

<p><span style="font-size: 10pt;">J.
Bobby Lopez wrote:</span></p>

<p style="margin-bottom: 12pt;"><span style="font-size: 10pt;">I noticed that when I mouse over the names
of the systems listed in Xymon, a nice little pop-up shows the IP address of
the system.<br>
<br>
This info is great and saves me a lot of time.  However, I would like to
somehow add a more detailed description of the system, and have it appear in
Xymon, either by mouse-over like with the IP address, or by clicking on the
name of the system (a link).<br>
<br>
Is there any way to do this, or is there any other mechanism for providing a
more detailed description of any given system within the monitored list?<br>
<br>
Thanks,<br>
Bobby<br>
<br>
-- <br>
J. Bobby Lopez<br>
Web: <a href="http://jbldata.com/" target="_blank">http://jbldata.com/</a><br>
Twitter: <a href="http://www.twitter.com/jbobbylopez" target="_blank">http://www.twitter.com/jbobbylopez</a></span></p>

</div>

</div>

<p style="margin-bottom: 12pt;"><span style="font-size: 10pt;">Take a look at the notes add-on.<br>
<span style="color: rgb(136, 136, 136);"><br>
-- <br>
Rich Smrcina<br>
<br>
To unsubscribe from the hobbit list, send an e-mail to<br>
<a href="mailto:hobbit-unsubscribe@hswn.dk" target="_blank">hobbit-unsubscribe@hswn.dk</a></span></span></p>

</div>

<p style="margin-bottom: 12pt;"><span style="font-size: 10pt;"><br>
<br clear="all">
<br>
-- <br>
J. Bobby Lopez<br>
Web: <a href="http://jbldata.com/" target="_blank">http://jbldata.com/</a><br>
Twitter: <a href="http://www.twitter.com/jbobbylopez" target="_blank">http://www.twitter.com/jbobbylopez</a></span></p>

</div>

</div>

</div>

</div>

</div>

<p style="margin-bottom: 12pt;"><span style="font-size: 10pt;"><br>
<br clear="all">
<br>
-- <br>
J. Bobby Lopez<br>
Web: <a href="http://jbldata.com/" target="_blank">http://jbldata.com/</a><br>
Twitter: <a href="http://www.twitter.com/jbobbylopez" target="_blank">http://www.twitter.com/jbobbylopez</a><br>
<br>
</span></p>

<div style="text-align: center;" align="center"><span style="font-size: 10pt;">

<hr align="center" size="2" width="100%">

</span></div>

<p><span style="font-size: 10pt;">Windows
Live™ Hotmail®: Search, add, and share the web’s latest sports videos. <a href="http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_videos_072009&cat=sports" target="_blank">Check it out.</a></span></p>


</div></div></div>

</div>


</blockquote></div><br><br clear="all"><br>-- <br>J. Bobby Lopez<br>Web: <a href="http://jbldata.com/">http://jbldata.com/</a><br>Twitter: <a href="http://www.twitter.com/jbobbylopez">http://www.twitter.com/jbobbylopez</a><br>
<br>