summaryrefslogtreecommitdiffstats
path: root/debian/patches/systemd-checkcommand.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/systemd-checkcommand.patch')
-rw-r--r--debian/patches/systemd-checkcommand.patch16
1 files changed, 16 insertions, 0 deletions
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" = {