Zabbix Agent Mac Os X Download
If you apply Zabbix for monitoring your systems, and accept any MacOS systems, y'all may exist disappointed to notice out that the precompiled binaries for zabbix_agent are not made available for download. Lucky for us setup of zabbix_agent on macos doesn't need to be painful.
Get-go we need to install homebrew. If y'all practice not already have information technology installed, simply open up the terminal and enter the following:
/usr/bin/cerise -e "$(curl -fsSLhttps://raw.githubusercontent.com/Homebrew/install/master/install)"
Next we tin install the zabbix agent. Make sure you specify the –without-server-proxy to force the installer to just install the agent.
mash install zabbix --without-server-proxy
Mash will go along to install a agglomeration of stuff for u.s.. Double check if any of the warnings apply to you.
==> Installing dependencies for zabbix: openssl, pcre ==> Installing zabbix dependency: openssl ==> Downloading https://homebrew.bintray.com/bottles/openssl-i.0.2o_2.el_capitan.canteen.tar.gz ######################################################################## 100.0% ==> Pouring openssl-i.0.2o_2.el_capitan.canteen.tar.gz ==> Caveats A CA file has been bootstrapped using certificates from the SystemRoots keychain. To add additional certificates (e.g. the certificates added in the System keychain), place .pem files in /usr/local/etc/openssl/certs and run /usr/local/opt/openssl/bin/c_rehash This formula is keg-only, which means information technology was non symlinked into /usr/local, because Apple has deprecated apply of OpenSSL in favor of its own TLS and crypto libraries. If y'all need to have this software first in your PATH run: echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profile For compilers to discover this software you lot may demand to ready: LDFLAGS: -L/usr/local/opt/openssl/lib CPPFLAGS: -I/usr/local/opt/openssl/include ==> Summary 🍺 /usr/local/Cellar/openssl/ane.0.2o_2: 1,792 files, 12.2MB ==> Installing zabbix dependency: pcre ==> Downloading https://homebrew.bintray.com/bottles/pcre-viii.42.el_capitan.bottle.tar.gz ######################################################################## 100.0% ==> Pouring pcre-8.42.el_capitan.canteen.tar.gz 🍺 /usr/local/Cellar/pcre/8.42: 204 files, 5.4MB ==> Installing zabbix --without-server-proxy ==> Downloading https://downloads.sourceforge.net/project/zabbix/ZABBIX%20Latest%20Stable/3.4.11/zabbix-three.4.11.tar.gz ==> Downloading from https://ayera.dl.sourceforge.internet/project/zabbix/ZABBIX%20Latest%20Stable/iii.four.xi/zabbix-3.4.11.tar.gz ######################################################################## 100.0% ==> ./configure --prefix=/usr/local/Cellar/zabbix/3.4.xi --sysconfdir=/usr/local/etc/zabbix --enable-amanuensis --with-iconv=/usr --with-libpcre=/usr/local/opt/pcre --with-openssl=/usr/local/opt/openssl ==> make install 🍺 /usr/local/Cellar/zabbix/3.four.eleven: 13 files, 1.4MB, congenital in i minute 8 seconds ==> Caveats ==> openssl A CA file has been bootstrapped using certificates from the SystemRoots keychain. To add additional certificates (eastward.1000. the certificates added in the Organization keychain), place .pem files in /usr/local/etc/openssl/certs and run /usr/local/opt/openssl/bin/c_rehash This formula is keg-only, which ways information technology was not symlinked into /usr/local, considering Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries. If you demand to take this software first in your PATH run: echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profile For compilers to find this software y'all may demand to gear up: LDFLAGS: -L/usr/local/opt/openssl/lib CPPFLAGS: -I/usr/local/opt/openssl/include
If everything went will you lot should accept zabbix_agentd installed. The setup also installs zabbix_get and zabbix_sender for you as well.
Next you will need to edit the /usr/local/etc/zabbix/zabbix_agentd.conf.
Yous tin at present starting time the agent by issueing the following command at the last
/usr/local/sbin/zabbix_agentd
After you lot take ready the zabbix_agent the way y'all want, you will need to build a .plist file and so that you can set the agent to starting time on boot. The zabbix_agent does not like to launch as root, so in System Preferences, become to Users & Groups and create a Standard user. called "zabbix_agentd" with no home directory or password or e-mail.
sudo nano /Library/LaunchDaemons/org.zabbix.zabbix_agent.plist
Paste the following information into the file
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple tree//DTD PLIST 1.0//EN" "http://world wide web.apple.com/DTDs/PropertyList-one.0.dtd"> <plist version="i.0"> <dict> <key>Label</key> <string>org.zabbix.zabbix_agent</string> <cardinal>ProgramArguments</key> <array> <string>/usr/local/sbin/zabbix_agentd</string> </array> <primal>RunAtLoad</key> <truthful/> <key>UserName</primal> <string>zabbix-agent</cord> </dict> </plist>
Y'all can now create your host in the zabbix spider web admin. What to practise there is a topic for another day.
Hope this has helped you, allow me know!
Ben has been building VoIP solutions for over xv years, has over 25 years of Linux administration experience, and enjoys trouble-solving. When he is not coding something in Python, or tinkering with some project, you tin can often find him wandering through the forests and parks of the Pacific Northwest enjoying waterfalls, trails, and animals.
Zabbix Agent Mac Os X Download UPDATED Free
Posted by: maryovestint.blogspot.com