<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello Galen,<div class=""><br class=""></div><div class="">Please what script trigger the SSH tests that are built into the services that Xymon uses.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Agege</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 14, 2016, at 1:25 PM, Galen Johnson <<a href="mailto:Galen.Johnson@sas.com" class="">Galen.Johnson@sas.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">SSH tests are built into the services that Xymon uses.  These are server initiated calls by adding 'ssh' to the host.cfg file for the host you want to test it for (help is available in the Xymon menu).  While it may leverage it's own method,  it does try on port 22 by default unless you override it.  I don't believe it actually logs in but just checks for "availability".  You can look at the etc/protocols.cfg on the Xymon server for what it is expecting.<br class=""></div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">Note: top posting is not an option without a fair amount of effort if you use Outlook...thank MS for that.<br class=""></div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">=G=<br class=""></div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); color: rgb(33, 33, 33);" class=""><hr tabindex="-1" style="display: inline-block; width: 846.71875px;" class=""><div id="divRplyFwdMsg" dir="ltr" class=""><font face="Calibri, sans-serif" style="font-size: 11pt;" class=""><b class="">From:</b><span class="Apple-converted-space"> </span>Xymon <<a href="mailto:xymon-bounces@xymon.com" class="">xymon-bounces@xymon.com</a>> on behalf of Adam Goryachev <<a href="mailto:mailinglists@websitemanagers.com.au" class="">mailinglists@websitemanagers.com.au</a>><br class=""><b class="">Sent:</b><span class="Apple-converted-space"> </span>Sunday, March 13, 2016 8:51 PM<br class=""><b class="">To:</b><span class="Apple-converted-space"> </span>Agege<br class=""><b class="">Cc:</b><span class="Apple-converted-space"> </span><a href="mailto:xymon@xymon.com" class="">xymon@xymon.com</a><br class=""><b class="">Subject:</b><span class="Apple-converted-space"> </span>Re: [Xymon] How Xymon invokes an SSH connection to the Client?</font><div class=""> </div></div><div class=""><div class="moz-cite-prefix">On 14/03/16 11:39, Agege wrote:<br class=""></div><blockquote type="cite" class=""><div class="">Thank you Adams,</div><div class=""><br class=""></div><div class="">In this scenario, I am investigating Xymon server-and-several-clients installation someone already already made.</div><div class=""><br class=""></div><div class="">How do I determine if the Xymon server is getting data from clients via Xymon protocol or via SSH protocol.</div><div class=""> </div></blockquote>tcpdump running on either server or one of the clients should confirm this...<span class="Apple-converted-space"> </span><br class=""><blockquote type="cite" class=""><div class="">And is Xymon protocol equals to port 1984?</div><div class=""><br class=""></div></blockquote>By default, but that can be changed in the configuration files.<br class=""><br class="">I'd suggest to review the config files on the server, starting with the files modified most recently (as these will be the ones customised for your installation). Check what port number the server is listening on (netstat -an | grep LISTEN) and then use tcpdump to monitor that port number, you will see the traffic/data reported from the clients. If you see status on the web pages which you don't see sent over this port, then you should check the config files further to see what else has been changed/other data collection configs.<br class=""><br class="">PS, please don't top post :(<br class=""><br class="">Regards,<br class="">Adam<br class=""><blockquote type="cite" class=""><div class="">Thank you in advance.</div><div class=""><br class=""><br class=""><div class="">Thanks,<div class="">Toyin Orokotan </div><div class="">Linux System Admin.</div><div class="">682-831-9397</div></div></div><div class=""><br class="">On Mar 13, 2016, at 6:16 PM, Adam Goryachev <<a href="mailto:mailinglists@websitemanagers.com.au" class=""></a><a class="moz-txt-link-abbreviated" href="mailto:mailinglists@websitemanagers.com.au">mailinglists@websitemanagers.com.au</a>> wrote:<br class=""><br class=""></div><blockquote type="cite" class=""><div class=""><div class="moz-cite-prefix">On 14/03/16 07:54, Agege Information Systems, Inc. wrote:<br class=""></div><blockquote type="cite" class=""><font class="" size="4">Greetings,</font><div class=""><font class="" size="4"><br class=""></font></div><div class=""><font class="" size="4">Please what kind of code or internal scripts Xymon runs to invoke an SSH connection to the client and what runs the Xymon client scripts.</font></div><div class=""><font class="" size="4"><br class=""></font></div><div class=""><font class="" size="4">In order words, please could you enlighten me with the actual commands or codes or scripts that Xymon uses for the SSH connection and any Xymon codes running on each Client.</font></div></blockquote><br class="">In the standard installation method, the server doesn't use ssh to connect to the client and collect information. The only connections the server initiates are the "network" tests, eg, ping, smtp, http, etc... The client runs it's own client installation package, which will collect all the local information (disk space, processes running, network ports, etc) and then send those to the server using the Xymon protocol (extended from the original Big Brother protocol, but still backwards compatible).<br class=""><br class="">There are numerous options available for altering that method, including having the server use ssh to connect to the client and collect the data at regular intervals.<br class=""><br class="">Also, all source code is available, so feel free to peruse that for the ultimate finer details.<br class=""><br class="">Regards,<br class="">Adam<br class=""><br class=""><div class="moz-signature">--<span class="Apple-converted-space"> </span><br class="">Adam Goryachev Website Managers<span class="Apple-converted-space"> </span><a class="moz-txt-link-abbreviated" href="http://www.websitemanagers.com.au/">www.websitemanagers.com.au</a></div></div></blockquote><blockquote type="cite" class=""><div class=""><span class="">_______________________________________________</span><br class=""><span class="">Xymon mailing list</span><br class=""><span class=""><a href="mailto:Xymon@xymon.com" class="">Xymon@xymon.com</a></span><br class=""><span class=""><a href="http://lists.xymon.com/mailman/listinfo/xymon" class="">http://lists.xymon.com/mailman/listinfo/xymon</a></span><br class=""></div></blockquote></blockquote><br class=""><br class=""><div class="moz-signature">--<span class="Apple-converted-space"> </span><br class="">Adam Goryachev Website Managers<span class="Apple-converted-space"> </span><a class="moz-txt-link-abbreviated" href="http://www.websitemanagers.com.au/">www.websitemanagers.com.au</a></div></div></div></div></blockquote></div><br class=""></div></body></html>