Merge pull request #9056 from Icinga/Al2Klimov-patch-5

check_logfiles: --winwarncrit is a flag, not a param
This commit is contained in:
Julian Brost 2023-01-24 14:01:55 +01:00 committed by GitHub
commit 1a158c400f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,7 +137,7 @@ object CheckCommand "logfiles" {
description = "With this parameter long lines are truncated (Default: off). Some programs (e.g. TrueScan) generate entries in the eventlog of such a length, that the output of the plugin becomes longer than 1024 characters. NSClient++ discards these."
}
"--winwarncrit" = {
value = "$logfiles_winwarncrit$"
set_if = "$logfiles_winwarncrit$"
description = "With this parameter messages in the eventlog are classified by the type WARNING/ERROR (Default: off). Replaces or complements warning/criticalpattern."
}
"--rununique" = {