Custom Event Fields in Notifications

From Zenoss Wiki
This is the approved revision of this page, as well as being the most recent.
Jump to: navigation, search

You can add custom event fields in to notifications, but you must be careful to add them properly. If a zenactiond tries to evaluate a tales expression and the field is not there, zenactiond will error and your notification will never execute.

Creating your notification with a custom evt field

CustomField notif1.png

If that field does not exist on the event, zenaction will error and nothing will happen. CustomField zenactiond error.png

Instead, use a tales OR.

$(evt/customField | string: custom Field does not exist}

CustomField notif2.png