OVIRT如何配置邮件告警

A:使用ovirt-engine-notifier服务来根据指定是事件发出邮件通知。
1)配置服务
[root@engine ~]# vi /usr/share/ovirt-engine/services/ovirt-engine-notifier/ovirt-engine-notifier.confbr/>MAIL_SERVER=smtp.xxx.com
MAIL_PORT=465
[email protected]
MAIL_PASSWORD=xxxx
MAIL_SMTP_ENCRYPTION=ssl
HTML_MESSAGE_FORMAT=true
[email protected]

[root@engine ~]# chkconfig ovirt-engine-notifier on
[root@engine ~]# service ovirt-engine-notifier start

2)配置用户
在 ovirt-engine 页面选择:“系统”-“用户”
选定用户(admin),在下方的菜单中选择:“事件通知器”-“管理事件”
选定需要告警的事件,配置邮件接收者。
重启一下服务:
[root@engine ~]# service ovirt-engine-notifier restart

猜你喜欢

转载自blog.51cto.com/2833238/2116867
今日推荐