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 CODE
179
+
If an item key is unsupported,
180
+
.B zabbix_get
181
+
will return the exit code
182
+
.B 1.
178
183
.SH "EXAMPLES"
179
184
\fBzabbix_get \-s 127.0.0.1 \-p 10050 \-k "system.cpu.load[all,avg1]"\fR
180
185
.br
181
186
\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
187
.br
183
188
\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
189
.SH "SEE ALSO"
185
190
.UR https://www.zabbix.com/manuals
186
191
Documentation
187
192
.UE