diff --git a/itl/command-plugins.conf b/itl/command-plugins.conf index adf4e9000..2a3830c24 100644 --- a/itl/command-plugins.conf +++ b/itl/command-plugins.conf @@ -138,11 +138,22 @@ object CheckCommand "fping6" { } object CheckCommand "dummy" { - command = [ - PluginDir + "/check_dummy", - "$dummy_state$", - "$dummy_text$" - ] + command = [ PluginDir + "/check_dummy" ] + + arguments = { + "state" = { + value = "$dummy_state$" + skip_key = true + order = 1 + description = "The state. Can be one of 0 (ok), 1 (warning), 2 (critical) and 3 (unknown). Defaults to 0." + } + "text" = { + value = "$dummy_text$" + skip_key = true + order = 2 + description = "Plugin output. Defaults to Check was successful." + } + } vars.dummy_state = 0 vars.dummy_text = "Check was successful."