Zabbix Documentation 5.2

3.04.05.0 (current)| In development:5.2 (devel)| Unsupported:1.82.02.22.43.23.44.24.4Guidelines

User Tools

Site Tools


manual:installation:install:mac_agent

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
manual:installation:install:mac_agent [2019/10/07 06:35]
127.0.0.1 external edit
manual:installation:install:mac_agent [2020/06/26 13:33] (current)
yuriii replaced svn with git
Line 8: Line 8:
  
 You will need command line developer tools (Xcode is not required), Automake, pkg-config and PCRE (v8.x). If you want to build agent binaries with TLS, you will also need OpenSSL or GnuTLS. You will need command line developer tools (Xcode is not required), Automake, pkg-config and PCRE (v8.x). If you want to build agent binaries with TLS, you will also need OpenSSL or GnuTLS.
- 
-To install command line developer tools, open terminal and run svn command. Instead of printing short help message, it will display informative message about missing command line developer tools and open new GUI window for installing them. Press "​Install"​ in the dialog window. 
  
 To install Automake and pkg-config, you will need a Homebrew package manager from https://​brew.sh/​. To install it, open terminal and run the following command: To install Automake and pkg-config, you will need a Homebrew package manager from https://​brew.sh/​. To install it, open terminal and run the following command:
Line 39: Line 37:
 Download Zabbix source: Download Zabbix source:
  
-  $ svn export svn://svn.zabbix.com/​trunk zabbix-source+  $ git clone https://git.zabbix.com/​scm/zbx/zabbix.git
  
 Build agent without TLS: Build agent without TLS:
  
-  $ cd zabbix-source/+  $ cd zabbix
   $ ./​bootstrap.sh   $ ./​bootstrap.sh
   $ ./configure --sysconfdir=/​usr/​local/​etc/​zabbix --enable-agent --enable-ipv6   $ ./configure --sysconfdir=/​usr/​local/​etc/​zabbix --enable-agent --enable-ipv6
Line 51: Line 49:
 Build agent with OpenSSL: Build agent with OpenSSL:
  
-  $ cd zabbix-source/+  $ cd zabbix
   $ ./​bootstrap.sh   $ ./​bootstrap.sh
   $ ./configure --sysconfdir=/​usr/​local/​etc/​zabbix --enable-agent --enable-ipv6 --with-openssl=/​usr/​local/​opt/​openssl   $ ./configure --sysconfdir=/​usr/​local/​etc/​zabbix --enable-agent --enable-ipv6 --with-openssl=/​usr/​local/​opt/​openssl
Line 85: Line 83:
 Download Zabbix source and build agent: Download Zabbix source and build agent:
  
-  $ svn export svn://svn.zabbix.com/​trunk zabbix-source +  $ git clone https://git.zabbix.com/​scm/zbx/zabbix.git 
-  $ cd zabbix-source/+  $ cd zabbix
   $ ./​bootstrap.sh   $ ./​bootstrap.sh
   $ ./configure --sysconfdir=/​usr/​local/​etc/​zabbix --enable-agent --enable-ipv6 --with-libpcre="​$PCRE_PREFIX"​   $ ./configure --sysconfdir=/​usr/​local/​etc/​zabbix --enable-agent --enable-ipv6 --with-libpcre="​$PCRE_PREFIX"​
Line 130: Line 128:
 Download Zabbix source and build agent: Download Zabbix source and build agent:
  
-  $ svn export svn://svn.zabbix.com/​trunk zabbix-source +  $ git clone https://git.zabbix.com/​scm/zbx/zabbix.git 
-  $ cd zabbix-source/+  $ cd zabbix
   $ ./​bootstrap.sh   $ ./​bootstrap.sh
   $ ./configure --sysconfdir=/​usr/​local/​etc/​zabbix --enable-agent --enable-ipv6 --with-libpcre="​$PCRE_PREFIX"​ --with-openssl="​$OPENSSL_PREFIX"​   $ ./configure --sysconfdir=/​usr/​local/​etc/​zabbix --enable-agent --enable-ipv6 --with-libpcre="​$PCRE_PREFIX"​ --with-openssl="​$OPENSSL_PREFIX"​
Line 178: Line 176:
 Download Zabbix source and build agent: Download Zabbix source and build agent:
  
-  $ svn export svn://svn.zabbix.com/​trunk zabbix-source +  $ git clone https://git.zabbix.com/​scm/zbx/zabbix.git 
-  $ cd zabbix-source/+  $ cd zabbix
   $ ./​bootstrap.sh   $ ./​bootstrap.sh
   $ CFLAGS="​-Wno-unused-command-line-argument -framework Foundation -framework Security"​ \   $ CFLAGS="​-Wno-unused-command-line-argument -framework Foundation -framework Security"​ \