This check lets you monitor SSH connectivity to remote hosts and SFTP response times.
The SSH/SFTP check is packaged with the Agent, so simply install the Agent anywhere from which you’d like to test SSH connectivity.
If you need the newest version of the SSH check, install the
dd-check-ssh-check package; this package’s check overrides the one packaged with the Agent. See the integrations-core repository README.md for more details.
Create a file
ssh_check.yaml in the Agent’s
conf.d directory. See the sample ssh_check.yaml for all available configuration options:
init_config: instances: - host: <SOME_REMOTE_HOST> # required username: <SOME_USERNAME> # required password: <SOME_PASSWORD> # or use private_key_file
Restart the Agent to start sending SSH/SFTP metrics and service checks to Datadog.
Run the Agent’s
info subcommand and look for
ssh_check under the Checks section:
Checks ====== [...] ssh_check ------- - instance #0 [OK] - Collected 1 metric, 0 events & 2 service check [...]
The ssh check is compatible with all major platforms.
|The response time of SFTP|
shown as second
The SSH Check check does not include any event at this time.
Returns CRITICAL if the Agent cannot open an SSH session, otherwise OK.
Returns CRITICAL if the Agent cannot open an SFTP session, otherwise OK.
Need help? Contact Datadog Support.
Learn more about infrastructure monitoring and all our integrations on our blog