欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

OpenNMS通知配置(发送邮件)

程序员文章站 2022-07-12 19:33:54
...
1 邮件服务器配置

开启通知状态
    Configure OpenNMS -> Notification Status:

配置发送通知的事件
    Configure OpenNMS -> Configure Notifications -> Configure Event Notifications

配置通知策略
    Configure OpenNMS -> Configure Notifications -> Configure Destination Paths

邮件通知策略配置
配置文件:etc/javamail-configuration.properties
org.opennms.core.utils.mailHost=smtp.126.com
org.opennms.core.utils.authenticate=true
org.opennms.core.utils.fromAddress=opennms@126.com
org.opennms.core.utils.authenticateUser=opennms@126.com
org.opennms.core.utils.authenticatePassword=password
org.opennms.core.utils.charset=utf-8

用户的通知需要在用户配置页面填写email地址。

OpenNMS视频地址:https://edu.csdn.net/course/play/6256/118505
OpenNMS视频下载:https://pan.baidu.com/s/1k2QdWxBqrN9nhWLIKLIrTQ