본문으로 건너뛰기
버전: dev

Monitoring FTP

Collect and monitor the general performance Metrics of FTP server.

Protocol Use:FTP

Configuration parameter

Parameter nameParameter help description
Target HostMonitored IPV4, IPV6 or domain name. Note⚠️Without protocol header (eg: ftp://).
Monitoring nameIdentify the name of this monitoring, The name needs to be unique.
PortPort provided by FTP server ,default is 21.
DirectionDirectory on the FTP server.
TimeoutTimeout for connecting to FTP server.
UsernameUsername for connecting to the FTP server, optional.
PasswordPassword for connecting to the FTP server, optional.
SFTPUse SFTP instead of FTP. SFTP requires a username and password.
Host key fingerprintsTrusted SFTP server SHA-256 fingerprints, one per line or separated by commas. Required unless verification is explicitly skipped.
Skip host key verificationDangerous option. Use only for a controlled diagnostic; it does not authenticate the SFTP server.
Collection intervalInterval time of monitor periodic data collection, unit: second, and the minimum interval that can be set is 30 seconds.
Bind TagsUsed to classify and manage monitoring resources.
Description remarksFor more information about identifying and describing this monitoring, users can note information here.

SFTP host key verification

HertzBeat accepts only the configured SFTP host keys. Obtain the server keys, then verify their fingerprints through a trusted channel such as the server console, configuration management, or an administrator. ssh-keyscan alone does not authenticate a server.

ssh-keyscan -p 22 sftp.example.com > /tmp/sftp-host-keys
ssh-keygen -lf /tmp/sftp-host-keys -E sha256

Copy the verified SHA256:... values into SFTP Host Key Fingerprints. The field accepts one value per line or comma-separated values.

For a planned host-key rotation, verify the new key first, add both the current and new fingerprints, rotate the server key, and remove the old fingerprint only after all HertzBeat collectors use the new key.

SFTP monitors and imported configurations must pin at least one fingerprint unless the operator explicitly selects the dangerous skip-verification option. HertzBeat does not enable that option automatically.

Collection Metrics

Metrics Set:Basic

Metric nameMetric unitMetric help description
Is ActivenoneCheck if the directory exists and has access permission.
Response TimemsResponse Time