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.
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.
Comment