mirror of https://github.com/Icinga/icinga2.git
ITL: Add 'SHOWALL' command argument for 'nscp'
fixes #9115 Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
This commit is contained in:
parent
13087dbec0
commit
b1701899b0
|
@ -445,6 +445,7 @@ nscp_params | **Optional.** Parameters for the query. Multiple parameters mu
|
|||
nscp_warn | **Optional.** The warning threshold.
|
||||
nscp_crit | **Optional.** The critical threshold.
|
||||
nscp_timeout | **Optional.** The query timeout in seconds.
|
||||
nscp_showall | **Optional.** Use with SERVICESTATE to see working services or PROCSTATE for running processes. Defaults to false.
|
||||
|
||||
|
||||
## <a id="plugin-check-command-ntp-time"></a> ntp_time
|
||||
|
|
|
@ -897,10 +897,16 @@ object CheckCommand "nscp" {
|
|||
"-w" = "$nscp_warn$"
|
||||
"-c" = "$nscp_crit$"
|
||||
"-t" = "$nscp_timeout$"
|
||||
"-d" = {
|
||||
value = "SHOWALL"
|
||||
description = "Use with SERVICESTATE to see working services or PROCSTATE for running processes"
|
||||
set_if = "$nscp_showall$"
|
||||
}
|
||||
}
|
||||
|
||||
vars.nscp_address = "$check_address$"
|
||||
vars.nscp_port = 12489
|
||||
vars.nscp_showall = false
|
||||
}
|
||||
|
||||
object CheckCommand "by_ssh" {
|
||||
|
|
Loading…
Reference in New Issue