OVIRT如何配置郵件告警

2021-09-25 07:14:40 字數 732 閱讀 9751

a:使用ovirt-engine-notifier服務來根據指定是事件發出郵件通知。

1)配置服務

[root@engine ~]# vi /usr/share/ovirt-engine/services/ovirt-engine-notifier/ovirt-engine-notifier.conf

mail_server=smtp.***.com

mail_port=465

mail_user=from@***.com

mail_password=***x

mail_smtp_encryption=ssl

html_message_format=true

mail_from=from@***.com

[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

Zabbix 配置郵件告警

pre 1.對監控項增加trigger 2.server端安裝郵件服務 yum install sendmail 安裝 service sendmail start 啟動 chkconfig sendmail on 設定開機啟動 yum install postfix service postfix...

Zabbix外部郵件告警配置mailx

關閉sendmail或者postfix service sendmail stop chkconfig sendmail off service postfix stop chkconfig postfix off 備註 使用外部郵箱賬號時,不需要啟動sendmail或者postfix 如果在sen...

nagios監控配置與郵件告警

nagios監控配置與郵件告警 ip主機名 備註172.16.121.227 nagios 服務端172.16.121.228 client 客戶端這裡還需要安裝nagios服務以及外掛程式可以參考我之前的部落格 1.先設定服務端 root nagios vi usr local nagios et...