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

OpenNMS-Helm(Grafana插件)安装使用 博客分类: 网络管理 opennms helm grafana dashboard 

程序员文章站 2024-03-12 11:17:50
...
1.安装OpenNMS Helm(Grafana组件)
1)加载资源位置
yum install https://yum.opennms.org/repofiles/opennms-repo-stable-rhel7.noarch.rpm
rpm --import https://yum.opennms.org/OPENNMS-GPG-KEY

2)安装
yum install opennms-helm

3)启动
systemctl start grafana-server

4)访问地址
http://grafana-server:3000

2.启用OpenNMS Helm
Plugins -> Apps -> OpenNMS Helm -> Enable

3.配置数据源
Data Sources

1)告警
Name: My First OpenNMS FM DS
Type: OpenNMS Faults

URL: http://opennms-server:8980/opennms
Access: proxy

Basic Auth: checked

User: admin
Password: admin

2)性能
Name: My First OpenNMS PM DS
Type: OpenNMS Performance

URL: http://opennms-server:8980/opennms
Access: proxy

Basic Auth: checked

User: admin
Password: admin

4.配置Dashboard
New Dashboard

1)告警
选择Alarm Table -> 点击Panel Title -> 点击Edit -> 选择Metrics -> 数据源选择My First OpenNMS FM DS -> Back to dashboard -> 保存并输入名称

2)性能
选择Grahp -> 点击Panel Title -> 点击Edit -> 选择Metrics -> 数据源选择My First OpenNMS PM DS -> Type选择Attribute -> 点击Node并选择设备 -> 点击Resource并选择资源 -> 点击Attribute并选择 -> 选择Aggregation为Average -> Back to dashboard -> 保存并输入名称

OpenNMS视频地址:http://edu.51cto.com/center/course/lesson/index?id=249582