i can only receive ipv4 trap, How can make it to receive snmp trap from ipv6 address?
Ad Widget
Collapse
zabbix 4.08 SNMP traps IPV6
Collapse
X
-
-
Thank you for your reply, but I'm using SNMP v2 traps and IPV6. so it may not fix my problem.Is this helpful? https://www.zabbix.com/documentation...n_snmpv3_traps
I can receive SNMPv2 with IPV4 as below.
15:45:56 2020/03/26 ZBXTRAP 192.168.111.161
PDU INFO:
notificationtype TRAP
version 0
receivedfrom UDP: [192.168.111.161]:48515->[192.168.111.131]:162
errorstatus 0
messageid 0
community public
transactionid 3
errorindex 0
requestid 0
VARBINDS:
DISMAN-EVENT-MIB::sysUpTimeInstance type=67 value=Timeticks: (8161) 0:01:21.61
SNMPv2-MIB::snmpTrapOID.0 type=6 value=OID: SNMPv2-SMI::mib-2.33.0.3
SNMPv2-SMI::mib-2.33.1.6.2.1.1.1 type=2 value=INTEGER: 9
SNMPv2-SMI::mib-2.33.1.6.2.1.2.1 type=6 value=OID: SNMPv2-SMI::mib-2.33.1.6.3.9
SNMP-COMMUNITY-MIB::snmpTrapAddress.0 type=64 value=IpAddress: 192.168.111.161
SNMP-COMMUNITY-MIB::snmpTrapCommunity.0 type=4 value=STRING: "public"
SNMPv2-MIB::snmpTrapEnterprise.0 type=6 value=OID: SNMPv2-SMI::mib-2.33
Comment
-
Are the SNMP traps that are sent from an IPv6 device making it to your Zabbix server (if you're using a traditional firewall, IPv6 and IPv4 ports are controlled separately)?
Can you see the traps from the IPv6 device being written to the "intermediate" file, like you show for the trap from the IPv4 device?
If they're not getting written to that file, have you tried adding "log" to the statement that executes your trap receiver script, so that snmptrapd logs information about what it's doing?
I'm just trying to get more information about where things are going awry in the process.Comment
Comment