[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Providing a description of listed systems?
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Providing a description of listed systems?
- From: "J. Bobby Lopez" <jbl (at) jbldata.com>
- Date: Tue, 21 Jul 2009 17:23:05 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=AH32wgpM3wzVwlyQZ//7/b4vxLzKgckIIR2BDeXtIkE=; b=PXg9asnvfy35CR34Lt6pIeCFDzm8Tsns4idqdrzPvlv1evP6/o90xiowEbx7rMsgAV urTdtuDV61ESHaU7hJ2j9S41+xJdISVadZyQCBO4mS4idotk0eQqBlbuqY0PT5ISyBAa vMFg56r+ZpmnSQnA9XOfgjAkiRDirlluDGvdw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=BWRHsj520dn5TF58EGf7qAVv9Mka6l9eCPgYTwqNXyDuaiDYJIxxo9rqdDYXM0BKiF qbx/rvUqq4p9rS3hPgJX0t6Z8xj+w89O2MSGwobZBmV8rOE5qrko0kCNX1dVXLpIOvGJ x1HBSLtoH79TW3ndkBqB8sMBJRO6KlhJbE0yo=
- References: <cda3eb110907171059r4081093k829bae366481c12f (at) mail.gmail.com> <4A60BF72.7070907 (at) wi.rr.com> <cda3eb110907211024u475d675cya121ab99bcb6c1f5 (at) mail.gmail.com> <833FE11B4A07FD4789F720B6F915124F0786CA34F8 (at) HHCGVL-COMM01>
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 <
hballinger (at) heritage-healthcare.com> 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.
>
> (888) 335-2620 | helpdesk
>
> (864) 224-3626 | office
>
> (864) 224-3093 | fax
>
> [image: cid:image003.jpg@01CA0167.D630C4A0]
>
> Visit our website: www.heritage-healthcare.com
>
>
>
>
>
> *From:* bobby.lopez (at) gmail.com [mailto:bobby.lopez (at) gmail.com] *On Behalf Of
> *J. Bobby Lopez
> *Sent:* Tuesday, July 21, 2009 1:24 PM
> *To:* hobbit (at) hswn.dk
> *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 <rsmrcina (at) wi.rr.com> 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
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>
>
> --
> 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