`
yinbangmin
  • 浏览: 33747 次
  • 来自: 北京
社区版块
存档分类
最新评论

OpenNMS-Helm(Grafana插件)安装使用

阅读更多
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
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics