mirror of https://github.com/zulip/zulip.git
42f84a8cc7
A number of autossh connections are already left open for port-forwarding Munin ports; autossh starts the connections and ensures that they are automatically restarted if they are severed. However, this represents a missed opportunity. Nagios's monitoring uses a large number of SSH connections to the remote hosts to run commands on them; each of these connections requires doing a complete SSH handshake and authentication, which can have non-trivial network latency, particularly for hosts which may be located far away, in a network topology sense (up to 1s for a no-op command!). Use OpenSSH's ability to multiplex multiple connections over a single socket, to reuse the already-established connection. We leave an explicit `ControlMaster no` in the general configuration, and not `auto`, as we do not wish any of the short-lived Nagios connections to get promoted to being a control socket if the autossh is not running for some reason. We enable protocol-level keepalives, to give a better chance of the socket being kept open. |
||
---|---|---|
.. | ||
apache | ||
apt/apt.conf.d | ||
certs | ||
cron.d | ||
grafana | ||
iptables | ||
munin | ||
munin-plugins | ||
nagios4 | ||
nagios_plugins/zulip_zephyr_mirror | ||
needrestart | ||
nginx/sites-available | ||
postgresql | ||
prometheus | ||
supervisor/conf.d | ||
chrony.conf | ||
common-session | ||
dot_emacs.el | ||
krb5.conf | ||
nagios_ssh_config | ||
sshd_config | ||
teleport_app.yaml | ||
teleport_node.yaml | ||
teleport_server.yaml | ||
tornado_process_exporter.yaml | ||
zephyr-clients |