On a new install, the zabbix 3.4.5 package is filling logs up with: zabbix_server[44584]: At least one of '/usr/sbin/fping', '/usr/sbin/fping6' must exist. Both are missing in the system. The fping package was previously installed, but it puts the binaries in the standard FreeBSD location: /usr/local/sbin/. I have used the obvious work-around: ln -s /usr/local/sbin/fping /usr/sbin/fping
Please find into zabbix_server.conf.sample the following parameters: $ grep fping /usr/local/etc/zabbix34/zabbix_server.conf.sample # Location of fping. # Make sure that fping binary has root ownership and SUID flag set. # FpingLocation=/usr/local/sbin/fping # Location of fping6. # Make sure that fping6 binary has root ownership and SUID flag set. # Make empty if your fping utility is capable to process IPv6 addresses. # Fping6Location=/usr/local/sbin/fping6
Created attachment 190895 [details] zabbix-fping.patch Humm, the ports are patching fping location only in the config file, so the default location is wrong. The attached patch fixes this.
A commit references this bug: Author: dbaio Date: Thu Feb 22 17:08:47 UTC 2018 New revision: 462615 URL: https://svnweb.freebsd.org/changeset/ports/462615 Log: net-mgmt/zabbix*: Fix fping location Zabbix ports were patching fping location only in the config file, so the default location of fping was wrong. PR: 225956 Reported by: markham_breitbach@ssimicro.com Approved by: Pakhom Golynga <pg@pakhom.spb.ru> (maintainer) Changes: head/net-mgmt/zabbix2-server/Makefile head/net-mgmt/zabbix22-server/Makefile head/net-mgmt/zabbix3-server/Makefile head/net-mgmt/zabbix32-server/Makefile head/net-mgmt/zabbix34-server/Makefile
Committed, thanks!