diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 11:32:39 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 11:32:39 +0000 |
commit | b86b946791f8dcc23ed6c47d513e34ebb22c1610 (patch) | |
tree | 9893d33a249fbf175f69e9f18a7fa0b84718ec24 /debian/patches | |
parent | Adding upstream version 2.14.2. (diff) | |
download | icinga2-f672424cbe91390059193e951e9448b97c4ddfe8.tar.xz icinga2-f672424cbe91390059193e951e9448b97c4ddfe8.zip |
Adding debian version 2.14.2-1.debian/2.14.2-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/patches/21_config_changes | 16 | ||||
-rw-r--r-- | debian/patches/postgres-checkcommand.patch | 16 | ||||
-rw-r--r-- | debian/patches/series | 3 | ||||
-rw-r--r-- | debian/patches/systemd-checkcommand.patch | 16 |
4 files changed, 51 insertions, 0 deletions
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 <lazyfrosch@debian.org> +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 <jens@zbmath.org> +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 <sebastic@debian.org> +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" = { |