mirror of
https://github.com/drewkerrigan/nagios-http-json.git
synced 2025-05-10 09:53:44 +02:00
add unreachable-state option to icinga2 config
This commit is contained in:
parent
d9efd1d858
commit
c634ae8bb5
@ -89,6 +89,10 @@ object CheckCommand "http_json" {
|
|||||||
value = "$http_json_key_equals_unknown$"
|
value = "$http_json_key_equals_unknown$"
|
||||||
description = "Checks equality of these keys and values. Return unknown if equality check fails"
|
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" = {
|
"--key_not_equals" = {
|
||||||
value = "$http_json_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."
|
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."
|
||||||
|
Loading…
Reference in New Issue
Block a user