1.安装OpenNMS Helm(Grafana组件)
1)加载资源位置
yum install
rpm --import
2)安装
yum install opennms-helm
3)启动
systemctl start grafana-server
4)访问地址
2.启用OpenNMS Helm
Plugins -> Apps -> OpenNMS Helm -> Enable
3.配置数据源
Data Sources
1)告警
Name: My First OpenNMS FM DS
Type: OpenNMS Faults
URL:
Access: proxy
Basic Auth: checked
User: admin
Password: admin
2)性能
Name: My First OpenNMS PM DS
Type: OpenNMS Performance
URL:
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 -> 保存并输入名称
视频地址:
阅读(1091) | 评论(0) | 转发(0) |