A:使用ovirt-engine-notifier服务来根据指定是事件发出邮件通知。
1)配置服务ide
[root@engine ~]# vi /usr/share/ovirt-engine/services/ovirt-engine-notifier/ovirt-engine-notifier.conf MAIL_SERVER=smtp.xxx.com MAIL_PORT=465 MAIL_USER=from@xxx.com MAIL_PASSWORD=xxxx MAIL_SMTP_ENCRYPTION=ssl HTML_MESSAGE_FORMAT=true MAIL_FROM=from@xxx.com [root@engine ~]# chkconfig ovirt-engine-notifier on [root@engine ~]# service ovirt-engine-notifier start
2)配置用户
在 ovirt-engine 页面选择:“系统”-“用户”
选定用户(admin),在下方的菜单中选择:“事件通知器”-“管理事件”
选定须要告警的事件,配置邮件接收者。
重启一下服务:rest
[root@engine ~]# service ovirt-engine-notifier restart