zabbix_export: version: '6.0' date: '2021-11-21T21:58:47Z' groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules templates: - uuid: 00c4228b856841b4ba9895601d61fa30 template: 'Module EtherLike-MIB SNMPv3' name: 'Module EtherLike-MIB SNMPv3' description: | ## Description Template Module EtherLike-MIB SNMPv3 Template used Template Module EtherLike-MIB SNMPv2 Ville Leinonen https://www.hacknetwork.org Version 1.1 ## Overview UPDATED: There was a bug in version 1.0 Linked for Template Net HP and Aruba Enterprise Switch SNMPv3, but works also individually. SNMPv3 support added, new macros: {$SECURITY\_NAME} = Username {$AUTH\_PASSPHRASE} = Authentication password {$PRIV\_PASSPHRASE} = Encryption password Template is just like V2 templates, but changed to support SNMPv3, please use SHA and AES128. groups: - name: Templates/Modules discovery_rules: - uuid: 05cdadeee2534f23808616be98e79ced name: 'EtherLike-MIB Discovery' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.2.1.10.7.2.1.19,{#IFOPERSTATUS},1.3.6.1.2.1.2.2.1.8,{#IFALIAS},1.3.6.1.2.1.31.1.1.1.18,{#IFNAME},1.3.6.1.2.1.31.1.1.1.1,{#IFDESCR},1.3.6.1.2.1.2.2.1.2]' key: net.if.duplex.discoveryV3 delay: 1h filter: evaltype: AND conditions: - macro: '{#IFOPERSTATUS}' value: '1' formulaid: A - macro: '{#SNMPVALUE}' value: (2|3) formulaid: B description: 'Discovering interfaces from IF-MIB and EtherLike-MIB. Interfaces with up(1) Operational Status are discovered.' item_prototypes: - uuid: a57da371b83641d4830926332ead10a6 name: 'Interface {#IFNAME}({#IFALIAS}): Duplex status' type: SNMP_AGENT snmp_oid: '1.3.6.1.2.1.10.7.2.1.19.{#SNMPINDEX}' key: 'net.if.duplex[dot3StatsDuplexStatus.{#SNMPINDEX}]' history: 7d description: | MIB: EtherLike-MIB The current mode of operation of the MAC entity. 'unknown' indicates that the current duplex mode could not be determined. Management control of the duplex mode is accomplished through the MAU MIB. When an interface does not support autonegotiation, or when autonegotiation is not enabled, the duplex mode is controlled using ifMauDefaultType. When autonegotiation is supported and enabled, duplex mode is controlled using ifMauAutoNegAdvertisedBits. In either case, the currently operating duplex mode is reflected both in this object and in ifMauType. Note that this object provides redundant information with ifMauType. Normally, redundant objects are discouraged. However, in this instance, it allows a management application to determine the duplex status of an interface without having to know every possible value of ifMauType. This was felt to be sufficiently valuable to justify the redundancy. Reference: [IEEE 802.3 Std.], 30.3.1.1.32,aDuplexStatus. valuemap: name: 'EtherLike-MIB::dot3StatsDuplexStatus' tags: - tag: Application value: 'Interface {#IFNAME}({#IFALIAS})' trigger_prototypes: - uuid: cafb025d89c14486b877b36ff3d7c39c expression: 'last(/Module EtherLike-MIB SNMPv3/net.if.duplex[dot3StatsDuplexStatus.{#SNMPINDEX}])=2' name: 'Interface {#IFNAME}({#IFALIAS}): In half-duplex mode' priority: WARNING description: 'Please check autonegotiation settings and cabling' valuemaps: - uuid: a401ece895f549c6abc9e56b0c030413 name: 'EtherLike-MIB::dot3StatsDuplexStatus' mappings: - value: '1' newvalue: unknown - value: '2' newvalue: halfDuplex - value: '3' newvalue: fullDuplex