monasca-notification/monasca_notification/types
Dexter Fryar cca5c20eca Enhanced the email notification messages
Made the email notifications more clear with respect to the
host which caused the notification.  Added the target_host
if it is present in the subject and body of the message.

This allows an easier way to pinpoint the problem without
having to dig in to the alarm further.

BEFORE
------
Subject: ALARM "Host Alive Alarm" for Host: devstack

On host "devstack" thresholds were exceeded for the sub-alarms: max(host_alive_status) > 0.0 with the values: [1.0]

AFTER
-----
Subject: ALARM "Host Alive Alarm" for Host: devstack Target: 192.168.10.6

On host "devstack" for target "192.168.10.6" thresholds were exceeded for the sub-alarms: max(host_alive_status) > 0.0 with the values: [1.0]

Change-Id: Iac0e837b3d6899249a1dc2ea11d4f4017361ba23
2015-07-13 16:06:27 -05:00
..
__init__.py Refactored notification engine types 2015-01-21 10:07:00 -07:00
abstract_notifier.py Refactored notification engine types 2015-01-21 10:07:00 -07:00
email_notifier.py Enhanced the email notification messages 2015-07-13 16:06:27 -05:00
notifiers.py Added retry engine to notification system 2015-02-09 11:40:02 -07:00
pagerduty_notifier.py Refactored notification engine types 2015-01-21 10:07:00 -07:00
webhook_notifier.py Changes to log messages to support unicode 2015-05-05 16:54:32 -06:00