Xymon Mailing List Archive search

Feature Request - LINK tag?

list Stewart Larsen
Thu, 8 Mar 2007 09:55:52 -0500
Message-Id: <user-5d17b714c25d@xymon.invalid>

The man page references using %s to substitute the host name for the
machines.  Are there other substitution variables defined somewhere like
IP address?

Can you turn this on for only certain hosts?  That's what I was really
after.


--
Stewart 


-----Original Message-----
From: Thomas [mailto:user-97316fb2dd2a@xymon.invalid] 
Sent: Thursday, March 08, 2007 7:24 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Feature Request - LINK tag?

Check the man page for bbgen - what you are looking for is called docurl
I have to pointing to a php page but you can do anything you like.

user-6f5382941e41@xymon.invalid wrote:
I'd like to have a tag that I can specify for a host that will make 
the hostname become a link to something.

For example,

10.1.1.1	host1.localdomain	# ntp LINK:http://10.1.1.1

When displayed in the browser, the host name would then become a link 
the web server running on that host.  Or it could be a FTP://, mailto,
or whatever protocols you wanted to put there. Click on the host name 
and off you go.

I can do the coding, but I am unsure hereto look in the code.   If
someone can give me a little direction (or code this up faster than 
I), it would be greatly appreciated.  I'd be happy to submit back a 
patch for this.

Stew

--
BEGIN-ANTISPAM-VOTING-LINKS

Teach CanIt if this mail (ID 132756306) is spam:
Spam:
https://antispam.doh.ad.state.fl.us/canit/b.php?c=s&i=132756306&m=692219
8b28b8
Not spam:
https://antispam.doh.ad.state.fl.us/canit/b.php?c=n&i=132756306&m=692219
8b28b8
Forget vote:
https://antispam.doh.ad.state.fl.us/canit/b.php?c=f&i=132756306&m=692219
8b28b8
END-ANTISPAM-VOTING-LINKS