icinga2/itl
Lorenz Kästle a218ba8d92
Remove clear variable from disk CheckCommand
This commit removes the -C parameter from the disk CheckCommand
since there is no possible way to use it in any functional capacity.

-C (or --clear) would reset the thresholds given previously
to allow for setting different thresholds for following filesystmes.
As an example:

check_disk -w 50% -c 5% -p / -C -w 1%  -p /home

would only set the warning threshold for /home.

Since there is no way to use it reasonably with the Icinga 2
implementation of check_disk (since thresholds can only be
given once and the order is undefined), the clear flag
has no worth here.

My suggestion is to remove it avoid suggesting that it might
be used, but I left it as a comment in the ITL to prevent
the next person from "adding a missing parameter".
2025-08-19 10:58:48 +00:00
..
plugins-contrib.d add "--long-output" to ssl_cert command 2025-08-18 12:06:40 +02:00
CMakeLists.txt Replace Copyright header with a short version, part II 2019-02-25 15:09:36 +01:00
command-icinga.conf Built-in check command: ifw-api (#9062) 2023-07-06 14:18:21 +02:00
command-nscp-local.conf ITL: set globals.NscpPath explicitly 2019-08-27 13:34:10 +02:00
command-plugins-manubulon.conf Merge pull request #8003 from Icinga/feature/snmp-interface-a-7963 2021-03-05 16:11:02 +01:00
command-plugins-windows.conf Change file location, doc, and varaible names as requested in the review 2019-10-18 07:45:21 +02:00
command-plugins.conf Remove clear variable from disk CheckCommand 2025-08-19 10:58:48 +00:00
hangman Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
itl Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
manubulon Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
nscp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
plugins Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
plugins-contrib Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
windows-plugins Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00