![]() |
![]() |
Subject: | Notifications - Set Mail and MIME Header Field: Importance (i.e. High, normal, or low) |
Author: | [Not Specified] |
Posted: | 2014-03-24 12:31 |
Zenoss Version 4.2.4
SP405 ZUP File February 26, 2014 (Current)
CentOS 6.5
Is there a way within notifications to set the Mail Header Field Importance (i.e. High, normal, or low) depending on the level of the alert or some other event property
If not from within a notification, is there any way to set the Mail Header Field Importance in Zenoss based on an event property
Reference: https://tools.ietf.org/html/rfc4021
RFC 4021 - Registration of Mail and MIME Header Fields
Header Field: Importance (i.e. High, normal, or low)
Cheers,
Clint
Subject: | Set Mail Header Importance |
Author: | [Not Specified] |
Posted: | 2014-04-01 09:38 |
Bump, please Anyone
Subject: | Set Mail Header Importance |
Author: | [Not Specified] |
Posted: | 2014-04-08 09:20 |
Anyone
Subject: | Take a look at this article: |
Author: | [Not Specified] |
Posted: | 2014-04-08 12:58 |
Take a look at this article: http://community.zenoss.org/message/75572
Hydruid
Subject: | Thanx for the Reply |
Author: | [Not Specified] |
Posted: | 2014-04-08 14:37 |
Hydruid,
Thanx for the input. The SMTP Header Field Importance is for all email, regardless of body format (our messages are successfully being sent as HTML). Respectfully I dont think that article applies.
actions.py assembles the message
Utils.py sends the email message using the smtplib
By pointing me at that article are you suggesting I modify actions.py & Utils.py to support custom properties to be able to set the importance level of a notification based on something within the alert Trust me, Ive thought about modifying the code but I would think this would something built into Zenoss and dont really want to alter Utils.py. Weve already customized actions.py to clean up and customize the email a bit and add our corporate styles to the HTML emails, I really dont want to go any further if I dont have to. If I missed your intensions, please let me know!
My thoughts are in a perfect world you would move up the food chain above actions & utils py and an event would have a "notification severity level" property that you could override in a transformation if need be.
Just my 2...
Cheers,
Clint
< |
Previous Change Date Time Format - 12 Hour Time Format |
Next Transformations - Alert then Archive (evt._action = "history") |
> |