[Pkg-nagios-devel] Bug#1033666: icinga2-common: wrong executable in /usr/share/icinga2/include/plugins-contrib.d/systemd.conf
Andreas B. Mundt
andi at debian.org
Wed Mar 29 19:07:01 BST 2023
Package: icinga2-common
Version: 2.13.6-2
Severity: normal
Tags: patch
X-Debbugs-Cc: andi at debian.org
Hi,
the configuration in '/usr/share/icinga2/include/plugins-contrib.d/systemd.conf'
contains a wrong executable in line 4:
command = [ PluginContribDir + "/check_systemd.py" ]
The plugin's path is '/usr/lib/nagios/plugins/check_systemd' (no .py) [1].
Thanks and best regards,
Andi
[1] https://packages.debian.org/sid/all/monitoring-plugins-systemd/filelist
-------------- next part --------------
>From a807766be0459b0ac69afcb9584485bc43594d55 Mon Sep 17 00:00:00 2001
From: "Andreas B. Mundt" <andi at debian.org>
Date: Wed, 29 Mar 2023 19:59:15 +0200
Subject: [PATCH] Fix wrong executable name.
---
itl/plugins-contrib.d/systemd.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/itl/plugins-contrib.d/systemd.conf b/itl/plugins-contrib.d/systemd.conf
index 4c0bbca1..236499bc 100644
--- 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" = {
--
2.39.2
More information about the Pkg-nagios-devel
mailing list