]> granicus.if.org Git - icinga2/commitdiff
ITL: Missing documentation for nwc_health "mode" parameter
authorMichael Friedrich <michael.friedrich@netways.de>
Tue, 15 Mar 2016 14:44:17 +0000 (15:44 +0100)
committerMichael Friedrich <michael.friedrich@netways.de>
Tue, 15 Mar 2016 14:44:57 +0000 (15:44 +0100)
fixes #11107

doc/7-icinga-template-library.md
itl/plugins-contrib.d/network-components.conf

index 3cb6d2e219c7e83b4d52ec688d660a8d7b186756..1aa5e3094322305175e19aef4f07a38b2e291feb 100644 (file)
@@ -1995,9 +1995,10 @@ Custom attributes passed as [command parameters](3-monitoring-basics.md#command-
 
 Name                           | Description
 --------------------------------|---------------------------------------------------------
+nwc_health_hostname             | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
+nwc_health_mode                 | **Optional.** The plugin mode. A list of all available modes can be found in the [plugin documentation](https://labs.consol.de/nagios/check_nwc_health/index.html).
 nwc_health_timeout             | **Optional.** Seconds before plugin times out (default: 15)
 nwc_health_blacklist           | **Optional.** Blacklist some (missing/failed) components.
-nwc_health_hostname            | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
 nwc_health_port                        | **Optional.** The SNMP port to use (default: 161).
 nwc_health_domain              | **Optional.** The transport domain to use (default: udp/ipv4, other possible values: udp6, udp/ipv6, tcp, tcp4, tcp/ipv4, tcp6, tcp/ipv6).
 nwc_health_protocol            | **Optional.** The SNMP protocol to use (default: 2c, other possibilities: 1,3).
index 5f8592cbf18c7bf57605d6a0181eca2fdc799fdb..86a9aa121478184ef4473e91b77e87a6e14c116b 100644 (file)
@@ -509,7 +509,7 @@ object CheckCommand "nwc_health" {
                }
                "--mode" = {
                        value = "$nwc_health_mode$"
-                       description = "A keyword which tells the plugin what to do"
+                       description = "Which mode should be executed. A list of all available modes can be found in the plugin documentation"
                }
                "--name" = {
                        value = "$nwc_health_name$"