Providing a description of listed systems?
list J. Bobby Lopez
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. 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). 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? Thanks, Bobby -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez
list Larry Barber
the --docurl option for bbgen will turn the system names into links. It would be up to you to provide the pages that the names link to. Thanks, Larry Barber
▸
On Fri, Jul 17, 2009 at 12:59 PM, J. Bobby Lopez <user-cf5303e672c8@xymon.invalid> wrote:
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. 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). 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? Thanks, Bobby -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez
list Rich Smrcina
▸
J. Bobby Lopez wrote:
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. 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). 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? Thanks, Bobby -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez
Take a look at the notes add-on. -- Rich Smrcina
list J. Bobby Lopez
Hi Rich, Is this the one you're talking about? http://xymonton.trantor.org/doku.php/addons:hobbitnotes 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?
▸
On Fri, Jul 17, 2009 at 2:14 PM, Rich Smrcina <user-cf452ff334e0@xymon.invalid> wrote:
J. Bobby Lopez wrote: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. 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). 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? Thanks, Bobby -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez Take a look at the notes add-on.-- Rich Smrcina
-- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez
list Harold J. Ballinger
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. • Harold Ballinger IT Coordinator Heritage Healthcare, Inc. (XXX) XXX-XXXX | helpdesk (XXX) XXX-XXXX | office (XXX) XXX-XXXX | fax [cid:image001.jpg at 01CA0A21.004AEFB0] Visit our website: www.heritage-healthcare.com<http://www.heritage-healthcare.com/>;
▸
From: user-e8564da46726@xymon.invalid [mailto:user-e8564da46726@xymon.invalid] On Behalf Of J. Bobby Lopez Sent: Tuesday, July 21, 2009 1:24 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Providing a description of listed systems? Hi Rich, Is this the one you're talking about? http://xymonton.trantor.org/doku.php/addons:hobbitnotes 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? On Fri, Jul 17, 2009 at 2:14 PM, Rich Smrcina <user-cf452ff334e0@xymon.invalid<mailto:user-cf452ff334e0@xymon.invalid>> wrote: J. Bobby Lopez wrote: 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. 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). 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? Thanks, Bobby -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez Take a look at the notes add-on. -- Rich Smrcina -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez
list J. Bobby Lopez
Thanks for the help! I ended up using BBGEN's --docurl option, it seems cleaner, and it's built-in. --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. 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 '#'. E.g.: --docurl=xymon-cgi/docurl.cgi?%s %s would be something like "host.domain.com'" docurl.cgi redirects to: http://somesite.domain.com/pages/page.html#host.domain.com Which jumps to the correct section in the document with the host details. Thanks again again all! Bobby On Tue, Jul 21, 2009 at 4:32 PM, Harold J. Ballinger <
▸
user-fc4f93976dc8@xymon.invalid> wrote:
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. * * • *Harold Ballinger* *IT Coordinator* Heritage Healthcare, Inc. (XXX) XXX-XXXX | helpdesk (XXX) XXX-XXXX | office (XXX) XXX-XXXX | fax
[image: cid:image003.jpg at 01CA0167.D630C4A0]
Visit our website: www.heritage-healthcare.com
▸
*From:* user-e8564da46726@xymon.invalid [mailto:user-e8564da46726@xymon.invalid] *On Behalf Of *J. Bobby Lopez *Sent:* Tuesday, July 21, 2009 1:24 PM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: [hobbit] Providing a description of listed systems? Hi Rich, Is this the one you're talking about? http://xymonton.trantor.org/doku.php/addons:hobbitnotes 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? On Fri, Jul 17, 2009 at 2:14 PM, Rich Smrcina <user-cf452ff334e0@xymon.invalid> wrote: J. Bobby Lopez wrote: 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. 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). 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? Thanks, Bobby -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez Take a look at the notes add-on. -- Rich Smrcina -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez
-- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez
list Harold J. Ballinger
I like that. I had been looking for a good way to save my notes fields to a database and have the pages "constructed" instead of having static files for each host. The -docurl option looks like it will get me there. Now I just have to build it. :)
▸
• Harold Ballinger
IT Coordinator
Heritage Healthcare, Inc.
(XXX) XXX-XXXX | helpdesk
(XXX) XXX-XXXX | office
(XXX) XXX-XXXX | fax
[cid:image001.jpg at 01CA0A2B.10310540]
▸
Visit our website: www.heritage-healthcare.com<http://www.heritage-healthcare.com/>; From: user-e8564da46726@xymon.invalid [mailto:user-e8564da46726@xymon.invalid] On Behalf Of J. Bobby Lopez Sent: Tuesday, July 21, 2009 5:23 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Providing a description of listed systems? Thanks for the help! I ended up using BBGEN's --docurl option, it seems cleaner, and it's built-in. --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. 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 '#'. E.g.: --docurl=xymon-cgi/docurl.cgi?%s
%s would be something like "host.domain.com<http://host.domain.com>'";
▸
docurl.cgi redirects to: http://somesite.domain.com/pages/page.html#host.domain.com Which jumps to the correct section in the document with the host details. Thanks again again all! Bobby On Tue, Jul 21, 2009 at 4:32 PM, Harold J. Ballinger <user-fc4f93976dc8@xymon.invalid<mailto:user-fc4f93976dc8@xymon.invalid>> wrote: 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. • Harold Ballinger IT Coordinator Heritage Healthcare, Inc. (XXX) XXX-XXXX | helpdesk (XXX) XXX-XXXX | office (XXX) XXX-XXXX | fax
[cid:image001.jpg at 01CA0A2B.10310540] Visit our website: www.heritage-healthcare.com<http://www.heritage-healthcare.com/>;
▸
From: user-e8564da46726@xymon.invalid<mailto:user-e8564da46726@xymon.invalid> [mailto:user-e8564da46726@xymon.invalid<mailto:user-e8564da46726@xymon.invalid>] On Behalf Of J. Bobby Lopez Sent: Tuesday, July 21, 2009 1:24 PM To: user-ae9b8668bcde@xymon.invalid<mailto:user-ae9b8668bcde@xymon.invalid> Subject: Re: [hobbit] Providing a description of listed systems? Hi Rich, Is this the one you're talking about? http://xymonton.trantor.org/doku.php/addons:hobbitnotes 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? On Fri, Jul 17, 2009 at 2:14 PM, Rich Smrcina <user-cf452ff334e0@xymon.invalid<mailto:user-cf452ff334e0@xymon.invalid>> wrote: J. Bobby Lopez wrote: 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. 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). 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? Thanks, Bobby -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez Take a look at the notes add-on. -- Rich Smrcina -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez
list Michael S. Fisher
How about "bbnote_editor.cgi"
list J. Bobby Lopez
I'm using Trac [http://trac.edgewall.org/] as my main wiki/ticketing system, so I just place all of the host information into one page. Trac automatically creates HTML anchors (#) for each section (e.g., each host) as long as you format it correctly with wiki syntax. I just name each section the same name that I have the hosts identified with in Xymon, and it works pretty smoothly. I even keep the hosts described in the wiki arranged in the same order that I have them in Xymon, so it's easy to compare the hosts in Xymon and Trac, to make sure they're in sync. On Tue, Jul 21, 2009 at 5:44 PM, Harold J. Ballinger <
▸
user-fc4f93976dc8@xymon.invalid> wrote:
I like that. I had been looking for a good way to save my notes fields to a database and have the pages “constructed” instead of having static files for each host. The –docurl option looks like it will get me there. Now I
just have to build it. J
▸
* * • *Harold Ballinger* *IT Coordinator* Heritage Healthcare, Inc. (XXX) XXX-XXXX | helpdesk (XXX) XXX-XXXX | office (XXX) XXX-XXXX | fax [image: cid:image003.jpg at 01CA0167.D630C4A0] Visit our website: www.heritage-healthcare.com *From:* user-e8564da46726@xymon.invalid [mailto:user-e8564da46726@xymon.invalid] *On Behalf Of *J. Bobby Lopez *Sent:* Tuesday, July 21, 2009 5:23 PM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: [hobbit] Providing a description of listed systems? Thanks for the help! I ended up using BBGEN's --docurl option, it seems cleaner, and it's built-in. --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. 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 '#'. E.g.: --docurl=xymon-cgi/docurl.cgi?%s %s would be something like "host.domain.com'" docurl.cgi redirects to: http://somesite.domain.com/pages/page.html#host.domain.com Which jumps to the correct section in the document with the host details. Thanks again again all! Bobby On Tue, Jul 21, 2009 at 4:32 PM, Harold J. Ballinger < user-fc4f93976dc8@xymon.invalid> wrote: 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. * * • *Harold Ballinger* *IT Coordinator* Heritage Healthcare, Inc. (XXX) XXX-XXXX | helpdesk (XXX) XXX-XXXX | office (XXX) XXX-XXXX | fax [image: cid:image003.jpg at 01CA0167.D630C4A0] Visit our website: www.heritage-healthcare.com *From:* user-e8564da46726@xymon.invalid [mailto:user-e8564da46726@xymon.invalid] *On Behalf Of *J. Bobby Lopez *Sent:* Tuesday, July 21, 2009 1:24 PM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: [hobbit] Providing a description of listed systems? Hi Rich, Is this the one you're talking about? http://xymonton.trantor.org/doku.php/addons:hobbitnotes 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? On Fri, Jul 17, 2009 at 2:14 PM, Rich Smrcina <user-cf452ff334e0@xymon.invalid> wrote: J. Bobby Lopez wrote: 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. 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). 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? Thanks, Bobby -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez Take a look at the notes add-on. -- Rich Smrcina -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez
-- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez
list T.J. Yang
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 '#'.
Would you mind sharing this small perl script with me ? T.J. Yang
▸
Date: Tue, 21 Jul 2009 17:23:05 -0400 From: user-cf5303e672c8@xymon.invalid To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Providing a description of listed systems? Thanks for the help! I ended up using BBGEN's --docurl option, it seems cleaner, and it's built-in. --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. 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 '#'. E.g.: --docurl=xymon-cgi/docurl.cgi?%s %s would be something like "host.domain.com'" docurl.cgi redirects to: http://somesite.domain.com/pages/page.html#host.domain.com Which jumps to the correct section in the document with the host details. Thanks again again all! Bobby On Tue, Jul 21, 2009 at 4:32 PM, Harold J. Ballinger <user-fc4f93976dc8@xymon.invalid> wrote: 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. • Harold Ballinger IT Coordinator Heritage Healthcare, Inc. (XXX) XXX-XXXX | helpdesk (XXX) XXX-XXXX | office (XXX) XXX-XXXX | fax Visit our website: www.heritage-healthcare.com From: user-e8564da46726@xymon.invalid [mailto:user-e8564da46726@xymon.invalid] On Behalf Of J. Bobby Lopez Sent: Tuesday, July 21, 2009 1:24 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Providing a description of listed systems? Hi Rich, Is this the one you're talking about? http://xymonton.trantor.org/doku.php/addons:hobbitnotes 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? On Fri, Jul 17, 2009 at 2:14 PM, Rich Smrcina <user-cf452ff334e0@xymon.invalid> wrote: J. Bobby Lopez wrote: 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. 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). 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? Thanks, Bobby -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez Take a look at the notes add-on. -- Rich Smrcina -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez
Windows Live™ Hotmail®: Search, add, and share the web’s latest sports videos. Check it out. http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_videos_072009&cat=sports
list Harold J. Ballinger
Yes, if you could share this perl script, I am thinking about following in your footsteps.
▸
• Harold Ballinger
IT Coordinator
Heritage Healthcare, Inc.
(XXX) XXX-XXXX | helpdesk
(XXX) XXX-XXXX | office
(XXX) XXX-XXXX | fax
[cid:image001.jpg at 01CA0ACC.9C19E7B0] Visit our website: www.heritage-healthcare.com<http://www.heritage-healthcare.com/>;
▸
From: T.J. Yang [mailto:user-8e841282cda5@xymon.invalid]
Sent: Tuesday, July 21, 2009 7:03 PM
To: hobbit system monitoring
Subject: RE: [hobbit] Providing a description of listed systems?
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 '#'.
Would you mind sharing this small perl script with me ? T.J. Yang Date: Tue, 21 Jul 2009 17:23:05 -0400 From: user-cf5303e672c8@xymon.invalid To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Providing a description of listed systems? Thanks for the help! I ended up using BBGEN's --docurl option, it seems cleaner, and it's built-in. --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. 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 '#'. E.g.: --docurl=xymon-cgi/docurl.cgi?%s %s would be something like "host.domain.com'" docurl.cgi redirects to: http://somesite.domain.com/pages/page.html#host.domain.com Which jumps to the correct section in the document with the host details. Thanks again again all! Bobby On Tue, Jul 21, 2009 at 4:32 PM, Harold J. Ballinger <user-fc4f93976dc8@xymon.invalid> wrote: 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. • Harold Ballinger IT Coordinator Heritage Healthcare, Inc. (XXX) XXX-XXXX | helpdesk (XXX) XXX-XXXX | office (XXX) XXX-XXXX | fax
[http://gfx1.hotmail.com/mail/w3/ltr/i_safe.gif]
▸
Visit our website: www.heritage-healthcare.com From: user-e8564da46726@xymon.invalid [mailto:user-e8564da46726@xymon.invalid] On Behalf Of J. Bobby Lopez Sent: Tuesday, July 21, 2009 1:24 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Providing a description of listed systems? Hi Rich, Is this the one you're talking about? http://xymonton.trantor.org/doku.php/addons:hobbitnotes 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? On Fri, Jul 17, 2009 at 2:14 PM, Rich Smrcina <user-cf452ff334e0@xymon.invalid> wrote: J. Bobby Lopez wrote: 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. 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). 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? Thanks, Bobby -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez Take a look at the notes add-on. -- Rich Smrcina -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez
Windows Live(tm) Hotmail(r): Search, add, and share the web's latest sports videos. Check it out.<http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_videos_072009&cat=sports>;
list J. Bobby Lopez
No problem, I will post it shortly. It's very small (one or two lines). I just have some IT hurdles to jump. Essentially here's how it works: Lets say you set your --docurl to something like this: --docurl=http://mysite.com/xymon-cgi/docurl.cgi?%s Now, all 'docurl.cgi' will need to contain in order to do a proper redirection is the following: ---- #!/usr/bin/perl -w use strict; print "Location: http://someothersite.com/page.html#";. $ARGV[0] . "\n\n"; exit; ---- 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 "hostname.domain.com". The 'print' statement just prints an HTTP header which forces the browser to re-direct to a new location, specifically, the URL " http://someothersite.com/page.html#hostname.domain.com";. You just have to make sure that your 'page.html' contains an HTML anchor ("<a name...") such as this: .... <a name="hostname.domain.com"> This is the start of the 'hostname.domain.com' section. .... 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. 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. Enjoy! On Wed, Jul 22, 2009 at 1:00 PM, Harold J. Ballinger <
▸
user-fc4f93976dc8@xymon.invalid> wrote:
Yes, if you could share this perl script, I am thinking about following in your footsteps. * * • *Harold Ballinger* *IT Coordinator* Heritage Healthcare, Inc. (XXX) XXX-XXXX | helpdesk (XXX) XXX-XXXX | office (XXX) XXX-XXXX | fax [image: cid:image003.jpg at 01CA0167.D630C4A0] Visit our website: www.heritage-healthcare.com *From:* T.J. Yang [mailto:user-8e841282cda5@xymon.invalid] *Sent:* Tuesday, July 21, 2009 7:03 PM *To:* hobbit system monitoring *Subject:* RE: [hobbit] Providing a description of listed systems?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 '#'. Would you mind sharing this small perl script with me ? T.J. Yang Date: Tue, 21 Jul 2009 17:23:05 -0400 From: user-cf5303e672c8@xymon.invalid To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Providing a description of listed systems? Thanks for the help! I ended up using BBGEN's --docurl option, it seems cleaner, and it's built-in. --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. 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 '#'. E.g.: --docurl=xymon-cgi/docurl.cgi?%s %s would be something like "host.domain.com'" docurl.cgi redirects to: http://somesite.domain.com/pages/page.html#host.domain.com Which jumps to the correct section in the document with the host details. Thanks again again all! Bobby On Tue, Jul 21, 2009 at 4:32 PM, Harold J. Ballinger < user-fc4f93976dc8@xymon.invalid> wrote: 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. * * • *Harold Ballinger* *IT Coordinator* Heritage Healthcare, Inc. (XXX) XXX-XXXX | helpdesk (XXX) XXX-XXXX | office (XXX) XXX-XXXX | fax [image: cid:image003.jpg at 01CA0167.D630C4A0] Visit our website: www.heritage-healthcare.com *From:* user-e8564da46726@xymon.invalid [mailto:user-e8564da46726@xymon.invalid] *On Behalf Of *J. Bobby Lopez *Sent:* Tuesday, July 21, 2009 1:24 PM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: [hobbit] Providing a description of listed systems? Hi Rich, Is this the one you're talking about? http://xymonton.trantor.org/doku.php/addons:hobbitnotes 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? On Fri, Jul 17, 2009 at 2:14 PM, Rich Smrcina <user-cf452ff334e0@xymon.invalid> wrote: J. Bobby Lopez wrote: 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. 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). 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? Thanks, Bobby -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez Take a look at the notes add-on. -- Rich Smrcina -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez Windows Live™ Hotmail®: Search, add, and share the web’s latest sports videos. Check it out.<http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_videos_072009&cat=sports>;
-- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez
list T.J. Yang
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. I once try to integrate xymon with trac. See R1. Did you integrate Trac's ticket system with Xymon Server ? T.J. Yang R1: http://trac-hacks.org/wiki/XymonPlugin R2: http://xymon.dlinkddns.com/books/catalyst-extjs.pdf
▸
Date: Wed, 22 Jul 2009 20:30:49 -0400 From: user-cf5303e672c8@xymon.invalid To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Providing a description of listed systems? No problem, I will post it shortly. It's very small (one or two lines). I just have some IT hurdles to jump. Essentially here's how it works: Lets say you set your --docurl to something like this: --docurl=http://mysite.com/xymon-cgi/docurl.cgi?%s Now, all 'docurl.cgi' will need to contain in order to do a proper redirection is the following: ---- #!/usr/bin/perl -w use strict; print "Location: http://someothersite.com/page.html#";. $ARGV[0] . "\n\n"; exit; ---- 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 "hostname.domain.com". The 'print' statement just prints an HTTP header which forces the browser to re-direct to a new location, specifically, the URL "http://someothersite.com/page.html#hostname.domain.com";. You just have to make sure that your 'page.html' contains an HTML anchor ("<a name...") such as this: .... <a name="hostname.domain.com"> This is the start of the 'hostname.domain.com' section. .... 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. 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. Enjoy! On Wed, Jul 22, 2009 at 1:00 PM, Harold J. Ballinger <user-fc4f93976dc8@xymon.invalid> wrote: Yes, if you could share this perl script, I am thinking about following in your footsteps. • Harold Ballinger IT Coordinator Heritage Healthcare, Inc. (XXX) XXX-XXXX | helpdesk (XXX) XXX-XXXX | office (XXX) XXX-XXXX | fax Visit our website: www.heritage-healthcare.com From: T.J. Yang [mailto:user-8e841282cda5@xymon.invalid] Sent: Tuesday, July 21, 2009 7:03 PM To: hobbit system monitoring Subject: RE: [hobbit] Providing a description of listed systems?
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 '#'.
Would you mind sharing this small perl script with me ? T.J. Yang Date: Tue, 21 Jul 2009 17:23:05 -0400 From: user-cf5303e672c8@xymon.invalid To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Providing a description of listed systems? Thanks for the help! I ended up using BBGEN's --docurl option, it seems cleaner, and it's built-in. --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. 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 '#'. E.g.: --docurl=xymon-cgi/docurl.cgi?%s %s would be something like "host.domain.com'" docurl.cgi redirects to: http://somesite.domain.com/pages/page.html#host.domain.com Which jumps to the correct section in the document with the host details. Thanks again again all! Bobby On Tue, Jul 21, 2009 at 4:32 PM, Harold J. Ballinger <user-fc4f93976dc8@xymon.invalid> wrote: 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. • Harold Ballinger IT Coordinator Heritage Healthcare, Inc. (XXX) XXX-XXXX | helpdesk (XXX) XXX-XXXX | office (XXX) XXX-XXXX | fax Visit our website: www.heritage-healthcare.com From: user-e8564da46726@xymon.invalid [mailto:user-e8564da46726@xymon.invalid] On Behalf Of J. Bobby Lopez Sent: Tuesday, July 21, 2009 1:24 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Providing a description of listed systems? Hi Rich, Is this the one you're talking about? http://xymonton.trantor.org/doku.php/addons:hobbitnotes 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? On Fri, Jul 17, 2009 at 2:14 PM, Rich Smrcina <user-cf452ff334e0@xymon.invalid> wrote: J. Bobby Lopez wrote: 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. 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). 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? Thanks, Bobby -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez Take a look at the notes add-on. -- Rich Smrcina -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez Windows Live™ Hotmail®: Search, add, and share the web’s latest sports videos. Check it out. -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez
NEW mobile Hotmail. Optimized for YOUR phone. Click here. http://windowslive.com/Mobile?ocid=TXT_TAGLM_WL_CS_MB_new_hotmail_072009
list J. Bobby Lopez
Here's the script I'm using, which I think is pretty much the same as I've mentioned below: ---- #!/usr/bin/perl -w use strict; print "Location: http://site.domain.com/pathto/wiki/MonitoringDetails#$ARGV[0]\n\n";;
▸
----
On Wed, Jul 22, 2009 at 8:30 PM, J. Bobby Lopez <user-cf5303e672c8@xymon.invalid> wrote:
No problem, I will post it shortly. It's very small (one or two lines). I just have some IT hurdles to jump. Essentially here's how it works: Lets say you set your --docurl to something like this: --docurl=http://mysite.com/xymon-cgi/docurl.cgi?%s Now, all 'docurl.cgi' will need to contain in order to do a proper redirection is the following: ---- #!/usr/bin/perl -w use strict; print "Location: http://someothersite.com/page.html#";. $ARGV[0] . "\n\n"; exit; ---- 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 "hostname.domain.com". The 'print' statement just prints an HTTP header which forces the browser to re-direct to a new location, specifically, the URL " http://someothersite.com/page.html#hostname.domain.com";. You just have to make sure that your 'page.html' contains an HTML anchor ("<a name...") such as this: .... <a name="hostname.domain.com"> This is the start of the 'hostname.domain.com' section. .... 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. 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. Enjoy! On Wed, Jul 22, 2009 at 1:00 PM, Harold J. Ballinger < user-fc4f93976dc8@xymon.invalid> wrote:Yes, if you could share this perl script, I am thinking about following in your footsteps. * * • *Harold Ballinger* *IT Coordinator* Heritage Healthcare, Inc. (XXX) XXX-XXXX | helpdesk (XXX) XXX-XXXX | office (XXX) XXX-XXXX | fax [image: cid:image003.jpg at 01CA0167.D630C4A0] Visit our website: www.heritage-healthcare.com *From:* T.J. Yang [mailto:user-8e841282cda5@xymon.invalid] *Sent:* Tuesday, July 21, 2009 7:03 PM *To:* hobbit system monitoring *Subject:* RE: [hobbit] Providing a description of listed systems?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 '#'. Would you mind sharing this small perl script with me ? T.J. Yang Date: Tue, 21 Jul 2009 17:23:05 -0400 From: user-cf5303e672c8@xymon.invalid To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Providing a description of listed systems? Thanks for the help! I ended up using BBGEN's --docurl option, it seems cleaner, and it's built-in. --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. 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 '#'. E.g.: --docurl=xymon-cgi/docurl.cgi?%s %s would be something like "host.domain.com'" docurl.cgi redirects to: http://somesite.domain.com/pages/page.html#host.domain.com Which jumps to the correct section in the document with the host details. Thanks again again all! Bobby On Tue, Jul 21, 2009 at 4:32 PM, Harold J. Ballinger < user-fc4f93976dc8@xymon.invalid> wrote: 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. * * • *Harold Ballinger* *IT Coordinator* Heritage Healthcare, Inc. (XXX) XXX-XXXX | helpdesk (XXX) XXX-XXXX | office (XXX) XXX-XXXX | fax [image: cid:image003.jpg at 01CA0167.D630C4A0] Visit our website: www.heritage-healthcare.com *From:* user-e8564da46726@xymon.invalid [mailto:user-e8564da46726@xymon.invalid] *On Behalf Of *J. Bobby Lopez *Sent:* Tuesday, July 21, 2009 1:24 PM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: [hobbit] Providing a description of listed systems? Hi Rich, Is this the one you're talking about? http://xymonton.trantor.org/doku.php/addons:hobbitnotes 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? On Fri, Jul 17, 2009 at 2:14 PM, Rich Smrcina <user-cf452ff334e0@xymon.invalid> wrote: J. Bobby Lopez wrote: 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. 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). 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? Thanks, Bobby -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez Take a look at the notes add-on. -- Rich Smrcina -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez -- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez Windows Live™ Hotmail®: Search, add, and share the web’s latest sports videos. Check it out.<http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_videos_072009&cat=sports>;-- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez
-- J. Bobby Lopez Web: http://jbldata.com/ Twitter: http://www.twitter.com/jbobbylopez