PDA

View Full Version : Problem: trap size limit


evgeny elkin
24-09-2009, 10:21
Hello all! I've done traps processing by perl script -
http://www.zabbix.com/forum/showpost...7&postcount=27, everything ok, but it's a problem with trap size...

In Zabbix (Latest Data and in alerts) displays only first 255 symbols of trap (my supposition) :


(192.168.4.10, 192.168.4.10) DISMAN-EVENT-MIB::sysUpTimeInstance: 0:0:00:00.00
SNMPv2-MIB::snmpTrapOID.0: SNMPv2-SMI::enterprises.1123.4.300.0.1
SNMPv2-SMI::enterprises.1123.4.300.1.1.1: 127.0.0.1
SNMPv2-SMI::enterprises.1123.4.300.1.1.2: \\\\Out-of-Band


Although i can see full trap in snmptrapper.log


[Wed Sep 23 16:42:07 2009] str= DISMAN-EVENT-MIB::sysUpTimeInstance: 0:0:00:00.00
SNMPv2-MIB::snmpTrapOID.0: SNMPv2-SMI::enterprises.1123.4.300.0.1
SNMPv2-SMI::enterprises.1123.4.300.1.1.1: 127.0.0.1
SNMPv2-SMI::enterprises.1123.4.300.1.1.2: \\\\\\\\"Out-of-Band \\\\\\\\"
SNMPv2-SMI::enterprises.1123.4.300.1.1.3: \\\\\\\"atkds3200 \\\\\\\"
SNMPv2-SMI::enterprises.1123.4.300.1.1.4: \\\\\\"280b \\\\\\"
SNMPv2-SMI::enterprises.1123.4.300.1.1.5: \\\\\"Sep 23, 2009 4:39:16 PM \\\\\"
SNMPv2-SMI::enterprises.1123.4.300.1.1.6: \\\\"Controller enclosure component failed \\\\"
SNMPv2-SMI::enterprises.1123.4.300.1.1.7: \\\"Power-fan canister \\\"
SNMPv2-SMI::enterprises.1123.4.300.1.1.8: \\"Enclosure 85, Slot 1 \\"
SNMP-COMMUNITY-MIB::snmpTrapCommunity.0: \"public\"

Is anybody knows how to solve this problem? Is there any limits for trap size in Zabbix? Thanks anyway !

Calimero
24-09-2009, 10:53
Did you set item data type to "Text" ?

evgeny elkin
24-09-2009, 12:56
When I changed to "Text" ( my previous value was"Character") size became smaller :(

(192.168.4.10, 192.168.4.10) DISMAN-EVENT-MIB::sysUpTimeInstance: 0:0:00:00.00

Alexei
24-09-2009, 17:17
I think that the problem was fixed either in 1.6.6 or pre-1.6.7.