diff --git a/doc/10-icinga-template-library.md b/doc/10-icinga-template-library.md index 1851a684e..59a192604 100644 --- a/doc/10-icinga-template-library.md +++ b/doc/10-icinga-template-library.md @@ -2999,6 +2999,7 @@ Name | Description ------------------------|--------------------------------------------------------- iftraffic_address | **Required.** Specifies the remote host. Defaults to "$address$". iftraffic_community | **Optional.** SNMP community. Defaults to "public'" if omitted. +iftraffic_version | **Optional.** SNMP version to use. Defaults to "1" if omitted. Requires v1.0.2+. iftraffic_interface | **Required.** Queried interface name. iftraffic_bandwidth | **Required.** Interface maximum speed in kilo/mega/giga/bits per second. iftraffic_units | **Optional.** Interface units can be one of these values: `g` (gigabits/s),`m` (megabits/s), `k` (kilobits/s),`b` (bits/s) @@ -3008,7 +3009,7 @@ iftraffic_max_counter | **Optional.** Maximum counter value of net devices in ki #### iftraffic64 -The [check_iftraffic64](https://exchange.icinga.com/exchange/iftraffic64) plugin +The [check_iftraffic64](https://exchange.icinga.com/exchange/check_iftraffic64) plugin checks the utilization of a given interface name using the SNMP protocol. Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters): diff --git a/itl/plugins-contrib.d/network-components.conf b/itl/plugins-contrib.d/network-components.conf index 69a0b492b..e9f73ca6b 100644 --- a/itl/plugins-contrib.d/network-components.conf +++ b/itl/plugins-contrib.d/network-components.conf @@ -297,6 +297,10 @@ object CheckCommand "iftraffic" { value = "$iftraffic_community$" description = "SNMP community. Defaults to 'public' if omitted." } + "-V" = { + value = "$iftraffic_version$" + description = "SNMP version. Defaults to '1' if omitted." + } "-i" = { value = "$iftraffic_interface$" description = "Interface name."