[comment]: # ({1f60eb7e-dabb0bd5})
# zabbix\_get

Szakasz: Felhasználói parancsok (1)\
Frissítve: 2021-06-01\
[Index](#index) [Vissza a fő tartalomhoz](/documentation/6.0/manpages)

-------------------------------------------------- ----------------------

[ ]{#lbAB}

[comment]: # ({/1f60eb7e-dabb0bd5})

[comment]: # ({0ba1ce53-0ba1ce53})
## NÉV

zabbix\_get – Zabbix get utility[ ]{#lbAC}

[comment]: # ({/0ba1ce53-0ba1ce53})

[comment]: # ({60e7e93b-60e7e93b})
## SZINOPSZIS

**zabbix\_get -s** *host-name-or-IP* \[**-p** *port-number*\] \[**-I**
*IP-address*\] \[**-t** *timeout*\] **-k** *item-key*\
**zabbix\_get -s** *host-name-or-IP* \[**-p** *port-number*\] \[**-I**
*IP-address*\] \[**-t** *timeout*\] **--tls-connect** **cert**
**--tls-ca-file** *CA-file* \[**--tls-crl-file** *CRL-file*\]
\[**--tls-agent-cert-issuer** *cert-issuer*\]
\[**--tls-agent-cert-subject** *cert-subject*\] **--tls-cert-file**
*cert-file* **--tls-key-file** *key-file* \[**--tls-cipher13**
*cipher-string*\] \[**--tls-cipher** *cipher-string*\] **-k**
*item-key*\
**zabbix\_get -s** *host-name-or-IP* \[**-p** *port-number*\] \[**-I**
*IP-address*\] \[**-t** *timeout*\] **--tls-connect** **psk**
**--tls-psk-identity** *PSK-identity* **--tls-psk-file** *PSK-file*
\[**--tls-cipher13** *cipher-string*\] \[**--tls-cipher**
*cipher-string*\] **-k** *item-key*\
**zabbix\_get -h**\
**zabbix\_get -V** [ ]{#lbAD}

[comment]: # ({/60e7e93b-60e7e93b})

[comment]: # ({da08bc1a-da08bc1a})
## LEÍRÁS

A **zabbix\_get** egy parancssori segédprogram, amellyel adatokat kaphat a Zabbix
agent-től. [ ]{#lbAE}

[comment]: # ({/da08bc1a-da08bc1a})

[comment]: # ({4ab1a759-4ab1a759})
## LEHETŐSÉGEK

**-s**, **--host** *host-name-or-IP*
Adja meg a gazdagép nevét vagy IP-címét.

**-p**, **--port** *port-number*
Adja meg a gazdagépen futó ügynök portszámát. Az alapértelmezett 10050.

**-I**, **--source-address** *IP-address*
Adja meg a forrás IP-címét.

**-t**, **--timeout** *seconds*
Adja meg az időtúllépést. Érvényes tartomány: 1-30 másodperc (alapértelmezett: 30)

**-k**, **--key** *item-key*
Adja meg az elem kulcsát az érték lekéréséhez.

**--tls-connect** *value*
Hogyan lehet csatlakozni az ügynökhöz. Értékek:

[ ]{#lbAF}

[comment]: # ({/4ab1a759-4ab1a759})

[comment]: # ({new-465bc4c8})
### 

  
**unencrypted**  
connect without encryption (default)

```{=html}
<!-- -->
```
  
**psk**  
connect using TLS and a pre-shared key

```{=html}
<!-- -->
```
  
**cert**  
connect using TLS and a certificate

```{=html}
<!-- -->
```
**--tls-ca-file** *CA-file*  
Full pathname of a file containing the top-level CA(s) certificates for
peer certificate verification.

**--tls-crl-file** *CRL-file*  
Full pathname of a file containing revoked certificates.

**--tls-agent-cert-issuer** *cert-issuer*  
Allowed agent certificate issuer.

**--tls-agent-cert-subject** *cert-subject*  
Allowed agent certificate subject.

**--tls-cert-file** *cert-file*  
Full pathname of a file containing the certificate or certificate chain.

**--tls-key-file** *key-file*  
Full pathname of a file containing the private key.

**--tls-psk-identity** *PSK-identity*  
PSK-identity string.

**--tls-psk-file** *PSK-file*  
Full pathname of a file containing the pre-shared key.

**--tls-cipher13** *cipher-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-cipher** *cipher-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.

**-h**, **--help**  
Display this help and exit.

**-V**, **--version**  
Output version information and exit.

[ ]{#lbAG}

[comment]: # ({/new-465bc4c8})

[comment]: # ({c5e4d00b-c5e4d00b})
## PÉLDÁK

**zabbix\_get -s 127.0.0.1 -p 10050 -k "system.cpu.load\[all,avg1\]"**\
**zabbix\_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\
zabbix\_get -s 127.0.0.1 -p 10050 -k "system.cpu.load\[all,avg1\]"
--tls-connect psk --tls-psk-identity "PSK ID Zabbix agent"
--tls-psk-file /home/zabbix/zabbix\_agentd.psk** [ ]{#lbAH}

[comment]: # ({/c5e4d00b-c5e4d00b})

[comment]: # ({0ed7cca7-0ed7cca7})
## LÁSD MÉG

Dokumentáció <https://www.zabbix.com/manuals>

**[zabbix\_agentd](zabbix_agentd)**(8),
**[zabbix\_proxy](zabbix_proxy)**(8),
**[zabbix\_sender](zabbix_sender)**(1),
**[zabbix\_server](zabbix_server)**(8), **[zabbix\_js](zabbix_js)**(1),
**[zabbix\_agent2](zabbix_agent2)**(8),
**[zabbix\_web\_service](zabbix_web_service)**(8) [ ]{#lbAI}

[comment]: # ({/0ed7cca7-0ed7cca7})

[comment]: # ({8b7ac76c-aaed5529})
## SZERZŐ

Alekszej Vladisev <[[\[e-mail védett\]]{.__cf_email__
cfemail="254449405d655f4447474c5d0b464a48"}](/cdn-cgi/l/email-protection#eb8a878e93ab918a89898293c5888486)>

-------------------------------------------------- ----------------------

[ ]{#index}

[comment]: # ({/8b7ac76c-aaed5529})

[comment]: # ({d4e9c93e-bdb17437})
## Index

[NÉV](# lbAB)

[SZINOPSZIS](#lbAC)

[LEÍRÁS](#lbAD)

[OPCIÓK](#lbAE)

[](#lbAF)

  

[FÁJLOK](#lbAG)

[LÁSD MÉG] (#lbAH)

[SZERZŐ](#lbAI)

-------------------------------------------------- ----------------------

Ezt a dokumentumot a [man2html](/man/man2html) készítette a kézikönyv segítségével
oldalak.\
Időpont: 2021. november 22., 14:07:57 GMT

[comment]: # ({/d4e9c93e-bdb17437})
