OVIRT如何配置邮件告警

A:使用ovirt-engine-notifier服务来根据指定是事件发出邮件通知。
1)配置服务

[root@engine ~]# vi /usr/share/ovirt-engine/services/ovirt-engine-notifier/ovirt-engine-notifier.conf
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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章