ITL: Add 'SHOWALL' command argument for 'nscp'

fixes #9115

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
This commit is contained in:
Dirk Goetz 2015-04-20 14:01:36 +02:00 committed by Michael Friedrich
parent 13087dbec0
commit b1701899b0
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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" {