[Xymon] Antw.: Extra column containing an access protocol (putty, telnet, mstsc)

Jon Dustin jdustin at usm.maine.edu
Fri Mar 9 23:04:11 CET 2012


>>> On 3/9/2012 at 3:44 PM, in message
<0020F6A9-8970-412C-8584-952204D4506F at rhein-zeitung.net>, Becker Christian
<christian.becker at rhein-zeitung.net> wrote:
> Don,
> using a normal Windows machine I want to view the xymon monitoring pages. If 
> a page contains for example Linux servers, I want to have a PuTTY column. 
> Clicking on that should open PuTTY on my local Windows pc and connect to the 
> selected Linux server on the xymon page. The same with telnet for Cisco 
> devices and mstsc for Windows machines. That enables me to connect to nearly 
> all monitored machines from one point just by clicking webpages.

How about if you use the built-in "info" button in Xymon? Look at the HOSTS.CFG manpages, specifically:

DESCR:Hosttype:Description
Define some informational text about the host. The "Hosttype" is a text describing the type of this device - "router", "switch", "hub", "server" etc. The "Description" is an informational text that will be shown on the "Info" column page; this can e.g. be used to store information about the physical location of the device, contact persons etc. If the text contain whitespace, you must enclose it in double-quotes, e.g. DESCR:"switch:4th floor Marketing switch"

You may add html code to the DESCR field, and your browser will make it "clickable". 

I think you're wanting something like the following:

(hosts.cfg)
192.168.1.24	servername.co.com	# DESCR:"Web Server:description <a href=ssh:192.168.1.24>ssh</a>"

The above entry inside hosts.cfg would add a link of ssh:192.168.1.24 to the "info" button associated with that host in Xymon.

I hope this is clear; good luck!

-- 
 
Jon Dustin - Network Specialist
University of Southern Maine
Portland, ME  207-780-4152





More information about the Xymon mailing list