<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif"}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
span.E-MailFormatvorlage17
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
span.SprechblasentextZchn
        {font-family:"Tahoma","sans-serif"}
.MsoChpDefault
        {}
@page WordSection1
        {margin:70.85pt 70.85pt 2.0cm 70.85pt}
div.WordSection1
        {}
ol
        {margin-bottom:0cm}
ul
        {margin-bottom:0cm}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Hello,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">I’ve got it managed to create a workaround for our company. This contains some steps:</span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"><span style="">1)<span style="font:7.0pt "Times New Roman"">     
</span></span></span><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">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….)</span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"><span style="">2)<span style="font:7.0pt "Times New Roman"">     
</span></span></span><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">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:</span></p>
<p class="MsoListParagraph" style="margin-left:72.0pt; text-indent:-18.0pt"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"><span style="">a.<span style="font:7.0pt "Times New Roman"">      
</span></span></span><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">for PuTTY<br>
<img width="695" height="189" id="Bild_x0020_6" src="cid:image002.png@01CD05C1.69825AB0"></span></p>
<p class="MsoListParagraph" style="margin-left:72.0pt; text-indent:-18.0pt"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"><span style="">b.<span style="font:7.0pt "Times New Roman"">     
</span></span></span><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">for RDP / RDP console:<br>
<img width="725" height="239" id="Bild_x0020_5" src="cid:image003.png@01CD05C1.69825AB0"></span></p>
<p class="MsoListParagraph" style="margin-left:72.0pt; text-indent:-18.0pt"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"><span style="">c.<span style="font:7.0pt "Times New Roman"">      
</span></span></span><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">for https:<br>
<img width="655" height="196" id="Bild_x0020_4" src="cid:image004.png@01CD05C1.69825AB0"></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"><span style="">3)<span style="font:7.0pt "Times New Roman"">     
</span></span></span><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">i did that for any of “my” protocol tags; depending on “my” tags, the script creates more than one protocol entry</span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"><span style="">4)<span style="font:7.0pt "Times New Roman"">     
</span></span></span><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">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</span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"><span style="">5)<span style="font:7.0pt "Times New Roman"">     
</span></span></span><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Disadvantage: you cannot use another “notes” page any longer</span></p>
<p class="MsoListParagraph"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">The above sounds very confusing, but for our company it’s working.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">I had no success creating an additional column per host to include an optional connect url.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Regards</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Christian</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="DE" style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">Von:</span></b><span lang="DE" style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> Gé Janssen [mailto:ge.janssen@gmail.com]
<br>
<b>Gesendet:</b> Montag, 19. März 2012 09:36<br>
<b>An:</b> Becker Christian<br>
<b>Betreff:</b> [Spam:] Re: [Xymon] Antw.: Antw.: Extra column containing an access protocol (putty, telnet, mstsc)</span></p>
</div>
<p class="MsoNormal"> </p>
<table class="MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td style="background:white; padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt">Im Rahmen der Firmenrichtlinie wurde die Nachricht als Spam identifiziert</p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt; font-family:"Calibri","sans-serif""><br>
Hello Christian,<br>
<br>
Seen your message on the xymon mailing list.<br>
<br>
Did you had any success? I tried it, but didn't succeed:<br>
<br>
<a href="https://home.gejanssen.com/xymon/Linux/Linux.html">https://home.gejanssen.com/xymon/Linux/Linux.html</a><br>
<br>
The mercure server has the putty remark, but no success.<br>
<br>
Regards<br>
<br>
Gé Janssen</span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Calibri","sans-serif"">On Sat, Mar 10, 2012 at 9:40 AM, Becker Christian <<a href="mailto:christian.becker@rhein-zeitung.net">christian.becker@rhein-zeitung.net</a>> wrote:</span></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt; font-family:"Calibri","sans-serif""><br>
Jon,<br>
<br>
your idea sounds very good! I'll give this a try on Monday. Think that's what I want<br>
<br>
Thank you,<br>
Regards<br>
Christian<br>
<br>
Sent using HTC Desire</span></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt; font-family:"Calibri","sans-serif"">----- Reply message -----<br>
Von: "Jon Dustin" <<a href="mailto:jdustin@usm.maine.edu" target="_blank">jdustin@usm.maine.edu</a>><br>
Datum: Fr., Mär. 9, 2012 23:19<br>
Betreff: [Xymon] Antw.: Extra column containing an access protocol (putty, telnet, mstsc)<br>
An: "<a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a>" <<a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a>></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Calibri","sans-serif"">>>> On 3/9/2012 at 3:44 PM, in message<br>
<<a href="mailto:0020F6A9-8970-412C-8584-952204D4506F@rhein-zeitung.net" target="_blank">0020F6A9-8970-412C-8584-952204D4506F@rhein-zeitung.net</a>>, Becker Christian<br>
<<a href="mailto:christian.becker@rhein-zeitung.net" target="_blank">christian.becker@rhein-zeitung.net</a>> wrote:<br>
> Don,<br>
> using a normal Windows machine I want to view the xymon monitoring pages. If <br>
> a page contains for example Linux servers, I want to have a PuTTY column. <br>
> Clicking on that should open PuTTY on my local Windows pc and connect to the <br>
> selected Linux server on the xymon page. The same with telnet for Cisco <br>
> devices and mstsc for Windows machines. That enables me to connect to nearly <br>
> all monitored machines from one point just by clicking webpages.<br>
<br>
How about if you use the built-in "info" button in Xymon? Look at the HOSTS.CFG manpages, specifically:<br>
<br>
DESCR:Hosttype:Description<br>
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"<br>
<br>
You may add html code to the DESCR field, and your browser will make it "clickable".
<br>
<br>
I think you're wanting something like the following:<br>
<br>
(hosts.cfg)<br>
192.168.1.24    <a href="http://servername.co.com" target="_blank">servername.co.com</a>       # DESCR:"Web Server:description <a href=ssh:192.168.1.24>ssh</a>"<br>
<br>
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.<br>
<br>
I hope this is clear; good luck!<br>
<br>
-- <br>
 <br>
Jon Dustin - Network Specialist<br>
University of Southern Maine<br>
Portland, ME  207-780-4152</span></p>
</div>
</div>
</div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Calibri","sans-serif""> </span></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="2"><br>
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<br>
</font>
</body>
</html>