]> granicus.if.org Git - icinga2/commitdiff
Add missing options to 'nwc_health' ITL CheckCommand
authorK0nne <34264690+K0nne@users.noreply.github.com>
Thu, 1 Aug 2019 09:12:24 +0000 (11:12 +0200)
committerGitHub <noreply@github.com>
Thu, 1 Aug 2019 09:12:24 +0000 (11:12 +0200)
itl/plugins-contrib.d/network-components.conf

index fb085dc1e06ad2760211cd5a3b6cc0d7bf6d9f99..e6fdba7d2c8332e9387da3038600976d6da37997 100644 (file)
@@ -550,6 +550,10 @@ object CheckCommand "nwc_health" {
                        value = "$nwc_health_contextname$"
                        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" = {
                        value = "$nwc_health_mode$"
                        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$"
                        description = "The secondary name of a component"
                }
+               "--name3" = {
+                       value = "$nwc_health_name3$"
+                       description = "The tertiary name of a component"
+               }
                "--role" = {
                        value = "$nwc_health_role$"
                        description = "The role of this device in a hsrp group (active/standby/listen)"