Zabbix Documentation 5.0

3.04.04.4 (current)| In development:5.0 (devel)| Unsupported:1.82.02.22.43.23.44.2Guidelines

User Tools

Site Tools


manpages:zabbix_get

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manpages:zabbix_get [2014/09/30 12:54]
127.0.0.1 external edit
manpages:zabbix_get [2020/03/19 09:13] (current)
martins-v fixing link targets
Line 1: Line 1:
-<​HTML><​HEAD><​TITLE>​Manpage ​of ZABBIX_GET</​TITLE>​+<​HTML><​HEAD><​TITLE>​Man page of ZABBIX_GET</​TITLE>​
 </​HEAD><​BODY>​ </​HEAD><​BODY>​
 <​H1>​ZABBIX_GET</​H1>​ <​H1>​ZABBIX_GET</​H1>​
-Section: ​Maintenance ​Commands (8)<​BR>​Updated: ​5 July 2011<​BR><​A HREF="#​index">​Index</​A>​ +Section: ​User Commands ​ (1)<​BR>​Updated: ​2020-02-29<​BR><​A HREF="#​index">​Index</​A>​ 
-<a href=/​documentation/​2.4/​manpages>​Return to Main Contents</​A><​HR>​+<A HREF="/​documentation/​5.0/manpages">Return to Main Contents</​A><​HR>​
  
 <A NAME="​lbAB">&​nbsp;</​A>​ <A NAME="​lbAB">&​nbsp;</​A>​
 <​H2>​NAME</​H2>​ <​H2>​NAME</​H2>​
  
-zabbix_get - Zabbix get utility.+zabbix_get - Zabbix get utility
 <A NAME="​lbAC">&​nbsp;</​A>​ <A NAME="​lbAC">&​nbsp;</​A>​
 <​H2>​SYNOPSIS</​H2>​ <​H2>​SYNOPSIS</​H2>​
  
