<div dir="ltr"><div><div><div><div><div>Hi to you all,<br><br></div>It was suggested on
 this list recently that a way of getting Xymon client sending encrypted
 messages to the server using the currently Staple version would be to 
use <b>xymoncgimsg.cgi</b> on the web server over TLS.  The xymon man 
page says one can use a URL in the recipient field for HTTP transport.  
There is no mention of HTTPS anyway in the man pages, but because it was
 suggested on the list I have tried it and it does not work:<br><br></div>It seems to try and resolve https as hostname 'https' rather than interpreting it as a URL.  For example:<br><br>$ xymon <a href="https://www.google.com/xymon-cgi/xymoncgimsg.cgi" target="_blank">https://www.google.com/xymon-c<wbr>gi/xymoncgimsg.cgi</a> "test"<br>2017-10-13 12:55:10.323994 Whoops ! Failed to send message (Cannot resolve hostname)<br>2017-10-13 12:55:10.324124 ->  Cannot determine IP address of message recipient https<br><br>$ xymon "https\://<a href="http://www.google.com/xymon-cgi/xymoncgimsg.cgi" target="_blank">www.google.com/xymon<wbr>-cgi/xymoncgimsg.cgi</a>" "test"<br>2017-10-13 12:55:33.408007 Whoops ! Failed to send message (Cannot resolve hostname)<br>2017-10-13 12:55:33.408073 ->  Cannot determine IP address of message recipient https\<br><br></div>I wonder if there is a trivial fix for this?</div><div><br></div><div>P.S.  Using plain old http does work:</div><div>$ xymon <a href="http://www.google.com/xymon-cgi/xymoncgimsg.cgi" target="_blank">http://www.google.com/xymon-<wbr>cgi/xymoncgimsg.cgi</a> "test"<br><!DOCTYPE html><br><html lang=en><br>...</div><div><br></div>Many thanks,<br><br></div>SebA</div>