]> granicus.if.org Git - icinga2/commitdiff
Update check_network in docs and itl
authorJean Flach <jean-marcel.flach@netways.de>
Wed, 28 Sep 2016 09:18:39 +0000 (11:18 +0200)
committerJean Flach <jean-marcel.flach@netways.de>
Wed, 28 Sep 2016 09:20:42 +0000 (11:20 +0200)
fixes #12155

doc/10-icinga-template-library.md
itl/command-plugins-windows.conf

index 45c07d38c8666f8faea0c3b7d67a677b5080f45d..ef5b1be1bd3fa1ff8941c48763b1dd26482a2eb2 100644 (file)
@@ -1452,13 +1452,14 @@ Collects the total Bytes inbount and outbound for all interfaces in one second,
 
 Custom attributes:
 
-Name               | Description
-:------------------|:------------
-network\_win\_warn | **Optional**. The warning threshold.
-network\_win\_crit | **Optional**. The critical threshold.
+Name                | Description
+:-------------------|:------------
+network\_win\_warn  | **Optional**. The warning threshold.
+network\_win\_crit  | **Optional**. The critical threshold.
+network\_no\_iastap | **Optional**. Do not print iastap interfaces.
 
 
-### <a id="windows-plugins-permon-windows"></a> perfmon-windows
+### <a id="windows-plugins-perfmon-windows"></a> perfmon-windows
 
 Check command object for the `check_perfmon.exe` plugin.
 This plugins allows to collect data from a Performance Counter. After the first data collection a second one is done after `perfmon_win_wait` milliseconds. When you know `perfmon_win_counter` only requires one set of data to provide valid data you can set `perfmon_win_wait` to `0`.
index 77dcec3c089198f704a82a3a45e586cc33d31d9e..7b31fdc923a9cd8d3f59d2854553c6b9e8362f62 100644 (file)
@@ -96,6 +96,10 @@ object CheckCommand "network-windows" {
                        value = "$network_win_crit$"
                        description = "Critical threshold"
                }
+               "-n" = {
+                       set_if = "$network_no_iastap$"
+                       description = "Don't show isatap interfaces in output"
+               }
        }
 }