diff --git a/itl/command-plugins.conf b/itl/command-plugins.conf index 5ffb48951..dbf3535dd 100644 --- a/itl/command-plugins.conf +++ b/itl/command-plugins.conf @@ -123,19 +123,19 @@ template CheckCommand "fping-common" { } object CheckCommand "fping4" { - import "fping-common" + import "fping-common" - command += [ "-4" ] + command += [ "-4" ] - vars.fping_address = "$address$" + vars.fping_address = "$address$" } object CheckCommand "fping6" { - import "fping-common" + import "fping-common" - command += [ "-6" ] + command += [ "-6" ] - vars.fping_address = "$address6$" + vars.fping_address = "$address6$" } object CheckCommand "dummy" { @@ -374,21 +374,21 @@ object CheckCommand "ssmtp" { } object CheckCommand "imap" { - import "plugin-check-command" + import "plugin-check-command" import "ipv4-or-ipv6" - command = [ PluginDir + "/check_imap" ] + command = [ PluginDir + "/check_imap" ] arguments = { "-H" = "$imap_address$" "-p" = "$imap_port$" } - vars.imap_address = "$check_address$" + vars.imap_address = "$check_address$" } object CheckCommand "simap" { - import "plugin-check-command" + import "plugin-check-command" import "ipv4-or-ipv6" command = [ PluginDir + "/check_simap" ] @@ -405,7 +405,7 @@ object CheckCommand "pop" { import "plugin-check-command" import "ipv4-or-ipv6" - command = [ PluginDir + "/check_pop" ] + command = [ PluginDir + "/check_pop" ] arguments = { "-H" = "$pop_address$" @@ -416,7 +416,7 @@ object CheckCommand "pop" { } object CheckCommand "spop" { - import "plugin-check-command" + import "plugin-check-command" import "ipv4-or-ipv6" command = [ PluginDir + "/check_spop" ] @@ -626,73 +626,73 @@ object CheckCommand "procs" { command = [ PluginDir + "/check_procs" ] - arguments = { - "-w" = { - value = "$procs_warning$" - description = "Generate warning state if metric is outside this range" - } - "-c" = { - value = "$procs_critical$" - description = "Generate critical state if metric is outside this range" - } - "-m" = { - value = "$procs_metric$" - description = "Check thresholds against metric" - } - "-t" = { - value = "$procs_timeout$" - description = "Seconds before plugin times out" - } - "-T" = { - set_if = "$procs_traditional$" - description = "Filter own process the traditional way by PID instead of /proc/pid/exe" - } - "-s" = { - value = "$procs_state$" - description = "Only scan for processes that have one or more of the status flags you specify" - } - "-p" = { - value = "$procs_ppid$" - description = "Only scan for children of the parent process ID indicated" - } - "-z" = { - value = "$procs_vsz$" - description = "Only scan for processes with VSZ higher than indicated" - } - "-r" = { - value = "$procs_rss$" - description = "Only scan for processes with RSS higher than indicated" - } - "-P" = { - value = "$procs_pcpu$" - description = "Only scan for processes with PCPU higher than indicated" - } - "-u" = { - value = "$procs_user$" - description = "Only scan for processes with user name or ID indicated" - } - "-a" = { - value = "$procs_argument$" - description = "Only scan for processes with args that contain STRING" - } - "--ereg-argument-array" = { - value = "$procs_argument_regex$" - description = "Only scan for processes with args that contain the regex STRING" - } - "-C" = { - value = "$procs_command$" - description = "Only scan for exact matches of COMMAND (without path)" - } - "-k" = { - set_if = "$procs_nokthreads$" - description = "Only scan for non kernel threads" - } - } + arguments = { + "-w" = { + value = "$procs_warning$" + description = "Generate warning state if metric is outside this range" + } + "-c" = { + value = "$procs_critical$" + description = "Generate critical state if metric is outside this range" + } + "-m" = { + value = "$procs_metric$" + description = "Check thresholds against metric" + } + "-t" = { + value = "$procs_timeout$" + description = "Seconds before plugin times out" + } + "-T" = { + set_if = "$procs_traditional$" + description = "Filter own process the traditional way by PID instead of /proc/pid/exe" + } + "-s" = { + value = "$procs_state$" + description = "Only scan for processes that have one or more of the status flags you specify" + } + "-p" = { + value = "$procs_ppid$" + description = "Only scan for children of the parent process ID indicated" + } + "-z" = { + value = "$procs_vsz$" + description = "Only scan for processes with VSZ higher than indicated" + } + "-r" = { + value = "$procs_rss$" + description = "Only scan for processes with RSS higher than indicated" + } + "-P" = { + value = "$procs_pcpu$" + description = "Only scan for processes with PCPU higher than indicated" + } + "-u" = { + value = "$procs_user$" + description = "Only scan for processes with user name or ID indicated" + } + "-a" = { + value = "$procs_argument$" + description = "Only scan for processes with args that contain STRING" + } + "--ereg-argument-array" = { + value = "$procs_argument_regex$" + description = "Only scan for processes with args that contain the regex STRING" + } + "-C" = { + value = "$procs_command$" + description = "Only scan for exact matches of COMMAND (without path)" + } + "-k" = { + set_if = "$procs_nokthreads$" + description = "Only scan for non kernel threads" + } + } - vars.procs_traditional = false - vars.procs_nokthreads = false - vars.procs_warning = 250 - vars.procs_critical = 400 + vars.procs_traditional = false + vars.procs_nokthreads = false + vars.procs_warning = 250 + vars.procs_critical = 400 } object CheckCommand "swap" {