<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Thanks for the sharing. I will document your effort of using wiki page as database backend for bb-host in my person notes on this subject. See R2.<BR>
 <BR>
 <BR>
I once try to integrate xymon with trac. See R1.<BR>
 <BR>
Did you integrate Trac's ticket system with Xymon Server ?<BR>
<BR> <BR>
<BR>T.J. Yang<BR><BR>R1: <A href="http://trac-hacks.org/wiki/XymonPlugin">http://trac-hacks.org/wiki/XymonPlugin</A><BR>
R2: <A href="http://xymon.dlinkddns.com/books/catalyst-extjs.pdf">http://xymon.dlinkddns.com/books/catalyst-extjs.pdf</A><BR> <BR>
<HR id=stopSpelling>
Date: Wed, 22 Jul 2009 20:30:49 -0400<BR>From: jbl@jbldata.com<BR>To: hobbit@hswn.dk<BR>Subject: Re: [hobbit] Providing a description of listed systems?<BR><BR>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>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>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>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>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>hostname.domain.com</A>"><BR>This is the start of the '<A>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=EC_gmail_quote>On Wed, Jul 22, 2009 at 1:00 PM, Harold J. Ballinger <SPAN dir=ltr><<A>hballinger@heritage-healthcare.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=EC_gmail_quote style="PADDING-LEFT: 1ex">
<DIV lang=EN-US>
<DIV>
<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><BR>
<DIV class=EC_im>
<SPAN style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125)"> </SPAN><BR>
<DIV>
<I><SPAN style="FONT-SIZE: 14pt; COLOR: rgb(33,88,104); FONT-FAMILY: 'Book Antiqua','serif'"> </SPAN></I><BR></DIV>
<TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD style="PADDING-RIGHT: 5.4pt; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; WIDTH: 5.5in; PADDING-TOP: 0in" vAlign=top width=528>
<TABLE style="BACKGROUND: rgb(0,161,218); BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 align=left border=0>
<TBODY>
<TR style="HEIGHT: 6.25pt">
<TD style="PADDING-RIGHT: 5.75pt; PADDING-LEFT: 5.75pt; PADDING-BOTTOM: 0in; WIDTH: 395.6pt; PADDING-TOP: 0in; HEIGHT: 6.25pt" vAlign=top width=527>
<SPAN style="FONT-SIZE: 4pt; COLOR: rgb(33,88,104)">-</SPAN><SPAN style="FONT-SIZE: 4pt; COLOR: rgb(33,88,104)"></SPAN><BR></TD></TR></TBODY></TABLE>
<SPAN style="COLOR: rgb(33,88,104)"> </SPAN><SPAN style="FONT-SIZE: 8pt; COLOR: rgb(33,88,104)"></SPAN><BR>
<TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD style="PADDING-RIGHT: 5.4pt; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; WIDTH: 221.4pt; PADDING-TOP: 0in" vAlign=top width=295>
<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><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><SPAN style="COLOR: rgb(33,88,104)"></SPAN><BR></TD>
<TD style="PADDING-RIGHT: 5.4pt; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; WIDTH: 174.6pt; PADDING-TOP: 0in" vAlign=top width=233>
<P style="TEXT-ALIGN: right" align=right><SPAN style="COLOR: rgb(33,88,104)"><IMG height=97 alt=cid:image003.jpg@01CA0167.D630C4A0 src="http://gfx1.hotmail.com/mail/w3/ltr/i_safe.gif" width=150></SPAN><SPAN style="COLOR: rgb(33,88,104)"></SPAN></P></TD></TR>
<TR>
<TD style="PADDING-RIGHT: 5.4pt; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; WIDTH: 5.5in; PADDING-TOP: 0in" vAlign=top width=528 colSpan=2>
<SPAN style="COLOR: rgb(33,88,104)">Visit our website: <A>www.heritage-healthcare.com</A> </SPAN><SPAN style="COLOR: rgb(33,88,104)"></SPAN><BR></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<SPAN style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125)"> </SPAN><BR>
<SPAN style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125)"> </SPAN><BR></DIV>
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: rgb(181,196,223) 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<B><SPAN style="FONT-SIZE: 10pt">From:</SPAN></B><SPAN style="FONT-SIZE: 10pt"> T.J. Yang [mailto:<A>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><BR></DIV></DIV>
<DIV>
<DIV></DIV>
<DIV class=h5>
 <BR>
<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><BR>
<DIV style="TEXT-ALIGN: center" align=center><SPAN style="FONT-SIZE: 10pt">
<HR align=center width="100%" SIZE=2>
</SPAN></DIV>
<P style="MARGIN-BOTTOM: 12pt"><SPAN style="FONT-SIZE: 10pt">Date: Tue, 21 Jul 2009 17:23:05 -0400<BR>From: <A>jbl@jbldata.com</A><BR>To: <A>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>host.domain.com</A>'"<BR><BR>docurl.cgi redirects to:<BR><A>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>
<SPAN style="FONT-SIZE: 10pt">On Tue, Jul 21, 2009 at 4:32 PM, Harold J. Ballinger <<A>hballinger@heritage-healthcare.com</A>> wrote:</SPAN><BR>
<DIV>
<DIV>
<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; COLOR: rgb(33,88,104); FONT-FAMILY: 'Book Antiqua','serif'"> </SPAN></I><SPAN style="FONT-SIZE: 10pt"></SPAN><BR>
<TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD style="PADDING-RIGHT: 5.4pt; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; WIDTH: 5.5in; PADDING-TOP: 0in" vAlign=top width=528>
<TABLE style="BACKGROUND: rgb(0,161,218); BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 align=left border=0>
<TBODY>
<TR style="HEIGHT: 6.25pt">
<TD style="PADDING-RIGHT: 5.75pt; PADDING-LEFT: 5.75pt; PADDING-BOTTOM: 0in; WIDTH: 395.6pt; PADDING-TOP: 0in; 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>
<SPAN style="COLOR: rgb(33,88,104)"> </SPAN><BR>
<TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD style="PADDING-RIGHT: 5.4pt; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; WIDTH: 221.4pt; PADDING-TOP: 0in" vAlign=top width=295>
<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><BR></TD>
<TD style="PADDING-RIGHT: 5.4pt; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; WIDTH: 174.6pt; PADDING-TOP: 0in" vAlign=top width=233>
<P style="TEXT-ALIGN: right" align=right><SPAN style="COLOR: rgb(33,88,104)"><IMG height=97 alt=cid:image003.jpg@01CA0167.D630C4A0 width=150 border=0></SPAN></P></TD></TR>
<TR>
<TD style="PADDING-RIGHT: 5.4pt; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; WIDTH: 5.5in; PADDING-TOP: 0in" vAlign=top width=528 colSpan=2>
<SPAN style="COLOR: rgb(33,88,104)">Visit our website: <A>www.heritage-healthcare.com</A> </SPAN><BR></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<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><BR>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: rgb(181,196,223) 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<B><SPAN style="FONT-SIZE: 10pt">From:</SPAN></B><SPAN style="FONT-SIZE: 10pt"> <A>bobby.lopez@gmail.com</A> [mailto:<A>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>hobbit@hswn.dk</A><BR><B>Subject:</B> Re: [hobbit] Providing a description of listed systems?</SPAN><BR></DIV>
<DIV>
<DIV>
<SPAN style="FONT-SIZE: 10pt"> </SPAN><BR>
<P style="MARGIN-BOTTOM: 12pt"><SPAN style="FONT-SIZE: 10pt">Hi Rich,<BR><BR>Is this the one you're talking about?<BR><A>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>
<SPAN style="FONT-SIZE: 10pt">On Fri, Jul 17, 2009 at 2:14 PM, Rich Smrcina <<A>rsmrcina@wi.rr.com</A>> wrote:</SPAN><BR>
<DIV>
<DIV>
<SPAN style="FONT-SIZE: 10pt">J. Bobby Lopez wrote:</SPAN><BR>
<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>http://jbldata.com/</A><BR>Twitter: <A>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>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>http://jbldata.com/</A><BR>Twitter: <A>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>http://jbldata.com/</A><BR>Twitter: <A>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 width="100%" SIZE=2>
</SPAN></DIV>
<SPAN style="FONT-SIZE: 10pt">Windows Live™ Hotmail®: Search, add, and share the web’s latest sports videos. <A>Check it out.</A></SPAN><BR></DIV></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR><BR clear=all><BR>-- <BR>J. Bobby Lopez<BR>Web: <A>http://jbldata.com/</A><BR>Twitter: <A>http://www.twitter.com/jbobbylopez</A><BR><BR><br /><hr />NEW mobile Hotmail. Optimized for YOUR phone. <a href='http://windowslive.com/Mobile?ocid=TXT_TAGLM_WL_CS_MB_new_hotmail_072009' target='_new'>Click here.</a></body>
</html>