Ad Widget

Collapse

Message truncated to 255 chars in email

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • novakm
    Member
    • Apr 2009
    • 38

    #1

    Message truncated to 255 chars in email

    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
    Last edited by novakm; 22-07-2010, 14:06.
  • Bennie
    Member
    Zabbix Certified Specialist
    • Feb 2010
    • 73

    #2
    nvm posted in other topic
    Last edited by Bennie; 23-07-2010, 11:07.

    Comment

    • hotmeil
      Junior Member
      • May 2011
      • 1

      #3
      I haven't not encountered that. however, if there is an attachment it could really be truncated by the email service you are using. It depends on the minimum amount or size of email you are sending. Or the other probable cause is that, the receiver is cutting the message because it is allowed to receive a huge amount of email from you end.

      Comment

      Working...