From: Dennis Lichtenthäler Date: Tue, 28 May 2019 09:08:37 +0000 (+0200) Subject: Allow setting the SNMP version for check_iftraffic.pl X-Git-Tag: v2.11.0-rc1~82^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=81746284db8c0b51e5e16797fde7a79848c3652c;p=icinga2 Allow setting the SNMP version for check_iftraffic.pl This is not supported in check_iftraffic.pl master yet but there's a pull request at https://github.com/NETWAYS/check_iftraffic/pull/4 --- 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."