summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
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/series2
3 files changed, 34 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..6bcd417
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+21_config_changes
+postgres-checkcommand.patch