2020-04-23 09:17:52 +02:00
|
|
|
config BR2_PACKAGE_ZABBIX
|
|
|
|
bool "zabbix"
|
|
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC
|
2023-02-13 19:15:23 +01:00
|
|
|
select BR2_PACKAGE_PCRE2
|
2020-04-23 09:17:52 +02:00
|
|
|
help
|
|
|
|
Zabbix is an enterprise-class open source distributed
|
2022-01-08 14:19:21 +01:00
|
|
|
monitoring solution. Zabbix is free of cost. Zabbix is
|
|
|
|
written and distributed under the GPL General Public License
|
|
|
|
version 2.
|
2020-04-23 09:17:52 +02:00
|
|
|
|
|
|
|
https://zabbix.com
|
|
|
|
|
|
|
|
comment "zabbix need glibc"
|
|
|
|
depends on !BR2_TOOLCHAIN_USES_GLIBC
|
|
|
|
|
|
|
|
if BR2_PACKAGE_ZABBIX
|
|
|
|
|
|
|
|
comment "zabbix server needs C++ and threads or wchar and dynamic libs"
|
|
|
|
depends on BR2_USE_MMU
|
|
|
|
depends on \
|
|
|
|
!(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS) && \
|
|
|
|
!(BR2_USE_WCHAR && !BR2_STATIC_LIBS)
|
|
|
|
|
|
|
|
config BR2_PACKAGE_ZABBIX_SERVER
|
|
|
|
bool "zabbix server"
|
|
|
|
depends on BR2_USE_MMU # mysql, postgresql
|
|
|
|
depends on \
|
|
|
|
(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS) || \
|
2023-10-15 23:22:42 +02:00
|
|
|
(BR2_USE_WCHAR && !BR2_STATIC_LIBS && !BR2_OPTIMIZE_FAST)
|
2020-04-23 09:17:52 +02:00
|
|
|
select BR2_PACKAGE_ZLIB
|
|
|
|
select BR2_PACKAGE_LIBEVENT
|
|
|
|
|
|
|
|
if BR2_PACKAGE_ZABBIX_SERVER
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "server database backend"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_ZABBIX_SERVER_MYSQL
|
|
|
|
bool "mysql"
|
|
|
|
depends on BR2_INSTALL_LIBSTDCPP # mysql
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # mysql
|
2024-03-03 21:46:41 +01:00
|
|
|
select BR2_PACKAGE_MARIADB
|
2020-04-23 09:17:52 +02:00
|
|
|
|
|
|
|
config BR2_PACKAGE_ZABBIX_SERVER_POSTGRESQL
|
|
|
|
bool "postgresql"
|
|
|
|
depends on BR2_USE_WCHAR # postgresql
|
|
|
|
depends on !BR2_STATIC_LIBS # postgresql
|
2022-04-19 21:32:15 +02:00
|
|
|
depends on !BR2_OPTIMIZE_FAST # postgresql
|
2020-04-23 09:17:52 +02:00
|
|
|
select BR2_PACKAGE_POSTGRESQL
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config BR2_PACKAGE_ZABBIX_SERVER_COPY_DUMPS
|
|
|
|
bool "install SQL dumps"
|
|
|
|
help
|
|
|
|
Copy initial database dumps to /var/lib/zabbix/schema
|
|
|
|
|
|
|
|
These still need to be imported into the database by hand.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_ZABBIX_SERVER_COPY_FRONTEND
|
|
|
|
bool "install web UI to target"
|
|
|
|
depends on BR2_PACKAGE_PHP # runtime
|
|
|
|
select BR2_PACKAGE_PHP_EXT_MYSQLI if BR2_PACKAGE_ZABBIX_SERVER_MYSQL
|
|
|
|
select BR2_PACKAGE_PHP_EXT_PGSQL if BR2_PACKAGE_ZABBIX_SERVER_POSTGRESQL
|
|
|
|
select BR2_PACKAGE_PHP_EXT_BCMATH
|
|
|
|
select BR2_PACKAGE_PHP_EXT_SOCKETS
|
|
|
|
select BR2_PACKAGE_PHP_EXT_MBSTRING
|
|
|
|
select BR2_PACKAGE_PHP_EXT_GD
|
|
|
|
select BR2_PACKAGE_PHP_EXT_LIBXML2
|
|
|
|
select BR2_PACKAGE_PHP_EXT_CTYPE
|
|
|
|
select BR2_PACKAGE_PHP_EXT_SESSION
|
|
|
|
select BR2_PACKAGE_PHP_EXT_XMLREADER
|
|
|
|
select BR2_PACKAGE_PHP_EXT_XMLWRITER
|
|
|
|
help
|
|
|
|
Copy web-UI to /var/www/zabbix. You need to set up a web
|
|
|
|
server to access it.
|
|
|
|
|
|
|
|
comment "zabbix web UI requires PHP"
|
|
|
|
depends on !BR2_PACKAGE_PHP
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
endif
|