Add missing options to 'nwc_health' ITL CheckCommand

This commit is contained in:
K0nne 2019-08-01 11:12:24 +02:00 committed by GitHub
parent 82a5025ad6
commit f1d5a6bfd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -550,6 +550,10 @@ object CheckCommand "nwc_health" {
value = "$nwc_health_contextname$" value = "$nwc_health_contextname$"
description = "The context name for SNMPv3 (empty represents the default context)" description = "The context name for SNMPv3 (empty represents the default context)"
} }
"--community2" = {
value = "$nwc_health_community2$"
description = "SNMP community which can be used to switch the context during runtime"
}
"--mode" = { "--mode" = {
value = "$nwc_health_mode$" value = "$nwc_health_mode$"
description = "Which mode should be executed. A list of all available modes can be found in the plugin documentation" description = "Which mode should be executed. A list of all available modes can be found in the plugin documentation"
@ -590,6 +594,10 @@ object CheckCommand "nwc_health" {
value = "$nwc_health_name2$" value = "$nwc_health_name2$"
description = "The secondary name of a component" description = "The secondary name of a component"
} }
"--name3" = {
value = "$nwc_health_name3$"
description = "The tertiary name of a component"
}
"--role" = { "--role" = {
value = "$nwc_health_role$" value = "$nwc_health_role$"
description = "The role of this device in a hsrp group (active/standby/listen)" description = "The role of this device in a hsrp group (active/standby/listen)"