From b86b946791f8dcc23ed6c47d513e34ebb22c1610 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 13:32:39 +0200 Subject: Adding debian version 2.14.2-1. Signed-off-by: Daniel Baumann --- debian/patches/21_config_changes | 16 ++++++++++++++++ debian/patches/postgres-checkcommand.patch | 16 ++++++++++++++++ debian/patches/series | 3 +++ debian/patches/systemd-checkcommand.patch | 16 ++++++++++++++++ 4 files changed, 51 insertions(+) create mode 100644 debian/patches/21_config_changes create mode 100644 debian/patches/postgres-checkcommand.patch create mode 100644 debian/patches/series create mode 100644 debian/patches/systemd-checkcommand.patch (limited to 'debian/patches') diff --git a/debian/patches/21_config_changes b/debian/patches/21_config_changes new file mode 100644 index 0000000..7d7ade8 --- /dev/null +++ b/debian/patches/21_config_changes @@ -0,0 +1,16 @@ +Description: Configuration changes for Debian + - change icingaadmin mail address to root@localhost +Author: Markus Frosch +Forwarded: not-needed + +--- a/etc/icinga2/conf.d/users.conf ++++ b/etc/icinga2/conf.d/users.conf +@@ -9,7 +9,7 @@ object User "icingaadmin" { + display_name = "Icinga 2 Admin" + groups = [ "icingaadmins" ] + +- email = "icinga@localhost" ++ email = "root@localhost" + } + + object UserGroup "icingaadmins" { diff --git a/debian/patches/postgres-checkcommand.patch b/debian/patches/postgres-checkcommand.patch new file mode 100644 index 0000000..f10a9ff --- /dev/null +++ b/debian/patches/postgres-checkcommand.patch @@ -0,0 +1,16 @@ +Description: Use check_postgres path as provided by check-postgres package. +Author: Jens Holzkämper +Forwarded: not-needed +Bug-Debian: https://bugs.debian.org/898833 + +--- a/itl/plugins-contrib.d/databases.conf ++++ b/itl/plugins-contrib.d/databases.conf +@@ -513,7 +513,7 @@ object CheckCommand "oracle_health" { + object CheckCommand "postgres" { + import "ipv4-or-ipv6" + +- command = [ PluginContribDir + "/check_postgres.pl" ] ++ command = [ "/usr/bin/check_postgres" ] + + arguments = { + "-H" = { diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..a603290 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,3 @@ +21_config_changes +postgres-checkcommand.patch +systemd-checkcommand.patch diff --git a/debian/patches/systemd-checkcommand.patch b/debian/patches/systemd-checkcommand.patch new file mode 100644 index 0000000..6ebc0b3 --- /dev/null +++ b/debian/patches/systemd-checkcommand.patch @@ -0,0 +1,16 @@ +Description: Use check_systemd path as provided by monitoring-plugins-systemd package. +Author: Bas Couwenberg +Forwarded: not-needed +Bug-Debian: https://bugs.debian.org/1033666 + +--- a/itl/plugins-contrib.d/systemd.conf ++++ b/itl/plugins-contrib.d/systemd.conf +@@ -1,7 +1,7 @@ + /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ + + object CheckCommand "systemd" { +- command = [ PluginContribDir + "/check_systemd.py" ] ++ command = [ PluginContribDir + "/check_systemd" ] + + arguments = { + "--unit" = { -- cgit v1.2.3