- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
Supported OS
This check lets you monitor SSH connectivity to remote hosts and SFTP response times.
The SSH/SFTP check is included in the Datadog Agent package. No additional installation is needed on your server.
To configure this check for an Agent running on a host:
Edit the ssh_check.d/conf.yaml
file in the conf.d/
folder at the root of your Agent’s configuration directory. See the sample ssh_check.d/conf.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
# private_key_file: <PATH_TO_PRIVATE_KEY>
# private_key_type: # rsa or ecdsa; default is rsa
# port: 22 # default is port 22
# sftp_check: False # set False to disable SFTP check; default is True
# add_missing_keys: True # default is False
Restart the Agent to start sending SSH/SFTP metrics and service checks to Datadog.
For containerized environments, see the Autodiscovery Integration Templates for guidance on applying the parameters below.
Parameter | Value |
---|---|
<INTEGRATION_NAME> | ssh_check |
<INIT_CONFIG> | blank or {} |
<INSTANCE_CONFIG> | {"host": "%%host%%", "port":"22", "username":"<USERNAME>"} |
Run the Agent’s status
subcommand and look for ssh_check
under the Checks section.
sftp.response_time (gauge) | The response time of SFTP Shown as second |
The SSH Check does not include any events.
ssh.can_connect
Returns CRITICAL
if the Agent check is unable to connect to the SSH host. Returns OK
otherwise.
Statuses: ok, critical
sftp.can_connect
Returns CRITICAL
if the Agent check is unable to connect to the SFTP host. Returns OK
otherwise.
Statuses: ok, critical
Need help? Contact Datadog support.