After "fixing" the bug I noticed that the Zabbix server also uses fping6, I
started getting this error in the logs:
  5549:20090502:211733 /usr/sbin/fping6: [2] No such file or directory

So you alalso have to define this in the Zabbix configuration file:

Fping6Location=/usr/bin/fping6

Attached is an updated patch.

With this zabbix starts working as expected:

zabbix    5791  5771  0 21:20 ?        00:00:00 sh -c /usr/bin/fping -c3
2>/dev/null </tmp/zabbix_server_5771.pinger;/usr/bin/fping6 -c3 2>/dev/null
</tmp/zabbix_server_5771.pinger

Regards

Javier
--- debian/templates/zabbix_server.conf.in.orig	2009-05-02 21:14:43.000000000 +0200
+++ debian/templates/zabbix_server.conf.in	2009-05-02 21:31:10.000000000 +0200
@@ -107,9 +107,14 @@
 # Location for custom alert scripts
 AlertScriptsPath=/etc/zabbix/alert.d/
 
-# Location of 'fping. Default is /usr/sbin/fping
+# Location of fping. Default is /usr/sbin/fping
 # Make sure that fping binary has root permissions and SUID flag set
-#FpingLocation=/usr/sbin/fping
+FpingLocation=/usr/bin/fping
+
+# Location of fping6. Default is /usr/sbin/fping6
+# Make sure that fping6 binary has root permissions and SUID flag set
+Fping6Location=/usr/bin/fping6
+
 
 # Frequency of ICMP pings (item keys 'icmpping' and 'icmppingsec'). Defauls is 60 seconds.
 #PingerFrequency=60

Attachment: signature.asc
Description: Digital signature

Reply via email to