Skip to content

Instantly share code, notes, and snippets.

@j-white
Created November 22, 2019 18:00
Show Gist options
  • Save j-white/d69420a4b3e02871c2a3d723d65863e6 to your computer and use it in GitHub Desktop.
Save j-white/d69420a4b3e02871c2a3d723d65863e6 to your computer and use it in GitHub Desktop.
Grafana dashboard for OpenNMS Alarmd KPIs (w/ Helm)
{
"__inputs": [],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "6.3.3"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "datasource",
"id": "opennms-helm-performance-datasource",
"name": "OpenNMS Performance",
"version": "1.0.0"
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"description": "KPIs for Alarmd",
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": null,
"iteration": 1574445547205,
"links": [],
"panels": [
{
"aliasColors": {
"Alarms": "dark-red",
"Situations": "yellow"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$ds",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 24,
"x": 0,
"y": 0
},
"id": 7,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"attribute": "DroolsAlarmdAlarms",
"label": "Alarms",
"nodeId": "$nms",
"refId": "A",
"resourceId": "interfaceSnmp[opennms-jvm]",
"type": "attribute"
},
{
"attribute": "DroolsAlarmdSitu",
"label": "Situations",
"nodeId": "$nms",
"refId": "B",
"resourceId": "interfaceSnmp[opennms-jvm]",
"type": "attribute"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Alarms",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {
"Facts": "blue"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$ds",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 5
},
"id": 2,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"attribute": "DroolsAlarmdFacts",
"label": "Facts",
"nodeId": "$nms",
"refId": "A",
"resourceId": "interfaceSnmp[opennms-jvm]",
"type": "attribute"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Num Facts",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$ds",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 12,
"x": 0,
"y": 11
},
"id": 5,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"attribute": "DroolsAlarmdLv75",
"label": "75",
"nodeId": "$nms",
"refId": "D",
"resourceId": "interfaceSnmp[opennms-jvm]",
"type": "attribute"
},
{
"attribute": "DroolsAlarmdLv95",
"label": "95",
"nodeId": "$nms",
"refId": "A",
"resourceId": "interfaceSnmp[opennms-jvm]",
"type": "attribute"
},
{
"attribute": "DroolsAlarmdLv98",
"label": "98",
"nodeId": "$nms",
"refId": "B",
"resourceId": "interfaceSnmp[opennms-jvm]",
"type": "attribute"
},
{
"attribute": "DroolsAlarmdLv99",
"label": "99",
"nodeId": "$nms",
"refId": "C",
"resourceId": "interfaceSnmp[opennms-jvm]",
"type": "attribute"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Liveness",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {
"Actions In Flight": "dark-green"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$ds",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 12,
"x": 12,
"y": 11
},
"id": 3,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"attribute": "DroolsAlarmdActions",
"label": "Actions In Flight",
"nodeId": "$nms",
"refId": "A",
"resourceId": "interfaceSnmp[opennms-jvm]",
"type": "attribute"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Actions in Flight",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"refresh": "30s",
"schemaVersion": 19,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
"text": "OpenNMS Performance",
"value": "OpenNMS Performance"
},
"hide": 0,
"includeAll": false,
"label": "Datasource",
"multi": false,
"name": "ds",
"options": [],
"query": "opennms-helm-performance-datasource",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{
"allValue": null,
"current": {},
"datasource": "$ds",
"definition": "nodeFilter(isOpenNMS-JVM)",
"hide": 0,
"includeAll": false,
"label": "NMS Node",
"multi": false,
"name": "nms",
"options": [],
"query": "nodeFilter(isOpenNMS-JVM)",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
"title": "Alarmd Health",
"uid": "adL7jBhZk",
"version": 9
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment