Ad Widget

Collapse

Item Type of information: Text truncated on e-mail

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • crayolarx
    Junior Member
    • Apr 2007
    • 2

    #1

    Item Type of information: Text truncated on e-mail

    We are embedding Zabbix code into our Java app and we want to gather error messages from the start of a task then send them in 1 big chunk through a base class when a task ends if there are any. Zabbix then kicks off an asterisk call and an e-mail of the errors.

    The problem is when we send out the e-mail with .last(0) it seems to only send out the first line. I know character works, but then we are limited to 256 characters. We don't want to send 1 error at a time as it would kick off that many asterisk calls and I don't even know how I would report the errors in 1 e-mail.

    Any ideas how to get all the errors out there in an e-mail report given they will potentially be longer than 256 characters?

    System: Zabbix server(RHEL 5) other servers RHEL 4
    Zabbix Version: 1.4.2 - Haven't upgraded to 1.6.2 yet, because it doesn't appear as though all the bugs have been worked out yet and even if that was the answer I don't think we could get it out/tested in time for our next code release.
Working...