From 34a9d7f0ab181c1bf2a32b7a193b1cedacfcede0 Mon Sep 17 00:00:00 2001 From: Thorsten Spille Date: Thu, 14 Nov 2024 21:36:45 +0100 Subject: [PATCH 1/2] Update install-service.sh Fix postgresql-client version --- src/zabbix/install-service.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zabbix/install-service.sh b/src/zabbix/install-service.sh index bc9b73b..41b98e0 100644 --- a/src/zabbix/install-service.sh +++ b/src/zabbix/install-service.sh @@ -18,7 +18,7 @@ apt_repo "timescaledb" "https://packagecloud.io/timescale/timescaledb/gpgkey" "h apt update DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt -y -qq dist-upgrade -DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt -y -qq install --no-install-recommends postgresql-$POSTGRES_VERSION timescaledb-2-oss-$TS_VERSION-postgresql-$POSTGRES_VERSION postgresql-client timescaledb-tools nginx php$PHP_VERSION-pgsql php$PHP_VERSION-fpm zabbix-server-pgsql zabbix-frontend-php zabbix-nginx-conf zabbix-sql-scripts zabbix-agent2 zabbix-agent2-plugin-* ssl-cert +DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt -y -qq install --no-install-recommends postgresql-$POSTGRES_VERSION timescaledb-2-oss-$TS_VERSION-postgresql-$POSTGRES_VERSION postgresql-client-$POSTGRES_VERSION timescaledb-tools nginx php$PHP_VERSION-pgsql php$PHP_VERSION-fpm zabbix-server-pgsql zabbix-frontend-php zabbix-nginx-conf zabbix-sql-scripts zabbix-agent2 zabbix-agent2-plugin-* ssl-cert unlink /etc/nginx/sites-enabled/default @@ -233,4 +233,4 @@ generate_dhparam systemctl enable nginx php$PHP_VERSION-fpm zabbix-server zabbix-agent2 -systemctl restart nginx php$PHP_VERSION-fpm zabbix-server zabbix-agent2 > /dev/null 2>&1 \ No newline at end of file +systemctl restart nginx php$PHP_VERSION-fpm zabbix-server zabbix-agent2 > /dev/null 2>&1 From c3eef2aed608454e8124afe81db2993699610a8f Mon Sep 17 00:00:00 2001 From: Thorsten Spille Date: Thu, 14 Nov 2024 22:01:10 +0100 Subject: [PATCH 2/2] Update constants-service.conf Update timescaledb to 2.16.1 --- src/zabbix/constants-service.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zabbix/constants-service.conf b/src/zabbix/constants-service.conf index 14e4783..b074420 100644 --- a/src/zabbix/constants-service.conf +++ b/src/zabbix/constants-service.conf @@ -45,7 +45,7 @@ ZABBIX_DB_PWD="$(random_password)" ZABBIX_VERSION=7.0 #zabbix 7 beta POSTGRES_VERSION=16 #postgres repo, latest release (2024-05-13) PHP_VERSION=8.2 # debian 12 default -TS_VERSION=2.14.2 # currently latest by zabbix supported version of timescaledb (2024-05-13) +TS_VERSION=2.16.1 # currently latest by zabbix supported version of timescaledb (2024-05-13) # Sets the minimum amount of RAM the service needs for operation LXC_MEM_MIN=4096