From 6c565d191d81a4f4420843431b0e49c0ccd8ff9e Mon Sep 17 00:00:00 2001 From: Jean Flach Date: Wed, 28 Sep 2016 11:18:39 +0200 Subject: [PATCH] Update check_network in docs and itl fixes #12155 --- doc/10-icinga-template-library.md | 11 ++++++----- itl/command-plugins-windows.conf | 4 ++++ 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/doc/10-icinga-template-library.md b/doc/10-icinga-template-library.md index 45c07d38c..ef5b1be1b 100644 --- a/doc/10-icinga-template-library.md +++ b/doc/10-icinga-template-library.md @@ -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. -### perfmon-windows +### 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`. diff --git a/itl/command-plugins-windows.conf b/itl/command-plugins-windows.conf index 77dcec3c0..7b31fdc92 100644 --- a/itl/command-plugins-windows.conf +++ b/itl/command-plugins-windows.conf @@ -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" + } } } -- 2.49.0