mirror of https://github.com/Icinga/icinga2.git
Fix incorrect custom variable name for the -q option for ntp_time.
fixes #12274 Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
This commit is contained in:
parent
ff293661fc
commit
39890c00c0
|
@ -772,7 +772,7 @@ Name | Description
|
|||
----------------|--------------
|
||||
ntp_address | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
|
||||
ntp_port | **Optional.** Port number (default: 123).
|
||||
ntp_quit | **Optional.** Returns UNKNOWN instead of CRITICAL if offset cannot be found.
|
||||
ntp_quiet | **Optional.** Returns UNKNOWN instead of CRITICAL if offset cannot be found.
|
||||
ntp_warning | **Optional.** Offset to result in warning status (seconds).
|
||||
ntp_critical | **Optional.** Offset to result in critical status (seconds).
|
||||
ntp_timeoffset | **Optional.** Expected offset of the ntp server relative to local server (seconds).
|
||||
|
|
|
@ -870,7 +870,10 @@ object CheckCommand "ntp_time" {
|
|||
arguments = {
|
||||
"-H" = "$ntp_address$"
|
||||
"-p" = "$ntp_port$"
|
||||
"-q" = "$ntp_quit$"
|
||||
"-q" = {
|
||||
set_if = "$ntp_quiet$"
|
||||
description = "Returns UNKNOWN instead of CRITICAL if offset cannot be found"
|
||||
}
|
||||
"-w" = "$ntp_warning$"
|
||||
"-c" = "$ntp_critical$"
|
||||
"-o" = "$ntp_timeoffset$"
|
||||
|
|
Loading…
Reference in New Issue