Grafana dashboard: APC PDU 7xxx
Description: Displays monitoring data collected from APC power strips (PDU) via SNMP.

This dashboard utilizes Prometheus and the snmp_exporter to gather various statistics from APC PDU Model 7xxx.  It was created using AP7930.  This template is not compatible with 8xxx models as they use different OID's.

The snmp generator.yml and the snmp.yml file used can be found here:
 https://1drv.ms/f/s!Aoh9PyG_FKE1gYZeudlcHyVBGenFXw

{
  "__inputs": [
    {
      "name": "DS_PROMETHEUS",
      "label": "Prometheus",
      "description": "",
      "type": "datasource",
      "pluginId": "prometheus",
      "pluginName": "Prometheus"
    }
  ],
  "__requires": [
    {
      "type": "panel",
      "id": "gauge",
      "name": "Gauge",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "7.5.7"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "prometheus",
      "name": "Prometheus",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "$$hashKey": "object:35",
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "description": "Displays monitoring data collected from APC power strips (PDU) via SNMP.",
  "editable": true,
  "gnetId": 14309,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1622821053781,
  "links": [
    {
      "asDropdown": true,
      "icon": "external link",
      "includeVars": false,
      "keepTime": true,
      "tags": [
        "tumak"
      ],
      "targetBlank": false,
      "title": "",
      "tooltip": "",
      "type": "dashboards",
      "url": ""
    }
  ],
  "panels": [
    {
      "collapsed": false,
      "datasource": "${DS_PROMETHEUS}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 31,
      "panels": [],
      "repeat": "Device",
      "title": "APC: $Device",
      "type": "row"
    },
    {
      "datasource": null,
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "center",
            "displayMode": "color-text",
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "white",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "# Ports"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 75
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Up Time"
            },
            "properties": [
              {
                "id": "unit",
                "value": "s"
              },
              {
                "id": "custom.width",
                "value": 120
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "PDU Orientation"
            },
            "properties": [
              {
                "id": "mappings",
                "value": [
                  {
                    "from": "",
                    "id": 1,
                    "text": "Horizontal",
                    "to": "",
                    "type": 1,
                    "value": "1"
                  },
                  {
                    "from": "",
                    "id": 2,
                    "text": "Vertical",
                    "to": "",
                    "type": 1,
                    "value": "2"
                  }
                ]
              },
              {
                "id": "custom.width",
                "value": 120
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Amps Rating"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 100
              },
              {
                "id": "unit",
                "value": "amp"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Name"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 275
              },
              {
                "id": "custom.align",
                "value": "left"
              },
              {
                "id": "custom.displayMode",
                "value": "color-text"
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "rgb(255, 255, 255)",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 3,
        "w": 24,
        "x": 0,
        "y": 1
      },
      "id": 100,
      "options": {
        "showHeader": true
      },
      "pluginVersion": "7.5.7",
      "targets": [
        {
          "exemplar": true,
          "expr": "rPDUIdentModelNumber{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "instant": true,
          "interval": "",
          "legendFormat": "Model",
          "refId": "A"
        },
        {
          "exemplar": true,
          "expr": "rPDUIdentHardwareRev{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "HadrwareRev",
          "refId": "B"
        },
        {
          "exemplar": true,
          "expr": "rPDUIdentSerialNumber{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "SerialNumber",
          "refId": "C"
        },
        {
          "exemplar": true,
          "expr": "rPDUIdentDeviceRating{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "AmpsRating",
          "refId": "D"
        },
        {
          "exemplar": true,
          "expr": "rPDUIdentDeviceOrientation{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "Orientation",
          "refId": "E"
        },
        {
          "exemplar": true,
          "expr": "sysUpTime{job=~'$JobName',instance=~'$Device'}/100",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "Uptime",
          "refId": "F"
        },
        {
          "exemplar": true,
          "expr": "rPDUIdentDeviceNumOutlets{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "Ports",
          "refId": "G"
        }
      ],
      "title": "PDU Information - ($Device)",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "rPDUIdentModelNumber",
                "rPDUIdentHardwareRev",
                "rPDUIdentSerialNumber",
                "Value #D",
                "Value #E",
                "Value #F",
                "Value #G",
                "instance"
              ]
            }
          }
        },
        {
          "id": "seriesToColumns",
          "options": {
            "byField": "instance"
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {
              "Value #D": 5,
              "Value #E": 6,
              "Value #F": 1,
              "Value #G": 7,
              "instance": 0,
              "rPDUIdentHardwareRev": 3,
              "rPDUIdentModelNumber": 2,
              "rPDUIdentSerialNumber": 4
            },
            "renameByName": {
              "Value #D": "Amps Rating",
              "Value #E": "PDU Orientation",
              "Value #F": "Up Time",
              "Value #G": "# Ports",
              "instance": "Name",
              "rPDUIdentHardwareRev": "HW Revision",
              "rPDUIdentModelNumber": "Model",
              "rPDUIdentSerialNumber": "Serial Number"
            }
          }
        }
      ],
      "type": "table"
    },
    {
      "datasource": null,
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [
            {
              "from": "",
              "id": 1,
              "text": "Load Normal",
              "to": "",
              "type": 1,
              "value": "1"
            },
            {
              "from": "",
              "id": 2,
              "text": "Load Low",
              "to": "",
              "type": 1,
              "value": "2"
            },
            {
              "from": "",
              "id": 3,
              "text": "Load Near Overload",
              "to": "",
              "type": 1,
              "value": "3"
            },
            {
              "from": "",
              "id": 4,
              "text": "Load Overload",
              "to": "",
              "type": 1,
              "value": "4"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-green",
                "value": null
              },
              {
                "color": "light-yellow",
                "value": 2
              },
              {
                "color": "dark-red",
                "value": 4
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 2,
        "w": 6,
        "x": 0,
        "y": 4
      },
      "id": 85,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "/^Value$/",
          "values": false
        },
        "text": {},
        "textMode": "value"
      },
      "pluginVersion": "7.5.7",
      "targets": [
        {
          "exemplar": true,
          "expr": "rPDUStatusPhaseState{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "A"
        }
      ],
      "title": "PDU Status",
      "transformations": [],
      "type": "stat"
    },
    {
      "datasource": null,
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-green",
                "value": null
              },
              {
                "color": "#EAB839",
                "value": 9
              },
              {
                "color": "dark-red",
                "value": 12
              }
            ]
          },
          "unit": "amp"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 2,
        "w": 6,
        "x": 6,
        "y": 4
      },
      "id": 57,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "/^Value$/",
          "values": false
        },
        "text": {},
        "textMode": "value"
      },
      "pluginVersion": "7.5.7",
      "targets": [
        {
          "exemplar": true,
          "expr": "rPDULoadStatusLoad{job=~'$JobName',instance=~'$Device'}/10",
          "format": "table",
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "A"
        }
      ],
      "title": "Current (Amps)",
      "transformations": [],
      "type": "stat"
    },
    {
      "datasource": null,
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-green",
                "value": null
              },
              {
                "color": "#EAB839",
                "value": 1080
              },
              {
                "color": "dark-red",
                "value": 1440
              }
            ]
          },
          "unit": "watt"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 2,
        "w": 6,
        "x": 12,
        "y": 4
      },
      "id": 58,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "/^Value$/",
          "values": false
        },
        "text": {},
        "textMode": "value"
      },
      "pluginVersion": "7.5.7",
      "targets": [
        {
          "exemplar": true,
          "expr": "rPDUIdentDevicePowerWatts{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "A"
        }
      ],
      "title": "Power (Watts)",
      "transformations": [],
      "type": "stat"
    },
    {
      "datasource": null,
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-red",
                "value": null
              },
              {
                "color": "yellow",
                "value": 114.9999
              },
              {
                "color": "dark-green",
                "value": 118
              },
              {
                "color": "yellow",
                "value": 122
              },
              {
                "color": "dark-red",
                "value": 125
              }
            ]
          },
          "unit": "volt"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 2,
        "w": 6,
        "x": 18,
        "y": 4
      },
      "id": 70,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "/^Value$/",
          "values": false
        },
        "text": {},
        "textMode": "value"
      },
      "pluginVersion": "7.5.7",
      "targets": [
        {
          "exemplar": true,
          "expr": "rPDUIdentDeviceLinetoLineVoltage{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "A"
        }
      ],
      "title": "Voltage",
      "transformations": [],
      "type": "stat"
    },
    {
      "datasource": null,
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "dark-yellow",
                "value": 60
              },
              {
                "color": "dark-red",
                "value": 80
              }
            ]
          },
          "unit": "percent"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 3,
        "x": 0,
        "y": 6
      },
      "id": 83,
      "options": {
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "text": {}
      },
      "pluginVersion": "7.5.7",
      "targets": [
        {
          "exemplar": true,
          "expr": "((rPDULoadStatusLoad{job=~'$JobName',instance=~'$Device'}/10)/15)*100",
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "A"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Current (Amps)",
      "type": "gauge"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "description": "",
      "editable": true,
      "error": false,
      "fieldConfig": {
        "defaults": {},
        "overrides": []
      },
      "fill": 10,
      "fillGradient": 0,
      "grid": {},
      "gridPos": {
        "h": 5,
        "w": 21,
        "x": 3,
        "y": 6
      },
      "hiddenSeries": false,
      "id": 2,
      "isNew": true,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": true,
        "max": true,
        "min": true,
        "rightSide": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "7.5.7",
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "$$hashKey": "object:231",
          "alias": "Max",
          "color": "#C4162A",
          "fill": 0,
          "linewidth": 1,
          "stack": false
        },
        {
          "$$hashKey": "object:281",
          "alias": "Current",
          "color": "#37872D",
          "fillGradient": 9,
          "linewidth": 2,
          "stack": false
        }
      ],
      "spaceLength": 10,
      "stack": true,
      "steppedLine": false,
      "targets": [
        {
          "exemplar": false,
          "expr": "rPDUIdentDeviceRating{job=~'$JobName',instance=~'$Device'}",
          "format": "time_series",
          "hide": false,
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "Max",
          "metric": "apcupsd_battery_nominal_volts",
          "refId": "B",
          "step": 120
        },
        {
          "exemplar": false,
          "expr": "rPDULoadStatusLoad{job=~'$JobName',instance=~'$Device'}/10",
          "format": "time_series",
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "Current",
          "metric": "apcupsd_battery_nominal_volts",
          "refId": "A",
          "step": 120
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Current (Amps) - ($Device)",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:157",
          "decimals": null,
          "format": "amp",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": "0",
          "show": true
        },
        {
          "$$hashKey": "object:158",
          "format": "none",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": null,
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "dark-yellow",
                "value": 60
              },
              {
                "color": "dark-red",
                "value": 80
              }
            ]
          },
          "unit": "percent"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 3,
        "x": 0,
        "y": 11
      },
      "id": 84,
      "options": {
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "text": {}
      },
      "pluginVersion": "7.5.7",
      "targets": [
        {
          "exemplar": true,
          "expr": "(rPDUIdentDevicePowerWatts{job=~'$JobName',instance=~'$Device'}/(rPDUIdentDeviceRating{job=~'$JobName',instance=~'$Device'}*rPDUIdentDeviceLinetoLineVoltage{job=~'$JobName',instance=~'$Device'}))*100",
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "A"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Power (Watts)",
      "type": "gauge"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "description": "",
      "editable": true,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "unit": "watt"
        },
        "overrides": []
      },
      "fill": 10,
      "fillGradient": 0,
      "grid": {},
      "gridPos": {
        "h": 5,
        "w": 21,
        "x": 3,
        "y": 11
      },
      "hiddenSeries": false,
      "id": 127,
      "isNew": true,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": true,
        "max": true,
        "min": true,
        "rightSide": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "7.5.7",
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "$$hashKey": "object:231",
          "alias": "Max",
          "color": "#C4162A",
          "fill": 0,
          "linewidth": 1,
          "stack": false
        },
        {
          "$$hashKey": "object:281",
          "alias": "Power",
          "color": "#37872D",
          "fillGradient": 9,
          "linewidth": 2,
          "stack": false
        }
      ],
      "spaceLength": 10,
      "stack": true,
      "steppedLine": false,
      "targets": [
        {
          "exemplar": false,
          "expr": "rPDUIdentDeviceRating{job=~'$JobName',instance=~'$Device'}*rPDUIdentDeviceLinetoLineVoltage{job=~'$JobName',instance=~'$Device'}",
          "format": "time_series",
          "hide": false,
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "Max",
          "metric": "apcupsd_battery_nominal_volts",
          "refId": "B",
          "step": 120
        },
        {
          "exemplar": false,
          "expr": "rPDUIdentDevicePowerWatts{job=~'$JobName',instance=~'$Device'}",
          "format": "time_series",
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "Power",
          "metric": "apcupsd_battery_nominal_volts",
          "refId": "A",
          "step": 120
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Power (Watts) - ($Device)",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:157",
          "decimals": null,
          "format": "watt",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": "0",
          "show": true
        },
        {
          "$$hashKey": "object:158",
          "format": "none",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": null,
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "max": 130,
          "min": 110,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-red",
                "value": null
              },
              {
                "color": "yellow",
                "value": 115
              },
              {
                "color": "dark-green",
                "value": 118
              },
              {
                "color": "yellow",
                "value": 122
              },
              {
                "color": "dark-red",
                "value": 125
              }
            ]
          },
          "unit": "volt"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 3,
        "x": 0,
        "y": 16
      },
      "id": 112,
      "options": {
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "text": {}
      },
      "pluginVersion": "7.5.7",
      "targets": [
        {
          "exemplar": true,
          "expr": "rPDUIdentDeviceLinetoLineVoltage{job=~'$JobName',instance=~'$Device'}",
          "instant": true,
          "interval": "",
          "legendFormat": "",
          "refId": "A"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Voltage",
      "type": "gauge"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "editable": true,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "unit": "volt"
        },
        "overrides": []
      },
      "fill": 10,
      "fillGradient": 0,
      "grid": {},
      "gridPos": {
        "h": 5,
        "w": 21,
        "x": 3,
        "y": 16
      },
      "hiddenSeries": false,
      "id": 59,
      "isNew": true,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": true,
        "max": true,
        "min": true,
        "rightSide": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "7.5.7",
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "$$hashKey": "object:281",
          "alias": "Voltage",
          "color": "#37872D",
          "fillGradient": 9,
          "linewidth": 2,
          "stack": false
        },
        {
          "$$hashKey": "object:258",
          "alias": "Max",
          "color": "#C4162A",
          "fill": 0,
          "linewidth": 1,
          "stack": false
        }
      ],
      "spaceLength": 10,
      "stack": true,
      "steppedLine": false,
      "targets": [
        {
          "exemplar": false,
          "expr": "125",
          "format": "time_series",
          "hide": false,
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "Max",
          "metric": "apcupsd_battery_nominal_volts",
          "refId": "B",
          "step": 120
        },
        {
          "exemplar": false,
          "expr": "rPDUIdentDeviceLinetoLineVoltage{job=~'$JobName',instance=~'$Device'}",
          "format": "time_series",
          "hide": false,
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "Voltage",
          "metric": "apcupsd_battery_nominal_volts",
          "refId": "A",
          "step": 120
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Voltage - ($Device)",
      "tooltip": {
        "msResolution": false,
        "shared": true,
        "sort": 0,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:157",
          "decimals": null,
          "format": "volt",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": "0",
          "show": true
        },
        {
          "$$hashKey": "object:158",
          "format": "none",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": null,
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": null,
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Power On Delay"
            },
            "properties": [
              {
                "id": "mappings",
                "value": [
                  {
                    "from": "",
                    "id": 1,
                    "text": "Immediate",
                    "to": "",
                    "type": 1,
                    "value": "0"
                  },
                  {
                    "from": "",
                    "id": 2,
                    "text": "Never",
                    "to": "",
                    "type": 1,
                    "value": "-1"
                  }
                ]
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "dark-yellow",
                      "value": null
                    },
                    {
                      "color": "dark-red",
                      "value": -1
                    },
                    {
                      "color": "dark-green",
                      "value": 0
                    },
                    {
                      "color": "dark-yellow",
                      "value": 1
                    }
                  ]
                }
              },
              {
                "id": "unit",
                "value": "s"
              },
              {
                "id": "custom.displayMode",
                "value": "color-text"
              },
              {
                "id": "custom.width",
                "value": 200
              },
              {
                "id": "custom.align",
                "value": "center"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Power Off Delay"
            },
            "properties": [
              {
                "id": "mappings",
                "value": [
                  {
                    "from": "",
                    "id": 1,
                    "text": "Immediate",
                    "to": "",
                    "type": 1,
                    "value": "0"
                  },
                  {
                    "from": "",
                    "id": 2,
                    "text": "Never",
                    "to": "",
                    "type": 1,
                    "value": "-1"
                  }
                ]
              },
              {
                "id": "unit",
                "value": "s"
              },
              {
                "id": "custom.displayMode",
                "value": "color-text"
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "dark-red",
                      "value": -1
                    },
                    {
                      "color": "dark-green",
                      "value": 0
                    },
                    {
                      "color": "dark-yellow",
                      "value": 1
                    }
                  ]
                }
              },
              {
                "id": "custom.width",
                "value": 200
              },
              {
                "id": "custom.align",
                "value": "center"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Reboot Duration"
            },
            "properties": [
              {
                "id": "unit",
                "value": "s"
              },
              {
                "id": "custom.displayMode",
                "value": "lcd-gauge"
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "dark-yellow",
                      "value": 6
                    },
                    {
                      "color": "dark-orange",
                      "value": 30
                    },
                    {
                      "color": "dark-red",
                      "value": 50
                    }
                  ]
                }
              },
              {
                "id": "color"
              },
              {
                "id": "min",
                "value": 0
              },
              {
                "id": "max",
                "value": 60
              },
              {
                "id": "custom.align",
                "value": "center"
              },
              {
                "id": "custom.width",
                "value": 250
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Port #"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 60
              },
              {
                "id": "custom.align",
                "value": "center"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Port Status"
            },
            "properties": [
              {
                "id": "mappings",
                "value": [
                  {
                    "from": "",
                    "id": 1,
                    "text": "Admin Up",
                    "to": "",
                    "type": 1,
                    "value": "1"
                  },
                  {
                    "from": "",
                    "id": 2,
                    "text": "Admin Down",
                    "to": "",
                    "type": 1,
                    "value": "2"
                  }
                ]
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "dark-green",
                      "value": null
                    },
                    {
                      "color": "dark-red",
                      "value": 2
                    }
                  ]
                }
              },
              {
                "id": "custom.displayMode",
                "value": "color-text"
              },
              {
                "id": "custom.width",
                "value": 200
              },
              {
                "id": "custom.align",
                "value": "center"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 10,
        "w": 24,
        "x": 0,
        "y": 21
      },
      "id": 37,
      "options": {
        "frameIndex": 0,
        "showHeader": true,
        "sortBy": []
      },
      "pluginVersion": "7.5.7",
      "targets": [
        {
          "exemplar": true,
          "expr": "rPDUOutletConfigPowerOffTime{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "OffTime",
          "refId": "A"
        },
        {
          "exemplar": true,
          "expr": "rPDUOutletConfigOutletName{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "Name",
          "refId": "B"
        },
        {
          "exemplar": true,
          "expr": "rPDUOutletConfigPowerOnTime{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "OnTime",
          "refId": "C"
        },
        {
          "exemplar": true,
          "expr": "rPDUOutletConfigRebootDuration{job=~'$JobName',instance=~'$Device'}",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "RebootDuration",
          "refId": "D"
        },
        {
          "exemplar": true,
          "expr": "label_replace(rPDUOutletStatusOutletState{job=~'$JobName',instance=~'$Device'},\"rPDUOutletConfigIndex\", \"$1\", \"rPDUOutletStatusIndex\", \"(.*)\")",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "PortState",
          "refId": "E"
        }
      ],
      "title": "Port Configuration - ($Device)",
      "transformations": [
        {
          "id": "seriesToColumns",
          "options": {
            "byField": "rPDUOutletConfigIndex"
          }
        },
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "rPDUOutletConfigIndex",
                "Value #A",
                "rPDUOutletConfigOutletName",
                "Value #C",
                "Value #D",
                "Value #E"
              ]
            }
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {
              "Value #A": 4,
              "Value #C": 3,
              "Value #D": 5,
              "Value #E": 2,
              "rPDUOutletConfigIndex": 0,
              "rPDUOutletConfigOutletName": 1
            },
            "renameByName": {
              "Value #A": "Power Off Delay",
              "Value #C": "Power On Delay",
              "Value #D": "Reboot Duration",
              "Value #E": "Port Status",
              "Value #F": "Pending Command",
              "instance 1": "PDU",
              "rPDUOutletConfigIndex": "Port #",
              "rPDUOutletConfigOutletName": "Port Name",
              "rPDUOutletConfigOutletName 1": "OutletName",
              "rPDUOutletConfigOutletName 2": "OutletName",
              "rPDUOutletStatusIndex": "Port#",
              "rPDUOutletStatusOutletName": "Outlet"
            }
          }
        }
      ],
      "type": "table"
    }
  ],
  "refresh": "30s",
  "schemaVersion": 27,
  "style": "dark",
  "tags": [
    "APC",
    "apcupsd",
    "tumak"
  ],
  "templating": {
    "list": [
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_PROMETHEUS}",
        "definition": "label_values(rPDUIdentName,job)",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": true,
        "label": "Job Name",
        "multi": true,
        "name": "JobName",
        "options": [],
        "query": {
          "query": "label_values(rPDUIdentName,job)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_PROMETHEUS}",
        "definition": "query_result(rPDUIdentName{job=~'$JobName'})",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": true,
        "label": null,
        "multi": true,
        "name": "Device",
        "options": [],
        "query": {
          "query": "query_result(rPDUIdentName{job=~'$JobName'})",
          "refId": "StandardVariableQuery"
        },
        "refresh": 2,
        "regex": ".*instance=\"(.*?)\".*",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-3h",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "browser",
  "title": "APC PDU 7xxx",
  "uid": "FBsdas",
  "version": 136
}