summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 11:32:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 11:32:39 +0000
commitb86b946791f8dcc23ed6c47d513e34ebb22c1610 (patch)
tree9893d33a249fbf175f69e9f18a7fa0b84718ec24 /debian/patches
parentAdding upstream version 2.14.2. (diff)
downloadicinga2-b86b946791f8dcc23ed6c47d513e34ebb22c1610.tar.xz
icinga2-b86b946791f8dcc23ed6c47d513e34ebb22c1610.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 'debian/patches')
-rw-r--r--debian/patches/21_config_changes16
-rw-r--r--debian/patches/postgres-checkcommand.patch16
-rw-r--r--debian/patches/series3
-rw-r--r--debian/patches/systemd-checkcommand.patch16
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" = {