Source
168
168
.IP "\fB\-\-tls\-psk\-file\fR \fIPSK\-file\fR"
169
169
Full pathname of a file containing the pre-shared key.
170
170
.IP "\fB\-\-tls\-cipher13\fR \fIcipher\-string\fR"
171
171
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.
172
172
.IP "\fB\-\-tls\-cipher\fR \fIcipher\-string\fR"
173
173
GnuTLS priority string (for TLS 1.2 and up) or OpenSSL cipher string (only for TLS 1.2). Override the default ciphersuite selection criteria.
174
174
.IP "\fB\-h\fR, \fB\-\-help\fR"
175
175
Display this help and exit.
176
176
.IP "\fB\-V\fR, \fB\-\-version\fR"
177
177
Output version information and exit.
178
+
.SH EXIT STATUS
179
+
The exit status is 0 if zabbix_get successfully retrieves a value from the Zabbix agent. If value retrieval failed, the exit status is 1.
178
180
.SH "EXAMPLES"
179
181
\fBzabbix_get \-s 127.0.0.1 \-p 10050 \-k "system.cpu.load[all,avg1]"\fR
180
182
.br
181
183
\fBzabbix_get \-s 127.0.0.1 \-p 10050 \-k "system.cpu.load[all,avg1]" \-\-tls\-connect cert \-\-tls\-ca\-file /home/zabbix/zabbix_ca_file \-\-tls\-agent\-cert\-issuer "CN=Signing CA,OU=IT operations,O=Example Corp,DC=example,DC=com" \-\-tls\-agent\-cert\-subject "CN=server1,OU=IT operations,O=Example Corp,DC=example,DC=com" \-\-tls\-cert\-file /home/zabbix/zabbix_get.crt \-\-tls\-key\-file /home/zabbix/zabbix_get.key
182
184
.br
183
185
\fBzabbix_get \-s 127.0.0.1 \-p 10050 \-k "system.cpu.load[all,avg1]" \-\-tls\-connect psk \-\-tls\-psk\-identity "PSK ID Zabbix agentd" \-\-tls\-psk\-file /home/zabbix/zabbix_agentd.psk\fR
184
186
.SH "SEE ALSO"
185
187
.UR https://www.zabbix.com/manuals
186
188
Documentation
187
189
.UE