diff --git a/doc/03-monitoring-basics.md b/doc/03-monitoring-basics.md index 06ea0c166aa..1124d1b4cbb 100644 --- a/doc/03-monitoring-basics.md +++ b/doc/03-monitoring-basics.md @@ -2135,7 +2135,7 @@ In order to find out about the command argument, call the plugin's help or consult the README. ``` -./check_systemd.py --help +./check_systemd --help ... @@ -2194,7 +2194,7 @@ With the [example above](03-monitoring-basics.md#command-arguments-value), inspect the parameter's help text. ``` -./check_systemd.py --help +./check_systemd --help ... diff --git a/doc/05-service-monitoring.md b/doc/05-service-monitoring.md index 097fb118476..9f188132b46 100644 --- a/doc/05-service-monitoring.md +++ b/doc/05-service-monitoring.md @@ -281,10 +281,10 @@ that [it works](05-service-monitoring.md#service-monitoring-plugins-it-works). T `--help` parameter to see the actual parameters (docs might be outdated). ``` -./check_systemd.py --help +./check_systemd --help -usage: check_systemd.py [-h] [-c SECONDS] [-e UNIT | -u UNIT] [-v] [-V] - [-w SECONDS] +usage: check_systemd [-h] [-c SECONDS] [-e UNIT | -u UNIT] [-v] [-V] + [-w SECONDS] ... @@ -319,7 +319,7 @@ Start with the basic plugin call without any parameters. ``` object CheckCommand "systemd" { // Plugin name without 'check_' prefix - command = [ PluginContribDir + "/check_systemd.py" ] // Use the 'PluginContribDir' constant, see the contributed ITL commands + command = [ PluginContribDir + "/check_systemd" ] // Use the 'PluginContribDir' constant, see the contributed ITL commands } ``` diff --git a/doc/10-icinga-template-library.md b/doc/10-icinga-template-library.md index 40cafba19fd..f1abee76922 100644 --- a/doc/10-icinga-template-library.md +++ b/doc/10-icinga-template-library.md @@ -3652,7 +3652,7 @@ iostat\_cwrite | **Required.** Critical threshold for KB/s writes (default: 200) #### systemd -The [check_systemd.py](https://github.com/Josef-Friedrich/check_systemd) plugin +The [check_systemd](https://github.com/Josef-Friedrich/check_systemd) plugin will report a degraded system to your monitoring solution. It requires only the [nagiosplugin](https://nagiosplugin.readthedocs.io/en/stable) library. Custom variables passed as [command parameters](03-monitoring-basics.md#command-passing-parameters): diff --git a/itl/plugins-contrib.d/systemd.conf b/itl/plugins-contrib.d/systemd.conf index 4c0bbca1705..236499bc45e 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" = {