zabbix: add fping dependency
If fping is not installed on the system the following message is show if hosts should be monitored via icmp. Log-Message: "At least one of '/usr/sbin/fping', '/usr/sbin/fping6' must exist. Both are missing in the system." To fix this also, add a dependency to 'fping' for 'zabbix-server' and 'zabbix-proxy' for installation to allow icmp hosts monitoring. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
parent
bcc877e73c
commit
672a655d6b
1 changed files with 9 additions and 3 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=zabbix
|
PKG_NAME:=zabbix
|
||||||
PKG_VERSION:=5.0.18
|
PKG_VERSION:=5.0.18
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://cdn.zabbix.com/zabbix/sources/stable/5.0/
|
PKG_SOURCE_URL:=https://cdn.zabbix.com/zabbix/sources/stable/5.0/
|
||||||
|
@ -113,7 +113,10 @@ endef
|
||||||
define Package/zabbix-server
|
define Package/zabbix-server
|
||||||
$(call Package/zabbix/Default)
|
$(call Package/zabbix/Default)
|
||||||
TITLE+= server
|
TITLE+= server
|
||||||
DEPENDS += +ZABBIX_POSTGRESQL:libpq +ZABBIX_MYSQL:libmariadbclient +libevent2
|
DEPENDS += +ZABBIX_POSTGRESQL:libpq \
|
||||||
|
+ZABBIX_MYSQL:libmariadbclient \
|
||||||
|
+libevent2 \
|
||||||
|
+fping
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/zabbix-server-frontend
|
define Package/zabbix-server-frontend
|
||||||
|
@ -127,7 +130,10 @@ endef
|
||||||
define Package/zabbix-proxy
|
define Package/zabbix-proxy
|
||||||
$(call Package/zabbix/Default)
|
$(call Package/zabbix/Default)
|
||||||
TITLE+= proxy
|
TITLE+= proxy
|
||||||
DEPENDS += +ZABBIX_POSTGRESQL:libpq +ZABBIX_MYSQL:libmariadbclient +libevent2
|
DEPENDS += +ZABBIX_POSTGRESQL:libpq \
|
||||||
|
+ZABBIX_MYSQL:libmariadbclient \
|
||||||
|
+libevent2 \
|
||||||
|
+fping
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/zabbix-extra-mac80211/description
|
define Package/zabbix-extra-mac80211/description
|
||||||
|
|
Loading…
Reference in a new issue