Hello,
I’ve got it managed to create a workaround for our company. This contains some steps:
1) i decided to add specific tags to the hosts.cfg file (i.e. “PT” for telnet, “PS” for ssh, “PR” for rdp, “HT” for http, “HS” for https – just my idea to identify “my” options….)
2) i created a script which walks through the hosts.cfg, looks for those option tags and creates “per-host-specific” html files, which are placed in the server/www/notes/ directory - these files contain the protocol specific connect URL as shown in the screenshots:
a. for PuTTY
[cid:image002.png at 01CD05C1.69825AB0]
b. for RDP / RDP console:
[cid:image003.png at 01CD05C1.69825AB0]
c. for https:
[cid:image004.png at 01CD05C1.69825AB0]
3) i did that for any of “my” protocol tags; depending on “my” tags, the script creates more than one protocol entry
4) i added the specific protocol handler to the registry and I’m using a special compiled putty version to accept a “%1” parameter in the command line
5) Disadvantage: you cannot use another “notes” page any longer
The above sounds very confusing, but for our company it’s working.
I had no success creating an additional column per host to include an optional connect url.
Regards
Christian
Von: Gé Janssen [mailto:user-876f637131f0@xymon.invalid]
Gesendet: Montag, 19. März 2012 09:36
An: Becker Christian
Betreff: [Spam:] Re: [Xymon] Antw.: Antw.: Extra column containing an access protocol (putty, telnet, mstsc)
Im Rahmen der Firmenrichtlinie wurde die Nachricht als Spam identifiziert
Hello Christian,
Seen your message on the xymon mailing list.
Did you had any success? I tried it, but didn't succeed:
https://home.gejanssen.com/xymon/Linux/Linux.html
The mercure server has the putty remark, but no success.
Regards
Gé Janssen
On Sat, Mar 10, 2012 at 9:40 AM, Becker Christian <user-e4a19bfb94c0@xymon.invalid<mailto:user-e4a19bfb94c0@xymon.invalid>> wrote:
Jon,
your idea sounds very good! I'll give this a try on Monday. Think that's what I want
Thank you,
Regards
Christian
Sent using HTC Desire
----- Reply message -----
Von: "Jon Dustin" <user-d8c63a8259c1@xymon.invalid<mailto:user-d8c63a8259c1@xymon.invalid>>
Datum: Fr., Mär. 9, 2012 23:19
Betreff: [Xymon] Antw.: Extra column containing an access protocol (putty, telnet, mstsc)
An: "xymon at xymon.com<mailto:xymon at xymon.com>" <xymon at xymon.com<mailto:xymon at xymon.com>>
On 3/9/2012 at 3:44 PM, in message
<user-5659330c508d@xymon.invalid<mailto:user-5659330c508d@xymon.invalid>>, Becker Christian
<user-e4a19bfb94c0@xymon.invalid<mailto: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<http://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