Grafana - Fortigate

{ “annotations”: { “list”: [ { “builtIn”: 1, “datasource”: “– Grafana –”, “enable”: true, “hide”: true, “iconColor”: “rgba(0, 211, 255, 1)”, “name”: “Annotations & Alerts”, “type”: “dashboard” } ] }, “description”: “Monitor your fortigate instances with grafana and prometheus via SNMP.\r\n\r\n\r\nTested with fortigate 1000D but should work well with other models.”, “editable”: true, “gnetId”: 7567, “graphTooltip”: 0, “id”: 19, “iteration”: 1561554158142, “links”: [], “panels”: [ { “collapsed”: false, “gridPos”: { “h”: 1, “w”: 24, “x”: 0, “y”: 0 }, “id”: 32, “panels”: [], “title”: “Overall Status”, “type”: “row” }, { “cacheTimeout”: null, “colorBackground”: false, “colorValue”: false, “colors”: [ “#299c46”, “rgba(237, 129, 40, 0.89)”, “#d44a3a” ], “datasource”: “Prometheus”, “format”: “percent”, “gauge”: { “maxValue”: 100, “minValue”: 0, “show”: true, “thresholdLabels”: false, “thresholdMarkers”: true }, “gridPos”: { “h”: 4, “w”: 3, “x”: 0, “y”: 1 }, “id”: 4, “interval”: null, “links”: [], “mappingType”: 1, “mappingTypes”: [ { “name”: “value to text”, “value”: 1 }, { “name”: “range to text”, “value”: 2 } ], “maxDataPoints”: 100, “nullPointMode”: “connected”, “nullText”: null, “postfix”: “”, “postfixFontSize”: “50%”, “prefix”: “”, “prefixFontSize”: “50%”, “rangeMaps”: [ { “from”: “null”, “text”: “N/A”, “to”: “null” } ], “sparkline”: { “fillColor”: “rgba(31, 118, 189, 0.18)”, “full”: false, “lineColor”: “rgb(31, 120, 193)”, “show”: true }, “tableColumn”: “”, “targets”: [ { “expr”: “fgSysCpuUsage{instance=~"$instance"}”, “format”: “time_series”, “intervalFactor”: 1, “refId”: “A” } ], “thresholds”: “50,80”, “title”: “CPU Usage”, “type”: “singlestat”, “valueFontSize”: “80%”, “valueMaps”: [ { “op”: “=”, “text”: “N/A”, “value”: “null” } ], “valueName”: “current” }, { “cacheTimeout”: null, “colorBackground”: false, “colorValue”: false, “colors”: [ “#299c46”, “rgba(237, 129, 40, 0.89)”, “#d44a3a” ], “datasource”: “Prometheus”, “format”: “percent”, “gauge”: { “maxValue”: 100, “minValue”: 0, “show”: true, “thresholdLabels”: false, “thresholdMarkers”: true }, “gridPos”: { “h”: 4, “w”: 3, “x”: 3, “y”: 1 }, “id”: 5, “interval”: null, “links”: [], “mappingType”: 1, “mappingTypes”: [ { “name”: “value to text”, “value”: 1 }, { “name”: “range to text”, “value”: 2 } ], “maxDataPoints”: 100, “nullPointMode”: “connected”, “nullText”: null, “postfix”: “”, “postfixFontSize”: “50%”, “prefix”: “”, “prefixFontSize”: “50%”, “rangeMaps”: [ { “from”: “null”, “text”: “N/A”, “to”: “null” } ], “sparkline”: { “fillColor”: “rgba(31, 118, 189, 0.18)”, “full”: false, “lineColor”: “rgb(31, 120, 193)”, “show”: true }, “tableColumn”: “”, “targets”: [ { “expr”: “fgSysMemUsage{instance=~"$instance"}”, “format”: “time_series”, “intervalFactor”: 1, “refId”: “A” } ], “thresholds”: “50,80”, “title”: “Memory Usage”, “type”: “singlestat”, “valueFontSize”: “80%”, “valueMaps”: [ { “op”: “=”, “text”: “N/A”, “value”: “null” } ], “valueName”: “current” }, { “cacheTimeout”: null, “colorBackground”: false, “colorValue”: false, “colors”: [ “#299c46”, “rgba(237, 129, 40, 0.89)”, “#d44a3a” ], “datasource”: “Prometheus”, “format”: “percent”, “gauge”: { “maxValue”: 100, “minValue”: 0, “show”: true, “thresholdLabels”: false, “thresholdMarkers”: true }, “gridPos”: { “h”: 4, “w”: 3, “x”: 6, “y”: 1 }, “id”: 6, “interval”: null, “links”: [], “mappingType”: 1, “mappingTypes”: [ { “name”: “value to text”, “value”: 1 }, { “name”: “range to text”, “value”: 2 } ], “maxDataPoints”: 100, “nullPointMode”: “connected”, “nullText”: null, “postfix”: “”, “postfixFontSize”: “50%”, “prefix”: “”, “prefixFontSize”: “50%”, “rangeMaps”: [ { “from”: “null”, “text”: “N/A”, “to”: “null” } ], “sparkline”: { “fillColor”: “rgba(31, 118, 189, 0.18)”, “full”: false, “lineColor”: “rgb(31, 120, 193)”, “show”: true }, “tableColumn”: “”, “targets”: [ { “expr”: “fgSysDiskUsage{instance=~"$instance"} / fgSysDiskCapacity{instance=~"$instance"}”, “format”: “time_series”, “intervalFactor”: 1, “refId”: “A” } ], “thresholds”: “50,80”, “title”: “Disk Usage”, “type”: “singlestat”, “valueFontSize”: “80%”, “valueMaps”: [ { “op”: “=”, “text”: “N/A”, “value”: “null” } ], “valueName”: “current” }, { “cacheTimeout”: null, “colorBackground”: false, “colorValue”: false, “colors”: [ “#299c46”, “rgba(237, 129, 40, 0.89)”, “#d44a3a” ], “datasource”: “Prometheus”, “format”: “short”, “gauge”: { “maxValue”: 100, “minValue”: 0, “show”: false, “thresholdLabels”: false, “thresholdMarkers”: true }, “gridPos”: { “h”: 2, “w”: 5, “x”: 9, “y”: 1 }, “id”: 8, “interval”: null, “links”: [], “mappingType”: 1, “mappingTypes”: [ { “name”: “value to text”, “value”: 1 }, { “name”: “range to text”, “value”: 2 } ], “maxDataPoints”: 100, “nullPointMode”: “connected”, “nullText”: null, “postfix”: “”, “postfixFontSize”: “50%”, “prefix”: “”, “prefixFontSize”: “50%”, “rangeMaps”: [ { “from”: “null”, “text”: “N/A”, “to”: “null” } ], “sparkline”: { “fillColor”: “rgba(31, 118, 189, 0.18)”, “full”: false, “lineColor”: “rgb(31, 120, 193)”, “show”: false }, “tableColumn”: “”, “targets”: [ { “expr”: “fgSysVersion{instance=~"$instance"}”, “format”: “time_series”, “instant”: false, “intervalFactor”: 1, “legendFormat”: “”, “refId”: “A” } ], “thresholds”: “”, “title”: “Version OS”, “type”: “singlestat”, “valueFontSize”: “50%”, “valueMaps”: [ { “op”: “=”, “text”: “N/A”, “value”: “null” } ], “valueName”: “name” }, { “cacheTimeout”: null, “colorBackground”: true, “colorValue”: false, “colors”: [ “#299c46”, “rgba(237, 129, 40, 0.89)”, “#d44a3a” ], “datasource”: “Prometheus”, “format”: “none”, “gauge”: { “maxValue”: 100, “minValue”: 0, “show”: false, “thresholdLabels”: false, “thresholdMarkers”: true }, “gridPos”: { “h”: 2, “w”: 3, “x”: 14, “y”: 1 }, “id”: 34, “interval”: null, “links”: [], “mappingType”: 1, “mappingTypes”: [ { “name”: “value to text”, “value”: 1 }, { “name”: “range to text”, “value”: 2 } ], “maxDataPoints”: 100, “nullPointMode”: “connected”, “nullText”: null, “postfix”: “”, “postfixFontSize”: “50%”, “prefix”: “”, “prefixFontSize”: “50%”, “rangeMaps”: [ { “from”: “null”, “text”: “N/A”, “to”: “null” } ], “sparkline”: { “fillColor”: “rgba(31, 118, 189, 0.18)”, “full”: false, “lineColor”: “rgb(31, 120, 193)”, “show”: false }, “tableColumn”: “”, “targets”: [ { “expr”: “count(sort (fgVpnTunEntStatus{instance=~"$instance"} / on(fgVpnTunEntIndex) group_right(fgVpnTunEntStatus) fgVpnTunEntPhase1Name{instance=~"$instance"} / on(fgVpnTunEntIndex) group_right(fgVpnTunEntPhase1Name) fgVpnTunEntPhase2Name{instance=~"$instance"}) !=2 )”, “format”: “time_series”, “intervalFactor”: 1, “refId”: “A” } ], “thresholds”: “1,5”, “title”: “VPN IPsec down count”, “type”: “singlestat”, “valueFontSize”: “80%”, “valueMaps”: [ { “op”: “=”, “text”: “0”, “value”: “null” } ], “valueName”: “current” }, { “cacheTimeout”: null, “columns”: [], “datasource”: “Prometheus”, “fontSize”: “100%”, “gridPos”: { “h”: 6, “w”: 8, “x”: 9, “y”: 3 }, “id”: 15, “links”: [], “pageSize”: null, “scroll”: true, “showHeader”: true, “sort”: { “col”: 1, “desc”: true }, “styles”: [ { “alias”: “Time”, “dateFormat”: “YYYY-MM-DD HH:mm:ss”, “link”: false, “pattern”: “Time”, “type”: “hidden” }, { “alias”: “”, “colorMode”: null, “colors”: [ “rgba(245, 54, 54, 0.9)”, “rgba(237, 129, 40, 0.89)”, “rgba(50, 172, 45, 0.97)” ], “decimals”: 2, “pattern”: “Value #.”, “thresholds”: [], “type”: “hidden”, “unit”: “short” }, { “alias”: “Client IP”, “colorMode”: null, “colors”: [ “rgba(245, 54, 54, 0.9)”, “rgba(237, 129, 40, 0.89)”, “rgba(50, 172, 45, 0.97)” ], “dateFormat”: “YYYY-MM-DD HH:mm:ss”, “decimals”: 2, “mappingType”: 1, “pattern”: “fgVpnDialupDstAddr”, “thresholds”: [], “type”: “number”, “unit”: “short” }, { “alias”: “Remote IP”, “colorMode”: null, “colors”: [ “rgba(245, 54, 54, 0.9)”, “rgba(237, 129, 40, 0.89)”, “rgba(50, 172, 45, 0.97)” ], “dateFormat”: “YYYY-MM-DD HH:mm:ss”, “decimals”: 2, “mappingType”: 1, “pattern”: “fgVpnDialupGateway”, “thresholds”: [], “type”: “number”, “unit”: “short” } ], “targets”: [ { “expr”: “sum(fgVpnDialupDstAddr{instance="$instance"}) by (fgVpnDialupDstAddr)”, “format”: “table”, “instant”: true, “intervalFactor”: 1, “legendFormat”: “”, “refId”: “A” }, { “expr”: “sum(fgVpnDialupGateway{instance="$instance"}) by (fgVpnDialupGateway)”, “format”: “table”, “instant”: true, “intervalFactor”: 1, “legendFormat”: “”, “refId”: “B” } ], “timeFrom”: null, “timeShift”: null, “title”: “FortiClient VPN”, “transform”: “table”, “type”: “table” }, { “cacheTimeout”: null, “colorBackground”: true, “colorValue”: false, “colors”: [ “#299c46”, “rgba(237, 129, 40, 0.89)”, “#d44a3a” ], “datasource”: “Prometheus”, “format”: “Bps”, “gauge”: { “maxValue”: 104857600, “minValue”: 0, “show”: false, “thresholdLabels”: false, “thresholdMarkers”: true }, “gridPos”: { “h”: 2, “w”: 3, “x”: 0, “y”: 5 }, “id”: 38, “interval”: null, “links”: [], “mappingType”: 1, “mappingTypes”: [ { “name”: “value to text”, “value”: 1 }, { “name”: “range to text”, “value”: 2 } ], “maxDataPoints”: 100, “nullPointMode”: “connected”, “nullText”: null, “postfix”: “”, “postfixFontSize”: “50%”, “prefix”: “”, “prefixFontSize”: “50%”, “rangeMaps”: [ { “from”: “null”, “text”: “N/A”, “to”: “null” } ], “sparkline”: { “fillColor”: “rgba(31, 118, 189, 0.18)”, “full”: false, “lineColor”: “rgb(31, 120, 193)”, “show”: true }, “tableColumn”: “”, “targets”: [ { “expr”: “irate(ifHCInOctets{instance=~"$instance",ifName="wan1"}[5m]) or irate(ifHCInOctets{instance=~"$instance",ifName="V108"}[5m])”, “format”: “time_series”, “intervalFactor”: 1, “refId”: “A” } ], “thresholds”: “52428800,83886080”, “title”: “WAN1 IN”, “type”: “singlestat”, “valueFontSize”: “70%”, “valueMaps”: [ { “op”: “=”, “text”: “N/A”, “value”: “null” } ], “valueName”: “current” }, { “cacheTimeout”: null, “colorBackground”: true, “colorValue”: false, “colors”: [ “#299c46”, “rgba(237, 129, 40, 0.89)”, “#d44a3a” ], “datasource”: “Prometheus”, “format”: “Bps”, “gauge”: { “maxValue”: 104857600, “minValue”: 0, “show”: false, “thresholdLabels”: false, “thresholdMarkers”: true }, “gridPos”: { “h”: 2, “w”: 3, “x”: 3, “y”: 5 }, “id”: 36, “interval”: null, “links”: [], “mappingType”: 1, “mappingTypes”: [ { “name”: “value to text”, “value”: 1 }, { “name”: “range to text”, “value”: 2 } ], “maxDataPoints”: 100, “nullPointMode”: “connected”, “nullText”: null, “postfix”: “”, “postfixFontSize”: “50%”, “prefix”: “”, “prefixFontSize”: “50%”, “rangeMaps”: [ { “from”: “null”, “text”: “N/A”, “to”: “null” } ], “sparkline”: { “fillColor”: “rgba(31, 118, 189, 0.18)”, “full”: false, “lineColor”: “rgb(31, 120, 193)”, “show”: true }, “tableColumn”: “”, “targets”: [ { “expr”: “irate(ifHCInOctets{instance=~"$instance",ifName="wan2"}[5m]) or irate(ifHCInOctets{instance=~"$instance",ifName="V104"}[5m]) “, “format”: “time_series”, “intervalFactor”: 1, “refId”: “A” } ], “thresholds”: “52428800,83886080”, “title”: “WAN2 IN”, “type”: “singlestat”, “valueFontSize”: “70%”, “valueMaps”: [ { “op”: “=”, “text”: “N/A”, “value”: “null” } ], “valueName”: “current” }, { “cacheTimeout”: null, “colorBackground”: true, “colorValue”: false, “colors”: [ “#299c46”, “rgba(237, 129, 40, 0.89)”, “#d44a3a” ], “datasource”: “Prometheus”, “format”: “none”, “gauge”: { “maxValue”: 104857600, “minValue”: 0, “show”: false, “thresholdLabels”: false, “thresholdMarkers”: true }, “gridPos”: { “h”: 2, “w”: 3, “x”: 6, “y”: 5 }, “id”: 40, “interval”: null, “links”: [], “mappingType”: 1, “mappingTypes”: [ { “name”: “value to text”, “value”: 1 }, { “name”: “range to text”, “value”: 2 } ], “maxDataPoints”: 100, “nullPointMode”: “connected”, “nullText”: null, “postfix”: “”, “postfixFontSize”: “50%”, “prefix”: “”, “prefixFontSize”: “50%”, “rangeMaps”: [ { “from”: “null”, “text”: “N/A”, “to”: “null” } ], “sparkline”: { “fillColor”: “rgba(31, 118, 189, 0.18)”, “full”: false, “lineColor”: “rgb(31, 120, 193)”, “show”: true }, “tableColumn”: “”, “targets”: [ { “expr”: “fgSysSesCount{instance=~"$instance"}”, “format”: “time_series”, “intervalFactor”: 1, “refId”: “A” } ], “thresholds”: “00000-43000,50000-70000,70000-100000”, “title”: “Sessions”, “type”: “singlestat”, “valueFontSize”: “70%”, “valueMaps”: [ { “op”: “=”, “text”: “N/A”, “value”: “null” } ], “valueName”: “current” }, { “cacheTimeout”: null, “colorBackground”: true, “colorValue”: false, “colors”: [ “#299c46”, “rgba(237, 129, 40, 0.89)”, “#d44a3a” ], “datasource”: “Prometheus”, “format”: “Bps”, “gauge”: { “maxValue”: 104857600, “minValue”: 0, “show”: false, “thresholdLabels”: false, “thresholdMarkers”: true }, “gridPos”: { “h”: 2, “w”: 3, “x”: 0, “y”: 7 }, “id”: 39, “interval”: null, “links”: [], “mappingType”: 1, “mappingTypes”: [ { “name”: “value to text”, “value”: 1 }, { “name”: “range to text”, “value”: 2 } ], “maxDataPoints”: 100, “nullPointMode”: “connected”, “nullText”: null, “postfix”: “”, “postfixFontSize”: “50%”, “prefix”: “”, “prefixFontSize”: “50%”, “rangeMaps”: [ { “from”: “null”, “text”: “N/A”, “to”: “null” } ], “sparkline”: { “fillColor”: “rgba(31, 118, 189, 0.18)”, “full”: false, “lineColor”: “rgb(31, 120, 193)”, “show”: true }, “tableColumn”: “”, “targets”: [ { “expr”: “irate(ifHCOutOctets{instance=~"$instance",ifName="wan1"}[5m]) or irate(ifHCOutOctets{instance=~"$instance",ifName="V108"}[5m])”, “format”: “time_series”, “intervalFactor”: 1, “refId”: “A” } ], “thresholds”: “52428800,83886080”, “title”: “WAN1 OUT”, “type”: “singlestat”, “valueFontSize”: “70%”, “valueMaps”: [ { “op”: “=”, “text”: “N/A”, “value”: “null” } ], “valueName”: “current” }, { “cacheTimeout”: null, “colorBackground”: true, “colorValue”: false, “colors”: [ “#299c46”, “rgba(237, 129, 40, 0.89)”, “#d44a3a” ], “datasource”: “Prometheus”, “format”: “Bps”, “gauge”: { “maxValue”: 104857600, “minValue”: 0, “show”: false, “thresholdLabels”: false, “thresholdMarkers”: true }, “gridPos”: { “h”: 2, “w”: 3, “x”: 3, “y”: 7 }, “id”: 37, “interval”: null, “links”: [], “mappingType”: 1, “mappingTypes”: [ { “name”: “value to text”, “value”: 1 }, { “name”: “range to text”, “value”: 2 } ], “maxDataPoints”: 100, “nullPointMode”: “connected”, “nullText”: null, “postfix”: “”, “postfixFontSize”: “50%”, “prefix”: “”, “prefixFontSize”: “50%”, “rangeMaps”: [ { “from”: “null”, “text”: “N/A”, “to”: “null” } ], “sparkline”: { “fillColor”: “rgba(31, 118, 189, 0.18)”, “full”: false, “lineColor”: “rgb(31, 120, 193)”, “show”: true }, “tableColumn”: “”, “targets”: [ { “expr”: “irate(ifHCOutOctets{instance=~"$instance",ifName="wan2"}[5m]) or irate(ifHCOutOctets{instance=~"$instance",ifName="V104"}[5m]) “, “format”: “time_series”, “intervalFactor”: 1, “refId”: “A” } ], “thresholds”: “52428800,83886080”, “title”: “WAN2 OUT”, “type”: “singlestat”, “valueFontSize”: “70%”, “valueMaps”: [ { “op”: “=”, “text”: “N/A”, “value”: “null” } ], “valueName”: “current” }, { “cacheTimeout”: null, “colorBackground”: false, “colorValue”: false, “colors”: [ “#299c46”, “rgba(237, 129, 40, 0.89)”, “#d44a3a” ], “datasource”: “Prometheus”, “decimals”: 0, “format”: “s”, “gauge”: { “maxValue”: 100, “minValue”: 0, “show”: false, “thresholdLabels”: false, “thresholdMarkers”: true }, “gridPos”: { “h”: 2, “w”: 3, “x”: 6, “y”: 7 }, “id”: 2, “interval”: null, “links”: [], “mappingType”: 1, “mappingTypes”: [ { “name”: “value to text”, “value”: 1 }, { “name”: “range to text”, “value”: 2 } ], “maxDataPoints”: 100, “nullPointMode”: “connected”, “nullText”: null, “postfix”: “”, “postfixFontSize”: “50%”, “prefix”: “”, “prefixFontSize”: “50%”, “rangeMaps”: [ { “from”: “null”, “text”: “N/A”, “to”: “null” } ], “sparkline”: { “fillColor”: “rgba(31, 118, 189, 0.18)”, “full”: false, “lineColor”: “rgb(31, 120, 193)”, “show”: false }, “tableColumn”: “”, “targets”: [ { “expr”: “fgSysUpTime{instance=~"$instance"}/100”, “format”: “time_series”, “instant”: true, “intervalFactor”: 1, “legendFormat”: “”, “refId”: “A” } ], “thresholds”: “”, “title”: “Uptime”, “type”: “singlestat”, “valueFontSize”: “80%”, “valueMaps”: [ { “op”: “=”, “text”: “N/A”, “value”: “null” } ], “valueName”: “current” }, { “collapsed”: false, “gridPos”: { “h”: 1, “w”: 24, “x”: 0, “y”: 9 }, “id”: 17, “panels”: [], “title”: “VPN”, “type”: “row” }, { “columns”: [], “datasource”: “Prometheus”, “fontSize”: “100%”, “gridPos”: { “h”: 8, “w”: 24, “x”: 0, “y”: 10 }, “id”: 14, “links”: [], “pageSize”: null, “scroll”: true, “showHeader”: true, “sort”: { “col”: null, “desc”: false }, “styles”: [ { “alias”: “Time”, “dateFormat”: “YYYY-MM-DD HH:mm:ss”, “pattern”: “Time”, “type”: “hidden” }, { “alias”: “VPN NAME”, “colorMode”: null, “colors”: [ “rgba(245, 54, 54, 0.9)”, “rgba(237, 129, 40, 0.89)”, “rgba(50, 172, 45, 0.97)” ], “dateFormat”: “YYYY-MM-DD HH:mm:ss”, “decimals”: 2, “mappingType”: 1, “pattern”: “fgVpnTunEntPhase1Name”, “thresholds”: [], “type”: “number”, “unit”: “short” }, { “alias”: “Status”, “colorMode”: “row”, “colors”: [ “rgba(245, 54, 54, 0.9)”, “#e24d42”, “rgba(50, 172, 45, 0.97)” ], “dateFormat”: “YYYY-MM-DD HH:mm:ss”, “decimals”: 2, “mappingType”: 1, “pattern”: “Value #A”, “thresholds”: [ “1”, “2” ], “type”: “string”, “unit”: “short”, “valueMaps”: [ { “text”: “UP”, “value”: “2” }, { “text”: “DOWN”, “value”: “1” } ] }, { “alias”: “Phase 2”, “colorMode”: null, “colors”: [ “rgba(245, 54, 54, 0.9)”, “rgba(237, 129, 40, 0.89)”, “rgba(50, 172, 45, 0.97)” ], “dateFormat”: “YYYY-MM-DD HH:mm:ss”, “decimals”: 2, “mappingType”: 1, “pattern”: “fgVpnTunEntPhase2Name”, “thresholds”: [], “type”: “number”, “unit”: “short” }, { “alias”: “”, “colorMode”: null, “colors”: [ “rgba(245, 54, 54, 0.9)”, “rgba(237, 129, 40, 0.89)”, “rgba(50, 172, 45, 0.97)” ], “dateFormat”: “YYYY-MM-DD HH:mm:ss”, “decimals”: 2, “mappingType”: 1, “pattern”: “fgVpnTunEntOutOctetsOctets”, “thresholds”: [], “type”: “number”, “unit”: “decbytes” }, { “alias”: “Bytes IN”, “colorMode”: null, “colors”: [ “rgba(245, 54, 54, 0.9)”, “rgba(237, 129, 40, 0.89)”, “rgba(50, 172, 45, 0.97)” ], “dateFormat”: “YYYY-MM-DD HH:mm:ss”, “decimals”: 2, “mappingType”: 1, “pattern”: “Value #B”, “thresholds”: [], “type”: “number”, “unit”: “decbytes” }, { “alias”: “Bytes OUT”, “colorMode”: null, “colors”: [ “rgba(245, 54, 54, 0.9)”, “rgba(237, 129, 40, 0.89)”, “rgba(50, 172, 45, 0.97)” ], “dateFormat”: “YYYY-MM-DD HH:mm:ss”, “decimals”: 2, “mappingType”: 1, “pattern”: “Value #C”, “thresholds”: [], “type”: “number”, “unit”: “decbytes” }, { “alias”: “”, “colorMode”: null, “colors”: [ “rgba(245, 54, 54, 0.9)”, “rgba(237, 129, 40, 0.89)”, “rgba(50, 172, 45, 0.97)” ], “decimals”: 2, “pattern”: “/./”, “thresholds”: [], “type”: “hidden”, “unit”: “short” } ], “targets”: [ { “expr”: “sort (fgVpnTunEntStatus{instance=~"$instance"} / on(fgVpnTunEntIndex) group_right(fgVpnTunEntStatus) fgVpnTunEntPhase1Name{instance=~"$instance"} / on(fgVpnTunEntIndex) group_right(fgVpnTunEntPhase1Name) fgVpnTunEntPhase2Name{instance=~"$instance"})”, “format”: “table”, “instant”: true, “intervalFactor”: 1, “refId”: “A” }, { “expr”: “sum(fgVpnTunEntInOctets{instance=~"$instance"}) by (fgVpnTunEntIndex)”, “format”: “table”, “instant”: true, “intervalFactor”: 1, “refId”: “B” }, { “expr”: “sum(fgVpnTunEntOutOctets{instance=~"$instance"}) by (fgVpnTunEntIndex)”, “format”: “table”, “instant”: true, “intervalFactor”: 1, “refId”: “C” } ], “title”: “VPN IPSEC DOWN”, “transform”: “table”, “type”: “table” }, { “collapsed”: false, “gridPos”: { “h”: 1, “w”: 24, “x”: 0, “y”: 18 }, “id”: 29, “panels”: [], “title”: “Network”, “type”: “row” }, { “aliasColors”: {}, “bars”: false, “dashLength”: 10, “dashes”: false, “datasource”: “Prometheus”, “decimals”: null, “fill”: 1, “gridPos”: { “h”: 6, “w”: 24, “x”: 0, “y”: 19 }, “id”: 27, “legend”: { “alignAsTable”: true, “avg”: true, “current”: true, “hideEmpty”: true, “hideZero”: true, “max”: true, “min”: false, “rightSide”: true, “show”: true, “sort”: “current”, “sortDesc”: true, “total”: false, “values”: true }, “lines”: true, “linewidth”: 1, “links”: [], “nullPointMode”: “connected”, “paceLength”: 10, “percentage”: false, “pointradius”: 5, “points”: false, “renderer”: “flot”, “seriesOverrides”: [], “spaceLength”: 10, “stack”: false, “steppedLine”: false, “targets”: [ { “expr”: “topk(10,irate( ifHCInOctets{instance=~"$instance"}[5m]))\n”, “format”: “time_series”, “instant”: false, “intervalFactor”: 1, “legendFormat”: “”, “refId”: “A” } ], “thresholds”: [], “timeFrom”: null, “timeRegions”: [], “timeShift”: null, “title”: “top 10 Interfaces Bytes/sec IN”, “tooltip”: { “shared”: true, “sort”: 0, “value_type”: “individual” }, “type”: “graph”, “xaxis”: { “buckets”: null, “mode”: “time”, “name”: null, “show”: true, “values”: [] }, “yaxes”: [ { “format”: “Bps”, “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”: “Prometheus”, “fill”: 1, “gridPos”: { “h”: 6, “w”: 24, “x”: 0, “y”: 25 }, “id”: 30, “legend”: { “alignAsTable”: true, “avg”: true, “current”: true, “hideEmpty”: true, “hideZero”: true, “max”: true, “min”: false, “rightSide”: true, “show”: true, “sort”: “current”, “sortDesc”: true, “total”: false, “values”: true }, “lines”: true, “linewidth”: 1, “links”: [], “nullPointMode”: “connected”, “paceLength”: 10, “percentage”: false, “pointradius”: 5, “points”: false, “renderer”: “flot”, “seriesOverrides”: [ { “alias”: “/. OUT/”, “transform”: “negative-Y” } ], “spaceLength”: 10, “stack”: false, “steppedLine”: false, “targets”: [ { “expr”: “topk(10,irate( ifHCOutOctets{instance=~"$instance"}[5m]))\n”, “format”: “time_series”, “instant”: false, “intervalFactor”: 1, “legendFormat”: “”, “refId”: “A” } ], “thresholds”: [], “timeFrom”: null, “timeRegions”: [], “timeShift”: null, “title”: “top 10 Interfaces Bytes/sec OUT”, “tooltip”: { “shared”: false, “sort”: 0, “value_type”: “individual” }, “type”: “graph”, “xaxis”: { “buckets”: null, “mode”: “time”, “name”: null, “show”: true, “values”: [] }, “yaxes”: [ { “format”: “Bps”, “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”: “5s”, “schemaVersion”: 18, “style”: “dark”, “tags”: [ “fortigate”, “prometheus”, “snmp_exporter” ], “templating”: { “list”: [ { “allValue”: null, “current”: { “text”: “172.16.0.1”, “value”: “172.16.0.1” }, “datasource”: “Prometheus”, “definition”: “”, “hide”: 0, “includeAll”: false, “label”: null, “multi”: false, “name”: “instance”, “options”: [], “query”: “label_values(fgSysUpTime,instance)”, “refresh”: 1, “regex”: “”, “skipUrlSync”: false, “sort”: 0, “tagValuesQuery”: “”, “tags”: [], “tagsQuery”: “”, “type”: “query”, “useTags”: false } ] }, “time”: { “from”: “now-5m”, “to”: “now” }, “timepicker”: { “refresh_intervals”: [ “5s”, “10s”, “30s”, “1m”, “5m”, “15m”, “30m”, “1h”, “2h”, “1d” ], “time_options”: [ “5m”, “15m”, “1h”, “6h”, “12h”, “24h”, “2d”, “7d”, “30d” ] }, “timezone”: “”, “title”: “Fortigate”, “uid”: “jNUaY95iz”, “version”: 18 }