前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >ovirt告警邮件通知设置

ovirt告警邮件通知设置

作者头像
shaonbean
发布2019-05-26 10:12:20
6120
发布2019-05-26 10:12:20
举报
文章被收录于专栏:运维前线运维前线运维前线

版权声明:本文为木偶人shaon原创文章,转载请注明原文地址,非常感谢。 https://cloud.tencent.com/developer/article/1434924

ovirt告警邮件设置

启用ovirt-engine-notifier服务来根据指定是事件发出邮件通知

  • 配置ovirt-engine-notifier
# 从174行开始修改
# vi /usr/share/ovirt-engine/services/ovirt-engine-notifier/ovirt-engine-notifier.conf
# The SMTP mail server address. Required.
MAIL_SERVER=smtp.163.com

# The SMTP port (usually 25 for plain SMTP, 465 for SMTP with SSL, 587 for SMTP with TLS)
MAIL_PORT=465

# Required if SSL or TLS enabled to authenticate the user. Used also to specify 'from' user address if mail server
# supports, when MAIL_FROM is not set. Address is in RFC822 format
MAIL_USER=xxxxxx@163.com

# Required to authenticate the user if mail server requires authentication or if SSL or TLS is enabled
SENSITIVE_KEYS="${SENSITIVE_KEYS},MAIL_PASSWORD"
MAIL_PASSWORD=xxxxxx

# Indicates type of encryption (none, ssl or tls) should be used to communicate with mail server.
MAIL_SMTP_ENCRYPTION=ssl # 更改使用ssl,默认none收不到邮件

# If set to true, sends a message in HTML format.
HTML_MESSAGE_FORMAT=true

# Specifies 'from' address on sent mail in RFC822 format, if supported by mail server.
MAIL_FROM=xxxxxx@163.com
  • 管理界面配置

在 ovirt-engine “管理”-“用户” ,选定用户(admin),在下方的菜单中选择:“事件通知器”-“管理事件”,选定需要告警的事件,配置邮件接收者。

  • 配置完成,启动服务:
# systemctl start ovirt-engine-notifier     
# systemctl enable ovirt-engine-notifier    

1

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2018年05月16日,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • ovirt告警邮件设置
    • 启用ovirt-engine-notifier服务来根据指定是事件发出邮件通知
    领券
    问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档