XPS - SRX60A - ROW
Coleta os seguintes dados de Retificadoras XPS SRX60 via snmp;
Local;
Alarme urgente;
Alarme nao urgente;
Alarme de advertencia;
Temperatura;
Corrente URs;
Uso da Baterias;
Fusiveis;
Falha URs;
VCA URs;
Limite de VCA baixa e alta;
Consuno do Sistema;
VCA;
Criar o arquivo  /etc/telegraf/telegraf.d/xps-srx60a.conf

Para varios hosts alterar agents = [ "host01:161" ] por agents = [ "host01:161" , "host02:161", "host03:161" ]

[[inputs.snmp]]
  agents = [ "host01:161" ]
  version = 2
  name = "xps-srx60a"	
  community = "admin"
  interval = "60s"
  timeout = "10s"
  retries = 3

  [[inputs.snmp.field]]
    name = "Identidade"
    oid = "1.3.6.1.4.1.34252.5.2.1.0"

  [[inputs.snmp.field]]
    name = "Corrente UR 1"
    oid = "1.3.6.1.4.1.34252.5.1.1.1.1.0"

  [[inputs.snmp.field]]
    name = "Corrente UR 2"
    oid = "1.3.6.1.4.1.34252.5.1.1.1.2.0"

  [[inputs.snmp.field]]
    name = "Falha UR 1"
    oid = "1.3.6.1.4.1.34252.5.1.1.2.1.0"

  [[inputs.snmp.field]]
    name = "Falha UR 2"
    oid = "1.3.6.1.4.1.34252.5.1.1.2.2.0"

  [[inputs.snmp.field]]
    name = "VCA UR 1"
    oid = "1.3.6.1.4.1.34252.5.1.2.0"


  [[inputs.snmp.field]]
    name = "VCA UR 2"
    oid = "1.3.6.1.4.1.34252.5.1.3.0"

  [[inputs.snmp.field]]
    name = "CaBaixa"
    oid = "1.3.6.1.4.1.34252.5.2.7.0"


  [[inputs.snmp.field]]
    name = "CaAlta"
    oid = "1.3.6.1.4.1.34252.5.2.8.0"


  [[inputs.snmp.field]]
    name = "Sistema VCC"
    oid = "1.3.6.1.4.1.34252.5.1.5.0"

  [[inputs.snmp.field]]
    name = "Sistema Ah"
    oid = "1.3.6.1.4.1.34252.5.1.7.0"

  [[inputs.snmp.field]]
    name = "TempAmb1"
    oid = "1.3.6.1.4.1.34252.5.1.15.6.0"

  [[inputs.snmp.field]]
    name = "FusCons"
    oid = "1.3.6.1.4.1.34252.5.1.12.0"

  [[inputs.snmp.field]]
    name = "FusBat"
    oid = "1.3.6.1.4.1.34252.5.1.13.0"

  [[inputs.snmp.field]]
    name = "IBatC"
    oid = "1.3.6.1.4.1.34252.5.1.8.0"

  [[inputs.snmp.field]]
    name = "IBatD"
    oid = "1.3.6.1.4.1.34252.5.1.9.0"

  [[inputs.snmp.field]]
    name = "VBat"
    oid = "1.3.6.1.4.1.34252.5.1.6.0"

  [[inputs.snmp.field]]
    name = "AlarmeUrg"
    oid = "1.3.6.1.4.1.34252.5.1.14.1.0"

  [[inputs.snmp.field]]
    name = "AlarmeNaoUrg"
    oid = "1.3.6.1.4.1.34252.5.1.14.2.0"

  [[inputs.snmp.field]]
    name = "AlarmeAdivertencia"
    oid = "1.3.6.1.4.1.34252.5.1.14.3.0"
