zabbix_get
is a command line utility for getting data from Zabbix agent.
OPTIONS
-s, --hosthost-name-or-IP
Specify host name or IP address of a host.
-p, --portport-number
Specify port number of agent running on the host.
Default is 10050.
-I, --source-addressIP-address
Specify source IP address.
-k, --keyitem-key
Specify key of item to retrieve value for.
--tls-connectvalue
How to connect to agent. Values:
unencrypted
connect without encryption (default)
psk
connect using TLS and a pre-shared key
cert
connect using TLS and a certificate
--tls-ca-fileCA-file
Full pathname of a file containing the top-level CA(s) certificates for peer certificate verification.
--tls-crl-fileCRL-file
Full pathname of a file containing revoked certificates.
--tls-agent-cert-issuercert-issuer
Allowed agent certificate issuer.
--tls-agent-cert-subjectcert-subject
Allowed agent certificate subject.
--tls-cert-filecert-file
Full pathname of a file containing the certificate or certificate chain.
--tls-key-filekey-file
Full pathname of a file containing the private key.
--tls-psk-identityPSK-identity
PSK-identity string.
--tls-psk-filePSK-file
Full pathname of a file containing the pre-shared key.
--tls-cipher13cipher-string
Cipher string for OpenSSL 1.1.1 or newer for TLS 1.3. Override the default ciphersuite selection criteria. This option is not available if OpenSSL version is less than 1.1.1.
--tls-ciphercipher-string
GnuTLS priority string (for TLS 1.2 and up) or OpenSSL cipher string (only for TLS 1.2). Override the default ciphersuite selection criteria.