Hello, te
i have issue with recieving trap, some traps are correctly recieved (server,storage) wrote to /tmp/zabbix_traps.tmp and after that collected by item and represented by trigger.
example of traps without problems (it fire trigger and alarm)
15:16:56.802027 IP 172.25.2.21.51951 > zabbix-virtual-machine.snmp-trap: C="Hu@wei123" V2Trap(372) system.sysUpTime.0=78124029 S:1.1.4.1.0=E:2011.2.235.1.1.500.10.256.1 E:2011.2.235.1.1.500.1.1=4 E:2011.2.235.1.1.500.1.2="test sensor" E:2011.2.235.1.1.500.1.3="test event" E:2011.2.235.1.1.500.1.4=1 E:2011.2.235.1.1.500.1.5="0x00000001" E:2011.2.235.1.1.500.1.6=0 E:2011.2.235.1.1.500.1.7=0 E:2011.2.235.1.1.500.1.8="sever identity test" E:2011.2.235.1.1.500.1.9="server room" E:2011.2.235.1.1.500.1.10="1970-01-01 00:00:00"
15:20:11.158301 IP 172.25.2.17.33803 > zabbix-virtual-machine.snmp-trap: C="storage_public" V2Trap(301) system.sysUpTime.0=367778320 S:1.1.4.1.0=E:34774.4.1.4.2 E:34774.4.1.3.3.1.0=1 E:34774.4.1.3.3.2.0=2305843009213693950 E:34774.4.1.3.3.3.0=6 E:34774.4.1.3.3.4.0=4294967295 E:34774.4.1.3.3.5.0=1589462199 E:34774.4.1.3.3.6.0=0 E:34774.4.1.3.3.7.0="" E:34774.4.1.3.3.8.0=4294967294 E:34774.4.1.3.3.9.0=07_e4_05_0e_0f_10_27_00 E:34774.4.1.3.3.10.0=07_b2_01_01_01_00_00_00
But in case of firewall and switches the trap dont even write to /tmp/zabbix_traps.tmp
example of issue trap:
10:25:43.051465 IP 172.25.2.2.49350 > zabbix-virtual-machine.snmp-trap: C="public" V2Trap(124) system.sysUpTime.0=3737368311 S:1.1.4.1.0=E:2011.5.25.191.3.1 E:2011.5.25.191.1.1.0=1266 E:2011.5.25.191.1.2.0=0 E:2011.5.25.191.1.3.0=4095
I have same items and trigger like on storage and server where they works perfectly, i also have community "public" in /etc/snmp/snmptrapd.conf
I dont undrstand what could be wrong, can anyone try to advice me ?
thank you in advance
i have issue with recieving trap, some traps are correctly recieved (server,storage) wrote to /tmp/zabbix_traps.tmp and after that collected by item and represented by trigger.
example of traps without problems (it fire trigger and alarm)
15:16:56.802027 IP 172.25.2.21.51951 > zabbix-virtual-machine.snmp-trap: C="Hu@wei123" V2Trap(372) system.sysUpTime.0=78124029 S:1.1.4.1.0=E:2011.2.235.1.1.500.10.256.1 E:2011.2.235.1.1.500.1.1=4 E:2011.2.235.1.1.500.1.2="test sensor" E:2011.2.235.1.1.500.1.3="test event" E:2011.2.235.1.1.500.1.4=1 E:2011.2.235.1.1.500.1.5="0x00000001" E:2011.2.235.1.1.500.1.6=0 E:2011.2.235.1.1.500.1.7=0 E:2011.2.235.1.1.500.1.8="sever identity test" E:2011.2.235.1.1.500.1.9="server room" E:2011.2.235.1.1.500.1.10="1970-01-01 00:00:00"
15:20:11.158301 IP 172.25.2.17.33803 > zabbix-virtual-machine.snmp-trap: C="storage_public" V2Trap(301) system.sysUpTime.0=367778320 S:1.1.4.1.0=E:34774.4.1.4.2 E:34774.4.1.3.3.1.0=1 E:34774.4.1.3.3.2.0=2305843009213693950 E:34774.4.1.3.3.3.0=6 E:34774.4.1.3.3.4.0=4294967295 E:34774.4.1.3.3.5.0=1589462199 E:34774.4.1.3.3.6.0=0 E:34774.4.1.3.3.7.0="" E:34774.4.1.3.3.8.0=4294967294 E:34774.4.1.3.3.9.0=07_e4_05_0e_0f_10_27_00 E:34774.4.1.3.3.10.0=07_b2_01_01_01_00_00_00
But in case of firewall and switches the trap dont even write to /tmp/zabbix_traps.tmp
example of issue trap:
10:25:43.051465 IP 172.25.2.2.49350 > zabbix-virtual-machine.snmp-trap: C="public" V2Trap(124) system.sysUpTime.0=3737368311 S:1.1.4.1.0=E:2011.5.25.191.3.1 E:2011.5.25.191.1.1.0=1266 E:2011.5.25.191.1.2.0=0 E:2011.5.25.191.1.3.0=4095
I have same items and trigger like on storage and server where they works perfectly, i also have community "public" in /etc/snmp/snmptrapd.conf
I dont undrstand what could be wrong, can anyone try to advice me ?
thank you in advance

Comment