Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-14541

IPv6 Traps does not show proper IPv6 address

XMLWordPrintable

    • Sprint 37, Sprint 38
    • 1

      Steps to reproduce

      I have installed Zabbix 3.0.18 on  Ubuntu16.04. I am using snmptt to handle my traps and I have configured the file this way:

      /etc/snmp/snmptt.conf

      EVENT general .* "General Event" Normal
      FORMAT ZBXTRAP $aA $aA severity: $s $Fn + $*

       

      which is following Zabbix trap format:

       [timestamp] [the trap, part 1] ZBXTRAP [address] [the trap, part 2] 

      When I send traps via IPv4/IPv6 with SNMPv2 I can see the trap in Zabbix.

      Problem occurs when I send SNMPv3 traps using IPv6 the text format is changed. Is there a snmptt.conf format I can use so it works for both SNMPv2 and v3?

       

      Result:

      /tmp/zabbix_traps.tmp

      #  SNMPv2 IPv4/IPv6
      13:49:48 2018/06/29 SNMPv2-SMI::enterprises.232.0.11003 Normal "General Event" 192.168.80.33 - ZBXTRAP 192.168.80.33 severity: Normal
      + TXSLPERFLAB-H-PE0C7O1-001 4 HPE Onboard Administrator Test Trap sent from enclosure: TXSLPERFLAB-001

      1. SNMPv3 IPv6
        13:50:04 2018/06/29 SNMPv2-SMI::enterprises.232.0.11003 Normal "General Event" UDP/IPv6: [2607:f160:a:f0:9:fe0:0:2002]:1205 - ZBXTRAP severity: Normal
        + TXSLPERFLAB-H-PE0C7O1-002 4 HPE Onboard Administrator Test Trap sent from enclosure: TXSLPERFLAB-002

      Expected:
      13:50:04 2018/06/29 SNMPv2-SMI::enterprises.232.0.11003 Normal "General Event" [2607:f160:a:f0:9:fe0:0:2002] - ZBXTRAP severity: Normal 
      + TXSLPERFLAB-H-PE0C7O1-002 4 HPE Onboard Administrator Test Trap sent from enclosure: TXSLPERFLAB-002

            MVekslers Michael Veksler
            Zeemon Simon Leung
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: