Ad Widget

Collapse

Group alert messages in threads in email clients

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SergK
    Junior Member
    • Jun 2008
    • 13

    #1

    Group alert messages in threads in email clients

    It think it would be useful to group alert messages related to one event (in case of escalation) in email client.
    Email clients can group messages to threads using 'Message-Id' and 'References' headers.

    So I've written a patch which generates Message-Id for first alert message in escalation process based on escalationid, triggerid and eventid. For 2nd and other messaged related to that escalation generated value is added to header References, so email client can group them to first.

    This feature works only if "Recovery message" flag is enabled in configuration settings of action.

    Patch adds two fields (threadstart and threadtag) to table alerts at zabbix database. And one field smtp_threads to table media_type, which is a flag to enable feature globally to Email media. Currently there is no GUI part to manipulate this flag, so you need to set it to '1' directly through SQL.

    Patch is against last svn snapshot of 1.8.x tree.

    I post this patch just to know opinion of community, if this feature is interesting to someone except me.

    If it is, I will work on patch further to get it ready for merging in main tree.
    Attached Files
  • benjaminconnelly
    Junior Member
    • Jul 2012
    • 12

    #2
    Yes yes yes. iPhone's cant thread the messages from zabbix. SO frustrating.

    Comment

    Working...