Hi everyone!
I have just encountered an annoying issue with sending email with long lines.
I am using zabbix_sender to notify zabbix of some events from Cisco devices logs. Zabbix receives the message correctly - I see following line in Latest Data -> History -> As plain text:
TRAP: Jul 22 07:01:57 192.168.200.1 941: Jul 22 07:01:56.601 MET-DST: %DHCP_SNOOPING-5-DHCP_SNOOPING_MATCH_MAC_FAIL: DHCP_SNOOPING drop message because the chaddr doesn't match source mac, message type: DHCPDISCOVER, chaddr: e16c.d6ae.5290, MAC sa: 001e.ec1f.f462
This triggers an action that sends email, but I receive only this:
TRAP: Jul 22 07:01:57 192.168.200.1 941: Jul 22 07:01:56.601 MET-DST: %DHCP_SNOOPING-5-DHCP_SNOOPING_MATCH_MAC_FAIL: DHCP_SNOOPING drop message because the chaddr doesn't match source mac, message type: DHCPDISCOVER, chaddr: e16c.d6ae.5290, MAC sa: 001e.e
It is 255 characters so I presume there is some limitation for one line when sending an email...
The item that collects these logs is of type Zabbix trapper and has Log as Type of information. I tried to change it to Text, but then nothing is received when I used zabbix_sender.
I am using Zabbix 1.8.2. Is there any solution to receive more than 255 characters?
Thanks for any hints.
Martin
PS. I most probably made this post in wrong part of forum, it should go probably to troubleshooting, please post any post there - http://www.zabbix.com/forum/showthread.php?p=68760
I have just encountered an annoying issue with sending email with long lines.
I am using zabbix_sender to notify zabbix of some events from Cisco devices logs. Zabbix receives the message correctly - I see following line in Latest Data -> History -> As plain text:
TRAP: Jul 22 07:01:57 192.168.200.1 941: Jul 22 07:01:56.601 MET-DST: %DHCP_SNOOPING-5-DHCP_SNOOPING_MATCH_MAC_FAIL: DHCP_SNOOPING drop message because the chaddr doesn't match source mac, message type: DHCPDISCOVER, chaddr: e16c.d6ae.5290, MAC sa: 001e.ec1f.f462
This triggers an action that sends email, but I receive only this:
TRAP: Jul 22 07:01:57 192.168.200.1 941: Jul 22 07:01:56.601 MET-DST: %DHCP_SNOOPING-5-DHCP_SNOOPING_MATCH_MAC_FAIL: DHCP_SNOOPING drop message because the chaddr doesn't match source mac, message type: DHCPDISCOVER, chaddr: e16c.d6ae.5290, MAC sa: 001e.e
It is 255 characters so I presume there is some limitation for one line when sending an email...
The item that collects these logs is of type Zabbix trapper and has Log as Type of information. I tried to change it to Text, but then nothing is received when I used zabbix_sender.
I am using Zabbix 1.8.2. Is there any solution to receive more than 255 characters?
Thanks for any hints.
Martin
PS. I most probably made this post in wrong part of forum, it should go probably to troubleshooting, please post any post there - http://www.zabbix.com/forum/showthread.php?p=68760
Comment