Change default path of fping on Debian based OSes
Zabbix server uses fping for icmpping, icmppingloss and icmppingsec checks. By default it tries to locate it in /usr/sbin/ which is no longer valid for Ubuntu/Debian. See https://support.zabbix.com/browse/ZBXNEXT-1260 for more details. Closes-bug: 1525189 Change-Id: I9e5384b17fecebae04fb90c6b0bda4783f10ce9d
This commit is contained in:
committed by
Olivier Bourdon
parent
a9ac52e672
commit
ac3edcec5b
@@ -125,11 +125,19 @@ ExternalScripts=<%= scope.lookupvar('plugin_zabbix::params::server_scripts') %>
|
|||||||
|
|
||||||
# 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
|
# Make sure that fping binary has root permissions and SUID flag set
|
||||||
|
<%- if @osfamily == 'Debian' then -%>
|
||||||
|
FpingLocation=/usr/bin/fping
|
||||||
|
<%- else -%>
|
||||||
#FpingLocation=/usr/sbin/fping
|
#FpingLocation=/usr/sbin/fping
|
||||||
|
<%- end -%>
|
||||||
|
|
||||||
# Location of fping6. Default is /usr/sbin/fping6
|
# Location of fping6. Default is /usr/sbin/fping6
|
||||||
# Make sure that fping binary has root permissions and SUID flag set
|
# Make sure that fping binary has root permissions and SUID flag set
|
||||||
|
<%- if @osfamily == 'Debian' then -%>
|
||||||
|
Fping6Location=/usr/bin/fping6
|
||||||
|
<%- else -%>
|
||||||
#Fping6Location=/usr/sbin/fping6
|
#Fping6Location=/usr/sbin/fping6
|
||||||
|
<%- end -%>
|
||||||
|
|
||||||
# Temporary directory. Default is /tmp
|
# Temporary directory. Default is /tmp
|
||||||
#TmpDir=/tmp
|
#TmpDir=/tmp
|
||||||
|
|||||||
Reference in New Issue
Block a user