check_by_ssh - limitations

This board serves as an open discussion and support collaboration point for Nagios XI. NOTE: Nagios XI customers should use the Customer Support forum to obtain expedited support.

check_by_ssh - limitations

Postby boeing787 » Wed Aug 28, 2019 10:12 am

We are using check_by_ssh where we need to open an ssh connection from a central server to remote hosts to collect metrics for monitoring needs.

1. What is the default limit on number of concurrent connections opened to a remote linux host.
2. What is the default limit on number of concurrent connections opened from any given server to remote hosts. Can this be altered.
3. In general what is the CPU/RAM usage per each ssh connection.

Thanks
boeing787
 
Posts: 2
Joined: Wed Feb 06, 2019 3:25 am

Re: check_by_ssh - limitations

Postby mbellerue » Wed Aug 28, 2019 10:58 am

Assuming OpenSSH for the client and server software.

1. What is the default limit on number of concurrent connections opened to a remote linux host.

I don't know that OpenSSH places restrictions on outbound connections. It assumes that there will be a restriction on the receiving side, if one is needed.

2. What is the default limit on number of concurrent connections opened from any given server to remote hosts. Can this be altered.

This can be altered on the remote host, in /etc/ssh/sshd_config. The setting you're looking for is MaxSessions. I don't think this is set by default.

3. In general what is the CPU/RAM usage per each ssh connection.

Just the ssh connection will barely even register on the system's load. What contributes to load is how much data goes over the ssh connection, and what cipher you've chosen. Usually a check will only return a line or two of data, so whatever additional load is created is rarely noticed.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
mbellerue
 
Posts: 559
Joined: Fri Jul 12, 2019 11:10 am


Return to Nagios XI

Who is online

Users browsing this forum: Google [Bot] and 16 guests