diff --git a/agent_based/if64name.py b/agent_based/if64name.py index 84f89b9c5674dce7b5d28ee7d2d903c5a971d0f5..4130c34f993c5da5c4365c631a10735c33f34e49 100644 --- a/agent_based/if64name.py +++ b/agent_based/if64name.py @@ -1,19 +1,17 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# Copyright (C) 2019 tribe29 GmbH - License: GNU General Public License v2 -# This file is part of Checkmk (https://checkmk.com). It is subject to the terms and -# conditions defined in the file COPYING, which is part of this source code package. - +# +# License: GNU General Public License v2 +# # Author: thl-cmk[at]outlook[dot]com # URL : https://thl-cmk.hopto.org # Date : 2021-07-01 - +# # extended if64 to use ifNAme instead of ifDescr # # 2021-0929: fixed empty interface name handling # - from typing import ( List, ) @@ -30,6 +28,7 @@ _interface_displayhints = { 'fastethernet': 'Fa', 'gigabitethernet': 'Gi', 'tengigabitethernet': 'Te', + 'twentyfivegige': 'Tw', 'fortygigabitethernet': 'Fo', 'hundredgigabitethernet': 'Hu', 'port-channel': 'Po', @@ -75,5 +74,5 @@ register.snmp_section( ), ], detect=if64.HAS_ifHCInOctets, - supersedes=['if', 'statgrab_net', 'if64', 'interfaces'], + supersedes=['if64', 'interfaces', 'if', 'statgrab_net'], ) diff --git a/if64name.mkp b/if64name.mkp index 5fca8de45829d403b0c59c901700cbe257005add..130c1861aa7e55e3a96fd869ff7c9cf7c5019272 100644 Binary files a/if64name.mkp and b/if64name.mkp differ