-<​B>​zabbix_get [-hV] [-s </​B><​I>​&lt;host name or IP&gt;</​I><​B>​] [-p </​B><​I>​&lt;port number&gt;</​I><​B>​] [-I </​B><​I>​&lt;IP address&gt;</​I><​B>​] [-k </​B><​I>​&lt;item key&gt;</​I><​B>​]</B>+<​B>​zabbix_get ​-s</​B>​ 
 + 
 +<​I>​host-name-or-IP</​I>​ 
 + 
 +[<B>-p</​B>​ 
 + 
 +<​I>​port-number</​I>​] 
 + 
 +[<​B>​-I</​B>​ 
 + 
 +<​I>​IP-address</​I>​] 
 + 
 +<​B>​-k</​B><​I>​ item-key</​I>​ 
 + 
 +<​BR>​ 
 + 
 +<​B>​zabbix_get ​-s</​B>​ 
 + 
 +<​I>​host-name-or-IP</​I>​ 
 + 
 +[<​B>​-p</​B>​ 
 + 
 +<​I>​port-number</​I>​
 + 
 +[<B>​-I</​B>​ 
 + 
 +<​I>​IP-address</​I>] 
 + 
 +<​B>​--tls-connect</​B>​ 
 + 
 +<​B>​cert</​B>​ 
 + 
 +<​B>​--tls-ca-file</​B>​ 
 + 
 +<​I>​CA-file</​I>​ 
 + 
 +[<B>--tls-crl-file</​B>​ 
 + 
 +<I>​CRL-file</​I>​] 
 + 
 +[<​B>​--tls-agent-cert-issuer</B> 
 + 
 +<I>cert-issuer</​I>​] 
 + 
 +[<​B>​--tls-agent-cert-subject</​B>​ 
 + 
 +<​I>​cert-subject</​I>​] 
 + 
 +<​B>​--tls-cert-file</​B>​ 
 + 
 +<​I>​cert-file</​I>​ 
 + 
 +<​B>​--tls-key-file</​B>​ 
 + 
 +<​I>​key-file</​I>​ 
 + 
 +[<​B>​--tls-cipher13</​B>​ 
 + 
 +<​I>​cipher-string</​I>​] 
 + 
 +[<​B>​--tls-cipher</​B>​ 
 + 
 +<​I>​cipher-string</​I>​] 
 + 
 +<​B>​-k</​B><​I>​ item-key</​I>​ 
 + 
 +<​BR>​ 
 + 
 +<​B>​zabbix_get -s</​B>​ 
 + 
 +<​I>​host-name-or-IP</​I>​ 
 + 
 +[<​B>​-p</​B>​ 
 + 
 +<​I>​port-number</​I>​] 
 + 
 +[<​B>​-I</​B>​ 
 + 
 +<​I>​IP-address</​I>​
 + 
 +<B>​--tls-connect</​B>​ 
 + 
 +<​B>​psk</​B>​ 
 + 
 +<​B>​--tls-psk-identity</​B>​ 
 + 
 +<​I>​PSK-identity</​I>​ 
 + 
 +<​B>​--tls-psk-file</​B>​ 
 + 
 +<​I>​PSK-file</​I>​ 
 + 
 +[<​B>​--tls-cipher13</​B>​ 
 + 
 +<​I>​cipher-string</​I>] 
 + 
 +[<​B>​--tls-cipher</​B>​ 
 + 
 +<​I>​cipher-string</​I>​] 
 + 
 +<B>-k</​B><​I>​ item-key</​I>​ 
 + 
 +<​BR>​ 
 + 
 +<B>zabbix_get -h</​B>​ 
 + 
 +<​BR>​ 
 + 
 +<​B>​zabbix_get -V</B>
  
 <A NAME="​lbAD">&​nbsp;</​A>​ <A NAME="​lbAD">&​nbsp;</​A>​
Line 19: Line 127:
 <​B>​zabbix_get</​B>​ <​B>​zabbix_get</​B>​
  
-is a command line utility for getting data from a remote ​Zabbix agent.+is a command line utility for getting data from Zabbix agent.
 <A NAME="​lbAE">&​nbsp;</​A>​ <A NAME="​lbAE">&​nbsp;</​A>​
-<H3>Options</H3>+<H2>OPTIONS</H2>
  
 <DL COMPACT> <DL COMPACT>
-<​DT>​-s,​ --host <I>&lt;host name or IP&gt;</​I><​DD>​+<DT><B>-s</B><B>--host</​B> ​<​I>​host-name-or-IP</​I><​DD>​
 Specify host name or IP address of a host. Specify host name or IP address of a host.
-<​DT>​-p,​ --port <I>&lt;port number&gt;</​I><​DD>​ +<DT><B>-p</B><B>--port</​B> ​<​I>​port-number</​I><​DD>​ 
-Specify port number of agent running on the host. Default is 10050. +Specify port number of agent running on the host. 
-<​DT>​-I,​ --source-address <I>&lt;IP address&gt;</​I><​DD>​+Default is 10050. 
 +<DT><B>-I</B><B>--source-address</​B> ​<I>IP-address</​I><​DD>​
 Specify source IP address. Specify source IP address.
-<​DT>​-k,​ --key <I>&lt;item key&gt;</​I><​DD>​+<DT><B>-k</B><B>--key</​B> ​<​I>​item-key</​I><​DD>​
 Specify key of item to retrieve value for. Specify key of item to retrieve value for.
-<​DT>​-h,​ --help<​DD>​+<DT><​B>​--tls-connect</​B>​ <​I>​value</​I><​DD>​ 
 +How to connect to agent. Values: 
 +</​DL>​ 
 +<A NAME="​lbAF">&​nbsp;</​A>​ 
 +<​H3><​DL COMPACT><​DT><​DD>​ 
 +</​H3>​ 
 + 
 +<DL COMPACT>​ 
 +<​DT><​B>​unencrypted</​B>​ 
 + 
 +<​DD>​ 
 +connect without encryption (default) 
 +</​DL>​ 
 +</​DL>​ 
 + 
 +<DL COMPACT><​DT><​DD>​ 
 +<DL COMPACT>​ 
 +<​DT><​B>​psk</​B>​ 
 + 
 +<​DD>​ 
 +connect using TLS and a pre-shared key 
 +</​DL>​ 
 +</​DL>​ 
 + 
 +<DL COMPACT><​DT><​DD>​ 
 +<DL COMPACT>​ 
 +<​DT><​B>​cert</​B>​ 
 + 
 +<​DD>​ 
 +connect using TLS and a certificate 
 +</​DL>​ 
 +</​DL>​ 
 + 
 +</​DL>​ 
 + 
 +<DL COMPACT>​ 
 +<​DT><​B>​--tls-ca-file</​B>​ <​I>​CA-file</​I><​DD>​ 
 +Full pathname of a file containing the top-level CA(s) certificates for peer certificate verification. 
 +<​DT><​B>​--tls-crl-file</​B>​ <​I>​CRL-file</​I><​DD>​ 
 +Full pathname of a file containing revoked certificates. 
 +<​DT><​B>​--tls-agent-cert-issuer</​B>​ <​I>​cert-issuer</​I><​DD>​ 
 +Allowed agent certificate issuer. 
 +<​DT><​B>​--tls-agent-cert-subject</​B>​ <​I>​cert-subject</​I><​DD>​ 
 +Allowed agent certificate subject. 
 +<​DT><​B>​--tls-cert-file</​B>​ <​I>​cert-file</​I><​DD>​ 
 +Full pathname of a file containing the certificate or certificate chain. 
 +<​DT><​B>​--tls-key-file</​B>​ <​I>​key-file</​I><​DD>​ 
 +Full pathname of a file containing the private key. 
 +<​DT><​B>​--tls-psk-identity</​B>​ <​I>​PSK-identity</​I><​DD>​ 
 +PSK-identity string. 
 +<​DT><​B>​--tls-psk-file</​B>​ <​I>​PSK-file</​I><​DD>​ 
 +Full pathname of a file containing the pre-shared key. 
 +<​DT><​B>​--tls-cipher13</​B>​ <​I>​cipher-string</​I><​DD>​ 
 +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. 
 +<​DT><​B>​--tls-cipher</​B>​ <​I>​cipher-string</​I><​DD>​ 
 +GnuTLS priority string (for TLS 1.2 and up) or OpenSSL cipher string (only for TLS 1.2). Override the default ciphersuite selection criteria. 
 +<​DT><​B>-h</B><B>--help</B><DD>
 Display this help and exit. Display this help and exit.
-<​DT>​-V,​ --version<​DD>​+<DT><B>-V</B><B>--version</B><DD>
 Output version information and exit. Output version information and exit.
 </DL> </DL>
-<A NAME="lbAF">&​nbsp;</​A>​+<A NAME="lbAG">&​nbsp;</​A>​
 <​H2>​EXAMPLES</​H2>​ <​H2>​EXAMPLES</​H2>​
  
-<​B>​zabbix_get -s 127.0.0.1 -p 10050 -k system.cpu.load[all,​avg1]</​B>​+<​B>​zabbix_get -s 127.0.0.1 -p 10050 -k &quot;system.cpu.load[all,​avg1]&quot;</B
 +<BR>
  
-<A NAME="lbAG">&​nbsp;</​A>​+<​B>​zabbix_get -s 127.0.0.1 -p 10050 -k &​quot;​system.cpu.load[all,​avg1]&​quot;​ --tls-connect cert --tls-ca-file /​home/​zabbix/​zabbix_ca_file --tls-agent-cert-issuer &​quot;​CN=Signing CA,OU=IT operations,​O=Example Corp,​DC=example,​DC=com&​quot;​ --tls-agent-cert-subject &​quot;​CN=server1,​OU=IT operations,​O=Example Corp,​DC=example,​DC=com&​quot;​ --tls-cert-file /​home/​zabbix/​zabbix_get.crt --tls-key-file /​home/​zabbix/​zabbix_get.key 
 +<​BR>​ 
 + 
 +zabbix_get -s 127.0.0.1 -p 10050 -k &​quot;​system.cpu.load[all,​avg1]&​quot;​ --tls-connect psk --tls-psk-identity &​quot;​PSK ID Zabbix agentd&​quot;​ --tls-psk-file /​home/​zabbix/​zabbix_agentd.psk</​B>​ 
 +<A NAME="lbAH">&​nbsp;</​A>​
 <​H2>​SEE ALSO</​H2>​ <​H2>​SEE ALSO</​H2>​
 +
 +
 +
 +
 +
 +Documentation
 +
 +
 +<A HREF="​https://​www.zabbix.com/​manuals">​https://​www.zabbix.com/​manuals</​A>​
 +
 +
 +
 +<P>
 +
 +<​B><​A HREF="​zabbix_agent2">​zabbix_agent2</​A></​B>​(8),​
  
 <​B><​A HREF="​zabbix_agentd">​zabbix_agentd</​A></​B>​(8),​ <​B><​A HREF="​zabbix_agentd">​zabbix_agentd</​A></​B>​(8),​
 +
 +<​B><​A HREF="​zabbix_js">​zabbix_js</​A></​B>​(1),​
  
 <​B><​A HREF="​zabbix_proxy">​zabbix_proxy</​A></​B>​(8),​ <​B><​A HREF="​zabbix_proxy">​zabbix_proxy</​A></​B>​(8),​
  
-<​B><​A HREF="​zabbix_sender">​zabbix_sender</​A></​B>​(8),+<​B><​A HREF="​zabbix_sender">​zabbix_sender</​A></​B>​(1),
  
 <​B><​A HREF="​zabbix_server">​zabbix_server</​A></​B>​(8) <​B><​A HREF="​zabbix_server">​zabbix_server</​A></​B>​(8)
  
-<A NAME="lbAH">&​nbsp;</​A>​+<A NAME="lbAI">&​nbsp;</​A>​
 <​H2>​AUTHOR</​H2>​ <​H2>​AUTHOR</​H2>​
  
Line 65: Line 252:
 <​DT><​A HREF="#​lbAC">​SYNOPSIS</​A><​DD>​ <​DT><​A HREF="#​lbAC">​SYNOPSIS</​A><​DD>​
 <​DT><​A HREF="#​lbAD">​DESCRIPTION</​A><​DD>​ <​DT><​A HREF="#​lbAD">​DESCRIPTION</​A><​DD>​
 +<​DT><​A HREF="#​lbAE">​OPTIONS</​A><​DD>​
 <DL> <DL>
-<​DT><​A HREF="#​lbAE">Options</​A><​DD>​+<​DT><​A HREF="#​lbAF"><DL COMPACT><​DT><​DD>​ 
 +</​A><​DD>​
 </DL> </DL>
-<​DT><​A HREF="#​lbAF">​EXAMPLES</​A><​DD>​ +<​DT><​A HREF="#​lbAG">​EXAMPLES</​A><​DD>​ 
-<​DT><​A HREF="#​lbAG">​SEE ALSO</​A><​DD>​ +<​DT><​A HREF="#​lbAH">​SEE ALSO</​A><​DD>​ 
-<​DT><​A HREF="#​lbAH">​AUTHOR</​A><​DD>​+<​DT><​A HREF="#​lbAI">​AUTHOR</​A><​DD>​
 </DL> </DL>
 <HR> <HR>
 This document was created by This document was created by
-man2html,+<A HREF="/​cgi-bin/​man/​man2html">​man2html</​A>​,
 using the manual pages.<​BR>​ using the manual pages.<​BR>​
-Time: 14:47:43 GMT, July 232012+Time: 20:50:27 GMT, March 182020
 </​BODY>​ </​BODY>​
 </​HTML>​ </​HTML>​