![]() 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 |
||
---|---|---|
.. | ||
__init__.py | ||
abstract_notifier.py | ||
email_notifier.py | ||
notifiers.py | ||
pagerduty_notifier.py | ||
webhook_notifier.py |