[Xymon] How Xymon invokes an SSH connection to the Client?

Agege Information Systems, Inc. cs at agege.com
Tue Mar 15 19:46:10 CET 2016


Hello Galen,

Please what script trigger the SSH tests that are built into the services that Xymon uses.

Thanks,
Agege

> On Mar 14, 2016, at 1:25 PM, Galen Johnson <Galen.Johnson at sas.com> wrote:
> 
> 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.
> 
> Note: top posting is not an option without a fair amount of effort if you use Outlook...thank MS for that.
> 
> =G=
> 
> From: Xymon <xymon-bounces at xymon.com> on behalf of Adam Goryachev <mailinglists at websitemanagers.com.au>
> Sent: Sunday, March 13, 2016 8:51 PM
> To: Agege
> Cc: xymon at xymon.com
> Subject: Re: [Xymon] How Xymon invokes an SSH connection to the Client?
>  
> On 14/03/16 11:39, Agege wrote:
>> Thank you Adams,
>> 
>> In this scenario, I am investigating Xymon server-and-several-clients installation someone already already made.
>> 
>> How do I determine if the Xymon server is getting data from clients via Xymon protocol or via SSH protocol.
>>  
> tcpdump running on either server or one of the clients should confirm this... 
>> And is Xymon protocol equals to port 1984?
>> 
> By default, but that can be changed in the configuration files.
> 
> 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.
> 
> PS, please don't top post :(
> 
> Regards,
> Adam
>> Thank you in advance.
>> 
>> 
>> Thanks,
>> Toyin Orokotan 
>> Linux System Admin.
>> 682-831-9397
>> 
>> On Mar 13, 2016, at 6:16 PM, Adam Goryachev < <mailto:mailinglists at websitemanagers.com.au>mailinglists at websitemanagers.com.au <mailto:mailinglists at websitemanagers.com.au>> wrote:
>> 
>>> On 14/03/16 07:54, Agege Information Systems, Inc. wrote:
>>>> Greetings,
>>>> 
>>>> 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.
>>>> 
>>>> 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.
>>> 
>>> 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).
>>> 
>>> 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.
>>> 
>>> Also, all source code is available, so feel free to peruse that for the ultimate finer details.
>>> 
>>> Regards,
>>> Adam
>>> 
>>> -- 
>>> Adam Goryachev Website Managers www.websitemanagers.com.au <http://www.websitemanagers.com.au/>_______________________________________________
>>> Xymon mailing list
>>> Xymon at xymon.com <mailto:Xymon at xymon.com>
>>> http://lists.xymon.com/mailman/listinfo/xymon <http://lists.xymon.com/mailman/listinfo/xymon>
> 
> 
> -- 
> Adam Goryachev Website Managers www.websitemanagers.com.au <http://www.websitemanagers.com.au/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20160315/ad37e4bf/attachment.html>


More information about the Xymon mailing list