[[inputs.snmp]]
  agents = [ "host:161" ]
  version = 2
  name = "xps-srx60a"	
  community = "admin"
  interval = "60s"
  timeout = "10s"
  retries = 3

  [[inputs.snmp.field]]
    name = "Identidade"
    oid = "1.3.6.1.4.1.34252.5.2.1.0"

  [[inputs.snmp.field]]
    name = "Corrente UR 1"
    oid = "1.3.6.1.4.1.34252.5.1.1.1.1.0"

  [[inputs.snmp.field]]
    name = "Corrente UR 2"
    oid = "1.3.6.1.4.1.34252.5.1.1.1.2.0"

  [[inputs.snmp.field]]
    name = "Falha UR 1"
    oid = "1.3.6.1.4.1.34252.5.1.1.2.1.0"

  [[inputs.snmp.field]]
    name = "Falha UR 2"
    oid = "1.3.6.1.4.1.34252.5.1.1.2.2.0"

  [[inputs.snmp.field]]
    name = "VCA UR 1"
    oid = "1.3.6.1.4.1.34252.5.1.2.0"


  [[inputs.snmp.field]]
    name = "VCA UR 2"
    oid = "1.3.6.1.4.1.34252.5.1.3.0"

  [[inputs.snmp.field]]
    name = "CaBaixa"
    oid = "1.3.6.1.4.1.34252.5.2.7.0"


  [[inputs.snmp.field]]
    name = "CaAlta"
    oid = "1.3.6.1.4.1.34252.5.2.8.0"


  [[inputs.snmp.field]]
    name = "Sistema VCC"
    oid = "1.3.6.1.4.1.34252.5.1.5.0"

  [[inputs.snmp.field]]
    name = "Sistema Ah"
    oid = "1.3.6.1.4.1.34252.5.1.7.0"

  [[inputs.snmp.field]]
    name = "TempAmb1"
    oid = "1.3.6.1.4.1.34252.5.1.15.6.0"

  [[inputs.snmp.field]]
    name = "FusCons"
    oid = "1.3.6.1.4.1.34252.5.1.12.0"

  [[inputs.snmp.field]]
    name = "FusBat"
    oid = "1.3.6.1.4.1.34252.5.1.13.0"

  [[inputs.snmp.field]]
    name = "IBatC"
    oid = "1.3.6.1.4.1.34252.5.1.8.0"

  [[inputs.snmp.field]]
    name = "IBatD"
    oid = "1.3.6.1.4.1.34252.5.1.9.0"

  [[inputs.snmp.field]]
    name = "VBat"
    oid = "1.3.6.1.4.1.34252.5.1.6.0"

  [[inputs.snmp.field]]
    name = "AlarmeUrg"
    oid = "1.3.6.1.4.1.34252.5.1.14.1.0"

  [[inputs.snmp.field]]
    name = "AlarmeNaoUrg"
    oid = "1.3.6.1.4.1.34252.5.1.14.2.0"

  [[inputs.snmp.field]]
    name = "AlarmeAdivertencia"
    oid = "1.3.6.1.4.1.34252.5.1.14.3.0"


