1ZABBIX_GET(1)               General Commands Manual              ZABBIX_GET(1)
2
3
4

NAME

6       zabbix_get - Zabbix get utility
7

SYNOPSIS

9       zabbix_get  -s  host-name-or-IP  [-p  port-number]  [-I  IP-address] -k
10       item-key
11       zabbix_get  -s  host-name-or-IP  [-p   port-number]   [-I   IP-address]
12       --tls-connect  cert  --tls-ca-file  CA-file  [--tls-crl-file  CRL-file]
13       [--tls-agent-cert-issuer     cert-issuer]     [--tls-agent-cert-subject
14       cert-subject]  --tls-cert-file  cert-file  --tls-key-file  key-file  -k
15       item-key
16       zabbix_get  -s  host-name-or-IP  [-p   port-number]   [-I   IP-address]
17       --tls-connect   psk   --tls-psk-identity   PSK-identity  --tls-psk-file
18       PSK-file -k item-key
19       zabbix_get -h
20       zabbix_get -V
21

DESCRIPTION

23       zabbix_get is a command line  utility  for  getting  data  from  Zabbix
24       agent.
25

OPTIONS

27       -s, --host host-name-or-IP
28              Specify host name or IP address of a host.
29
30       -p, --port port-number
31              Specify  port  number  of agent running on the host.  Default is
32              10050.
33
34       -I, --source-address IP-address
35              Specify source IP address.
36
37       -k, --key item-key
38              Specify key of item to retrieve value for.
39
40       --tls-connect value
41              How to connect to agent. Values:
42
43
44                   unencrypted connect without encryption (default)
45
46                   psk         connect using TLS and a pre-shared key
47
48                   cert        connect using TLS and a certificate
49
50       --tls-ca-file CA-file
51              Full pathname of a file containing the top-level CA(s)  certifi‐
52              cates for peer certificate verification.
53
54       --tls-crl-file CRL-file
55              Full pathname of a file containing revoked certificates.
56
57       --tls-agent-cert-issuer cert-issuer
58              Allowed agent certificate issuer.
59
60       --tls-agent-cert-subject cert-subject
61              Allowed agent certificate subject.
62
63       --tls-cert-file cert-file
64              Full  pathname  of a file containing the certificate or certifi‐
65              cate chain.
66
67       --tls-key-file key-file
68              Full pathname of a file containing the private key.
69
70       --tls-psk-identity PSK-identity
71              PSK-identity string.
72
73       --tls-psk-file PSK-file
74              Full pathname of a file containing the pre-shared key.
75
76       -h, --help
77              Display this help and exit.
78
79       -V, --version
80              Output version information and exit.
81

EXAMPLES

83       zabbix_get -s 127.0.0.1 -p 10050 -k "system.cpu.load[all,avg1]"
84       zabbix_get  -s  127.0.0.1  -p  10050   -k   "system.cpu.load[all,avg1]"
85       --tls-connect     cert     --tls-ca-file    /home/zabbix/zabbix_ca_file
86       --tls-agent-cert-issuer   "CN=Signing   CA,OU=IT   operations,O=Example
87       Corp,DC=example,DC=com"    --tls-agent-cert-subject   "CN=server1,OU=IT
88       operations,O=Example Corp,DC=example,DC=com" --tls-cert-file /home/zab‐
89       bix/zabbix_get.crt --tls-key-file /home/zabbix/zabbix_get.key
90       zabbix_get   -s   127.0.0.1  -p  10050  -k  "system.cpu.load[all,avg1]"
91       --tls-connect   psk   --tls-psk-identity   "PSK   ID   Zabbix   agentd"
92       --tls-psk-file /home/zabbix/zabbix_agentd.psk
93

SEE ALSO

95       Documentation ⟨https://www.zabbix.com/manuals
96
97       zabbix_agentd(8), zabbix_proxy(8), zabbix_sender(8), zabbix_server(8)
98

AUTHOR

100       Alexei Vladishev <alex@zabbix.com>
101
102
103
104Zabbix                            2019-01-29                     ZABBIX_GET(1)
Impressum