Xymon Mailing List Archive search

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

list Becker Christian
Mon, 12 Mar 2012 08:33:58 +0000
Message-Id: <E6B86B09BF9C1E43B3CB4A78CC1BA7B639CCC934@w2k8-ex-mb-1>

Jon,

this didn't work for me. It seems to me that the section <a href=ssh:192.168.1.24>ssh</a> would not be interpreted as html.

Regards
Christian


-----Ursprüngliche Nachricht-----
Von: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] Im Auftrag von Jon Dustin
Gesendet: Freitag, 9. März 2012 23:04
An: xymon at xymon.com
Betreff: Re: [Xymon] Antw.: Extra column containing an access protocol (putty, telnet, mstsc)
On 3/9/2012 at 3:44 PM, in message
<user-5659330c508d@xymon.invalid>, Becker Christian
<user-e4a19bfb94c0@xymon.invalid> 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  XXX-XXX-XXXX


CSC • This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose • CSC Deutschland Services GmbH • Registered Office: Abraham-Lincoln-Park 1, 65189 Wiesbaden, Germany • Board of Directors: Gerhard Fercho (Chairman),Thomas Nebe, Peter Schmidt • Registered in Germany: HRB 7574, Wiesbaden