Alarmes Retificadoras XPS SRX60A
{
  "__inputs": [
    {
      "name": "DS_TELEGRAF_LOCAL",
      "label": "telegraf local",
      "description": "",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "7.1.4"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "limit": 100,
        "name": "Annotations & Alerts",
        "showIn": 0,
        "type": "dashboard"
      }
    ]
  },
  "description": "Coleta os seguintes dados de Retificadoras XPS SRX60 via snmp;\nLocal;\nAlarme urgente;\nAlarme nao urgente;\nAlarme de advertencia;\nTemperatura;\nCorrente URs;\nUso da Baterias;\nFusiveis;\nFalha URs;\nVCA URs;\nLimite de VCA baixa e alta;\nConsuno do Sistema;\nVCA;",
  "editable": true,
  "gnetId": 12891,
  "graphTooltip": 2,
  "id": null,
  "iteration": 1598380054542,
  "links": [],
  "panels": [
    {
      "collapsed": false,
      "datasource": null,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 18,
      "panels": [],
      "repeat": "AGENT",
      "title": "$AGENT",
      "type": "row"
    },
    {
      "datasource": "${DS_TELEGRAF_LOCAL}",
      "description": "Informacao Coletada em , Configuracoes > Informações USCC > LOCAL;",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": "center",
            "displayMode": "color-text"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 1
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Local"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 193
              },
              {
                "id": "links",
                "value": [
                  {
                    "targetBlank": true,
                    "title": "Abrir Web",
                    "url": "http://${AGENT}"
                  }
                ]
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Alarme Urgente"
            },
            "properties": [
              {
                "id": "mappings",
                "value": [
                  {
                    "from": "",
                    "id": 0,
                    "text": "Desligado",
                    "to": "",
                    "type": 1,
                    "value": "0"
                  },
                  {
                    "from": "",
                    "id": 1,
                    "text": "Ligado",
                    "to": "",
                    "type": 1,
                    "value": "1"
                  }
                ]
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "red",
                      "value": 1
                    }
                  ]
                }
              },
              {
                "id": "custom.width",
                "value": 128
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Alarme Nao Urgente"
            },
            "properties": [
              {
                "id": "mappings",
                "value": [
                  {
                    "from": "",
                    "id": 0,
                    "text": "Desligado",
                    "to": "",
                    "type": 1,
                    "value": "0"
                  },
                  {
                    "from": "",
                    "id": 1,
                    "text": "Ligado",
                    "to": "",
                    "type": 1,
                    "value": "1"
                  }
                ]
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "red",
                      "value": 1
                    }
                  ]
                }
              },
              {
                "id": "custom.width",
                "value": 148
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Alarme de Advertencia"
            },
            "properties": [
              {
                "id": "mappings",
                "value": [
                  {
                    "from": "",
                    "id": 0,
                    "text": "Desligado",
                    "to": "",
                    "type": 1,
                    "value": "0"
                  },
                  {
                    "from": "",
                    "id": 1,
                    "text": "Ligado",
                    "to": "",
                    "type": 1,
                    "value": "1"
                  }
                ]
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "red",
                      "value": 1
                    }
                  ]
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 4,
        "w": 10,
        "x": 0,
        "y": 1
      },
      "id": 16,
      "links": [],
      "options": {
        "showHeader": true,
        "sortBy": []
      },
      "pluginVersion": "7.1.4",
      "targets": [
        {
          "alias": "",
          "datasource": "${DS_TELEGRAF_LOCAL}",
          "groupBy": [
            {
              "params": [
                "agent_host"
              ],
              "type": "tag"
            }
          ],
          "limit": "1",
          "measurement": "xps-srx60a",
          "orderByTime": "ASC",
          "policy": "autogen",
          "query": "SELECT last(\"Identidade\") FROM \"xps-srx60a\" WHERE (\"agent_host\" =~ /^$AGENT$/) AND $timeFilter GROUP BY \"agent_host\" LIMIT 1",
          "rawQuery": false,
          "refId": "A",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "Identidade"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ],
            [
              {
                "params": [
                  "AlarmeUrg"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ],
            [
              {
                "params": [
                  "AlarmeNaoUrg"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ],
            [
              {
                "params": [
                  "AlarmeAdivertencia"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=~",
              "value": "/^$AGENT$/"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Equipamento",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "Time": true,
              "agent_host": true,
              "last_1": false
            },
            "indexByName": {},
            "renameByName": {
              "Time": "",
              "last": "Local",
              "last_1": "Alarme Urgente",
              "last_2": "Alarme Nao Urgente",
              "last_3": "Alarme de Advertencia"
            }
          }
        }
      ],
      "transparent": true,
      "type": "table"
    },
    {
      "datasource": "${DS_TELEGRAF_LOCAL}",
      "description": "Temperatura Ambiente Sensor 1",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [],
          "max": 100,
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-blue",
                "value": null
              },
              {
                "color": "dark-yellow",
                "value": 30
              },
              {
                "color": "dark-red",
                "value": 40
              }
            ]
          },
          "unit": "celsius"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 2,
        "x": 10,
        "y": 1
      },
      "id": 7,
      "options": {
        "colorMode": "background",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "last"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.1.4",
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "xps-srx60a",
          "orderByTime": "ASC",
          "policy": "autogen",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "TempAmb1"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  " / 10"
                ],
                "type": "math"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=~",
              "value": "/^$AGENT$/"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Temp",
      "transparent": true,
      "type": "stat"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_TELEGRAF_LOCAL}",
      "decimals": 0,
      "description": "Informações sobre VCA de entrada das Unidades Retificadoras",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "links": []
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 1
      },
      "hiddenSeries": false,
      "id": 4,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": false,
        "hideZero": false,
        "max": true,
        "min": true,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "connected",
      "percentage": false,
      "pluginVersion": "7.1.4",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "VCA UR 1",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "xps-srx60a",
          "orderByTime": "ASC",
          "policy": "autogen",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "VCA UR 1"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  " / 10"
                ],
                "type": "math"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=~",
              "value": "/^$AGENT$/"
            }
          ]
        },
        {
          "alias": "VCA UR 2",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "xps-srx60a",
          "orderByTime": "ASC",
          "policy": "autogen",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "VCA UR 2"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  " / 10"
                ],
                "type": "math"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=~",
              "value": "/^$AGENT$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "VCA URs",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transformations": [],
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:1125",
          "decimals": 0,
          "format": "volt",
          "label": "Volts",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:1126",
          "format": "amp",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_TELEGRAF_LOCAL}",
      "decimals": 0,
      "description": "Informacoes da Corrente das Unidades Retificadoras",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "links": []
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 5
      },
      "hiddenSeries": false,
      "id": 2,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": false,
        "hideZero": false,
        "max": true,
        "min": true,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "connected",
      "percentage": false,
      "pluginVersion": "7.1.4",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "Corrente UR 1",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "xps-srx60a",
          "orderByTime": "ASC",
          "policy": "autogen",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Corrente UR 1"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  " / 10"
                ],
                "type": "math"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=~",
              "value": "/^$AGENT$/"
            }
          ]
        },
        {
          "alias": "Corrente UR 2",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "xps-srx60a",
          "orderByTime": "ASC",
          "policy": "autogen",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Corrente UR 2"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  " / 10"
                ],
                "type": "math"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=~",
              "value": "/^$AGENT$/"
            }
          ]
        }
      ],
      "thresholds": [
        {
          "$$hashKey": "object:2288",
          "colorMode": "warning",
          "fill": true,
          "line": true,
          "op": "gt",
          "value": 20,
          "yaxis": "left"
        },
        {
          "$$hashKey": "object:2298",
          "colorMode": "critical",
          "fill": true,
          "line": true,
          "op": "gt",
          "value": 25,
          "yaxis": "left"
        }
      ],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Corrente URs",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transformations": [],
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:1125",
          "decimals": 0,
          "format": "amp",
          "label": "Amperes",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:1126",
          "format": "amp",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": "${DS_TELEGRAF_LOCAL}",
      "description": "Informa Limites da VCA se muito baixa ou muito alta, baseado nos valores informados na retificadora.",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "decimals": 0,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-red",
                "value": null
              },
              {
                "color": "dark-green",
                "value": 96
              },
              {
                "color": "dark-green",
                "value": 263
              },
              {
                "color": "dark-red",
                "value": 264
              }
            ]
          },
          "unit": "volt"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 12,
        "x": 12,
        "y": 9
      },
      "id": 10,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.1.4",
      "targets": [
        {
          "alias": "VCA Baixa se =<",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "xps-srx60a",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "CaBaixa"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=~",
              "value": "/^$AGENT$/"
            }
          ]
        },
        {
          "alias": "VCA Alta se >=",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "xps-srx60a",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "CaAlta"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=~",
              "value": "/^$AGENT$/"
            }
          ]
        },
        {
          "alias": "Atual UR 1",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "xps-srx60a",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "VCA UR 1"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  " / 10"
                ],
                "type": "math"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=~",
              "value": "/^$AGENT$/"
            }
          ]
        },
        {
          "alias": "Atual UR 2",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "xps-srx60a",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "VCA UR 2"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  " / 10"
                ],
                "type": "math"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=~",
              "value": "/^$AGENT$/"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "VCA Limite",
      "transparent": true,
      "type": "stat"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_TELEGRAF_LOCAL}",
      "decimals": 0,
      "description": "Informa uso das baterias carga e descarga.",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "links": []
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 12
      },
      "hiddenSeries": false,
      "id": 12,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": false,
        "hideZero": false,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "connected",
      "percentage": false,
      "pluginVersion": "7.1.4",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "Bateria em carga",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "xps-srx60a",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "IBatC"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  " / 10"
                ],
                "type": "math"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=~",
              "value": "/^$AGENT$/"
            }
          ]
        },
        {
          "alias": "Bateria em descarga",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "xps-srx60a",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "IBatD"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  " / 10"
                ],
                "type": "math"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=~",
              "value": "/^$AGENT$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": " Uso das Baterias",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:1779",
          "decimals": 0,
          "format": "amp",
          "label": "Ampere",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:1780",
          "decimals": 0,
          "format": "short",
          "label": "Limite Dijuntor 50A",
          "logBase": 1,
          "max": "50",
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {
        "VCC Baterias": "dark-red"
      },
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_TELEGRAF_LOCAL}",
      "decimals": 0,
      "description": "Informações do sistema VCC e Ampere",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "links": []
        },
        "overrides": []
      },
      "fill": 2,
      "fillGradient": 4,
      "gridPos": {
        "h": 11,
        "w": 12,
        "x": 12,
        "y": 13
      },
      "hiddenSeries": false,
      "id": 5,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": false,
        "hideZero": false,
        "max": true,
        "min": true,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 2,
      "nullPointMode": "connected",
      "percentage": false,
      "pluginVersion": "7.1.4",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "Ampere",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "xps-srx60a",
          "orderByTime": "ASC",
          "policy": "autogen",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Sistema Ah"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  " / 10"
                ],
                "type": "math"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=~",
              "value": "/^$AGENT$/"
            }
          ]
        },
        {
          "alias": "VCC",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "xps-srx60a",
          "orderByTime": "ASC",
          "policy": "autogen",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Sistema VCC"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  " / 10"
                ],
                "type": "math"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=~",
              "value": "/^$AGENT$/"
            }
          ]
        },
        {
          "alias": "VCC Baterias",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "xps-srx60a",
          "orderByTime": "ASC",
          "policy": "autogen",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "VBat"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  " / 10"
                ],
                "type": "math"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=~",
              "value": "/^$AGENT$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Sistema",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transformations": [],
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:1125",
          "decimals": 0,
          "format": "none",
          "label": "VCC",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:1126",
          "decimals": 0,
          "format": "amp",
          "label": "Ampere",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": 0
      }
    },
    {
      "datasource": "${DS_TELEGRAF_LOCAL}",
      "description": "Informa sobre status dos fusiveis da bateria e consumidores.",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null
          },
          "mappings": [
            {
              "from": "",
              "id": 0,
              "operator": "",
              "text": "Normal",
              "to": "",
              "type": 1,
              "value": "0"
            },
            {
              "from": "",
              "id": 1,
              "operator": "",
              "text": "Aberto",
              "to": "",
              "type": 1,
              "value": "1"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "dark-red",
                "value": 1
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 7,
        "x": 0,
        "y": 20
      },
      "id": 8,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "last"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.1.4",
      "targets": [
        {
          "alias": "Fusivel Baterias",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "xps-srx60a",
          "orderByTime": "ASC",
          "policy": "autogen",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "FusBat"
                ],
                "type": "field"
              },
              {
                "params": [
                  3
                ],
                "type": "bottom"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=~",
              "value": "/^$AGENT$/"
            }
          ]
        },
        {
          "alias": "Fusivel Consumidor",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "xps-srx60a",
          "orderByTime": "ASC",
          "policy": "autogen",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "FusCons"
                ],
                "type": "field"
              },
              {
                "params": [
                  3
                ],
                "type": "bottom"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=~",
              "value": "/^$AGENT$/"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Fusiveis",
      "transformations": [],
      "transparent": true,
      "type": "stat"
    },
    {
      "datasource": "${DS_TELEGRAF_LOCAL}",
      "description": "Informa se alguma UR esta em falha.",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null
          },
          "mappings": [
            {
              "from": "",
              "id": 0,
              "operator": "",
              "text": "Normal",
              "to": "",
              "type": 1,
              "value": "0"
            },
            {
              "from": "",
              "id": 1,
              "operator": "",
              "text": "Falha",
              "to": "",
              "type": 1,
              "value": "1"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "dark-red",
                "value": 1
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 5,
        "x": 7,
        "y": 20
      },
      "id": 3,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "last"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.1.4",
      "targets": [
        {
          "alias": "Status UR 1",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "xps-srx60a",
          "orderByTime": "ASC",
          "policy": "autogen",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Falha UR 1"
                ],
                "type": "field"
              },
              {
                "params": [
                  3
                ],
                "type": "bottom"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=~",
              "value": "/^$AGENT$/"
            }
          ]
        },
        {
          "alias": "Status UR 2",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "xps-srx60a",
          "orderByTime": "ASC",
          "policy": "autogen",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Falha UR 2"
                ],
                "type": "field"
              },
              {
                "params": [
                  3
                ],
                "type": "bottom"
              }
            ]
          ],
          "tags": [
            {
              "key": "agent_host",
              "operator": "=~",
              "value": "/^$AGENT$/"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Falha URs",
      "transformations": [],
      "transparent": true,
      "type": "stat"
    }
  ],
  "refresh": "1m",
  "schemaVersion": 26,
  "style": "dark",
  "tags": [
    "XPS",
    "RETIFICADOR",
    "-48",
    "SRX60A"
  ],
  "templating": {
    "list": [
      {
        "allValue": "",
        "current": {},
        "datasource": "${DS_TELEGRAF_LOCAL}",
        "definition": "SHOW TAG VALUES FROM \"xps-srx60a\" WITH KEY=\"agent_host\" ",
        "hide": 0,
        "includeAll": false,
        "label": "Equipamentos",
        "multi": true,
        "name": "AGENT",
        "options": [],
        "query": "SHOW TAG VALUES FROM \"xps-srx60a\" WITH KEY=\"agent_host\" ",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 4,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-24h",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ]
  },
  "timezone": "America/Recife",
  "title": "XPS - SRX60A - ROW",
  "uid": "XQs57C4Mz",
  "version": 235
}