Chapter 21. Event Notifications
21.1. Configuring Event Notifications in the Administration Portal Copy linkLink copied to clipboard!
The Red Hat Virtualization Manager can notify designated users via email when specific events occur in the environment that the Red Hat Virtualization Manager manages. To use this functionality, you must set up a mail transfer agent to deliver messages. Only email notifications can be configured through the Administration Portal. SNMP traps must be configured on the Manager machine.
Configuring Event Notifications
- Ensure that you have access to an email server that can accept automated messages from Manager and deliver them to a distribution list.
-
Click
and select a user. - Click the user’s User Name to go to the details page.
- In the Event Notifier tab, click Manage Events.
- Use the Expand All button or the subject-specific expansion buttons to view the events.
- Select the appropriate check boxes.
Enter an email address in the Mail Recipient field.
NoteThe email address can be a text message email address (for example,
1234567890@carrierdomainname.com
) or an email group address that includes email addresses and text message email addresses.- Click OK.
On the Manager machine, copy
ovirt-engine-notifier.conf
to a new file called90-email-notify.conf
:cp /usr/share/ovirt-engine/services/ovirt-engine-notifier/ovirt-engine-notifier.conf /etc/ovirt-engine/notifier/notifier.conf.d/90-email-notify.conf
# cp /usr/share/ovirt-engine/services/ovirt-engine-notifier/ovirt-engine-notifier.conf /etc/ovirt-engine/notifier/notifier.conf.d/90-email-notify.conf
Copy to Clipboard Copied! Toggle word wrap Toggle overflow -
Edit
90-email-notify.conf
, deleting everything except theEMAIL Notifications
section. Enter the correct email variables, as in the example below. This file overrides the values in the original
ovirt-engine-notifier.conf
file.Copy to Clipboard Copied! Toggle word wrap Toggle overflow NoteSee
/etc/ovirt-engine/notifier/notifier.conf.d/README
for more options.Enable and restart the
ovirt-engine-notifier
service to activate the changes you have made:systemctl daemon-reload systemctl enable ovirt-engine-notifier.service systemctl restart ovirt-engine-notifier.service
# systemctl daemon-reload # systemctl enable ovirt-engine-notifier.service # systemctl restart ovirt-engine-notifier.service
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
The specified user now receives emails based on events in the Red Hat Virtualization environment. The selected events are displayed on the Event Notifier tab for that user.