add unreachable-state option to icinga2 config (#97)

This commit is contained in:
Markus Opolka 2025-04-09 13:01:19 +02:00 committed by GitHub
commit 9ff11308be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -89,6 +89,10 @@ object CheckCommand "http_json" {
value = "$http_json_key_equals_unknown$"
description = "Checks equality of these keys and values. Return unknown if equality check fails"
}
"--unreachable-state" = {
value = "$http_json_unreachable_state$"
description = "Exit with specified code if URL unreachable. Examples: 1 for Warning, 2 for Critical, 3 for Unknown (default: 3)"
}
"--key_not_equals" = {
value = "$http_json_key_not_equals$"
description = "Checks equality of these keys and values (key[>alias],value key2,value2) to determine status. Multiple key values can be delimited with colon (key,value1:value2). Return warning if equality check succeeds."