These are the source files for packaging a binary zabbix_agentd. The installer itself can be downloaded at the releases: https://github.com/mipmip/zabbix_agentd_osx_installer/releases
Make sure to replace the variables in /usr/local/etc/zabbix/etc/zabbix/zabbix_agentd.conf
after installing and before
starting the agent deamon.
Server=0.0.0.0
Hostname=yourhostname
The agent starts automaticly at boot time. To start is manually enter:
sudo launchctl load /Library/LaunchDaemons/com.zabbix.zabbix_agentd.plist
Launchctl unload does not work. Use the command below.
sudo kill -9 `ps -aef | grep zabbix_agentd | grep -v grep | awk '{print $2}'`
Before you can build an installer pkg you shoud have xcode command line tools and PackageMaker.app installed.
rake create[/path/to/zabbix_source_code.tar.bz]