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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章