Grafana dashboard: Veeam ONE - Veeam Backup and Replication
Description: Grafana Dashboard for Veeam ONE (experimental) - This specific Dashboard is to visualize the Veeam Backup and Replication data that Veeam ONE has on the Database.

EXPERIMENTAL AND UNSUPPORTED
Just download the latest Veeam ONE script version from GitHub [https://raw.githubusercontent.com/jorgedlcruz/veeam-one-grafana/main/veeam_one.sh](https://raw.githubusercontent.com/jorgedlcruz/veeam-one-grafana/main/veeam_one.sh) and change the Configuration section within your details:

```
veeamInfluxDBURL="YOURINFLUXSERVER" ##Use https://fqdn or https://IP in case you use SSL
veeamInfluxDBPort="8086" #Default Port
veeamInfluxDB="YOURINFLUXDB" #Default Database
veeamInfluxDBUser="YOURINFLUXUSER" #User for Database
veeamInfluxDBPassword="YOURINFLUXPASS" #Password for Database

# Endpoint URL for login action
veeamUsername="YOURVEEAMONEUSER" #Usually domain\user or user@domain.tld
veeamPassword="YOURVEEAMONEPASS"
veeamONEServer="https://YOURVEEAMONEIP" #You can use FQDN if you like as well
veeamONEPort="1239" #Default Port
``` 
Once the changes are done, make the script executable with chmod:
```
chmod +x veeam_one.sh
``` 
The output of the command should be something like the next, without errors:
```
Writing veeam_ONE_repositories to InfluxDB
HTTP/1.1 204 No Content
Content-Type: application/json
Request-Id: 9e9c517e-7a11-11eb-8acb-0050569017a8
X-Influxdb-Build: OSS
X-Influxdb-Version: 1.8.4
X-Request-Id: 9e9c517e-7a11-11eb-8acb-0050569017a8
Date: Sun, 28 Feb 2021 22:09:25 GMT
``` 
If so, please now add this script to your crontab, like for example every 30 minutes:
```
*/30 * * * * /home/oper/veeam_one.sh >> /var/log/veeamone.log 2>&1
``` 

Then download or import this Dashboard to your Grafana, and you should see something similar to the next:
![alt tag](https://www.jorgedelacruz.es/wp-content/uploads/2021/02/vone-grafana-001-1.png)

{
  "__inputs": [
    {
      "name": "DS_INFLUXDB",
      "label": "InfluxDB",
      "description": "",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "7.4.1"
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "version": ""
    },
    {
      "type": "panel",
      "id": "text",
      "name": "Text",
      "version": ""
    },
    {
      "type": "panel",
      "id": "timeseries",
      "name": "Time series",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "description": "Grafana Dashboard for Veeam ONE (experimental) - This specific Dashboard is to visualize the Veeam Backup and Replication data that Veeam ONE has on the Database.",
  "editable": true,
  "gnetId": 13986,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1614554913479,
  "links": [],
  "panels": [
    {
      "datasource": "${DS_INFLUXDB}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 40,
      "panels": [],
      "repeat": "veeamone",
      "title": "$veeamone - $voneversion",
      "type": "row"
    },
    {
      "cacheTimeout": null,
      "datasource": "${DS_INFLUXDB}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "center",
            "displayMode": "color-background",
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-blue",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byType",
              "options": "string"
            },
            "properties": [
              {
                "id": "custom.align",
                "value": "left"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 9,
        "w": 5,
        "x": 0,
        "y": 1
      },
      "id": 33,
      "interval": "",
      "links": [],
      "options": {
        "showHeader": false
      },
      "pluginVersion": "7.4.1",
      "targets": [
        {
          "alias": "",
          "groupBy": [],
          "measurement": "veeam_ONE_backupinfrastructure",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"VMSize\") AS \"VM  Size\" FROM \"veeam_azure_vm_unprotected\" WHERE (\"VMName\" =~ /^$VMName$/) AND $timeFilter GROUP BY \"VMName\", \"VMRegion\" ",
          "rawQuery": false,
          "refId": "A",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "totalvbr"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Backup Server"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "voneserver",
              "operator": "=~",
              "value": "/^$veeamone$/"
            }
          ],
          "tz": ""
        },
        {
          "alias": "",
          "groupBy": [],
          "hide": false,
          "measurement": "veeam_ONE_backupinfrastructure",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"VMSize\") AS \"VM  Size\" FROM \"veeam_azure_vm_unprotected\" WHERE (\"VMName\" =~ /^$VMName$/) AND $timeFilter GROUP BY \"VMName\", \"VMRegion\" ",
          "rawQuery": false,
          "refId": "B",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "totalproxy"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Proxy Server"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "voneserver",
              "operator": "=~",
              "value": "/^$veeamone$/"
            }
          ],
          "tz": ""
        },
        {
          "alias": "",
          "groupBy": [],
          "hide": false,
          "measurement": "veeam_ONE_backupinfrastructure",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"VMSize\") AS \"VM  Size\" FROM \"veeam_azure_vm_unprotected\" WHERE (\"VMName\" =~ /^$VMName$/) AND $timeFilter GROUP BY \"VMName\", \"VMRegion\" ",
          "rawQuery": false,
          "refId": "C",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "totalrepo"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Repository Server"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "voneserver",
              "operator": "=~",
              "value": "/^$veeamone$/"
            }
          ],
          "tz": ""
        },
        {
          "alias": "",
          "groupBy": [],
          "hide": false,
          "measurement": "veeam_ONE_backupinfrastructure",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"VMSize\") AS \"VM  Size\" FROM \"veeam_azure_vm_unprotected\" WHERE (\"VMName\" =~ /^$VMName$/) AND $timeFilter GROUP BY \"VMName\", \"VMRegion\" ",
          "rawQuery": false,
          "refId": "D",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "totalbackupjob"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Backup Jobs"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "voneserver",
              "operator": "=~",
              "value": "/^$veeamone$/"
            }
          ],
          "tz": ""
        },
        {
          "alias": "",
          "groupBy": [],
          "hide": false,
          "measurement": "veeam_ONE_backupinfrastructure",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"VMSize\") AS \"VM  Size\" FROM \"veeam_azure_vm_unprotected\" WHERE (\"VMName\" =~ /^$VMName$/) AND $timeFilter GROUP BY \"VMName\", \"VMRegion\" ",
          "rawQuery": false,
          "refId": "E",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "totalreplicajob"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Replication Jobs"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "voneserver",
              "operator": "=~",
              "value": "/^$veeamone$/"
            }
          ],
          "tz": ""
        },
        {
          "alias": "",
          "groupBy": [],
          "hide": false,
          "measurement": "veeam_ONE_backupinfrastructure",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"VMSize\") AS \"VM  Size\" FROM \"veeam_azure_vm_unprotected\" WHERE (\"VMName\" =~ /^$VMName$/) AND $timeFilter GROUP BY \"VMName\", \"VMRegion\" ",
          "rawQuery": false,
          "refId": "F",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "totalbackupcopyjob"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Backup Copy Jobs"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "voneserver",
              "operator": "=~",
              "value": "/^$veeamone$/"
            }
          ],
          "tz": ""
        },
        {
          "alias": "",
          "groupBy": [],
          "hide": false,
          "measurement": "veeam_ONE_backupinfrastructure",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"VMSize\") AS \"VM  Size\" FROM \"veeam_azure_vm_unprotected\" WHERE (\"VMName\" =~ /^$VMName$/) AND $timeFilter GROUP BY \"VMName\", \"VMRegion\" ",
          "rawQuery": false,
          "refId": "G",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "totalnasjob"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "NAS Backup Jobs"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "voneserver",
              "operator": "=~",
              "value": "/^$veeamone$/"
            }
          ],
          "tz": ""
        },
        {
          "alias": "",
          "groupBy": [],
          "hide": false,
          "measurement": "veeam_ONE_backupinfrastructure",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"VMSize\") AS \"VM  Size\" FROM \"veeam_azure_vm_unprotected\" WHERE (\"VMName\" =~ /^$VMName$/) AND $timeFilter GROUP BY \"VMName\", \"VMRegion\" ",
          "rawQuery": false,
          "refId": "H",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "totalcdpolicy"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "CDP Policies"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "voneserver",
              "operator": "=~",
              "value": "/^$veeamone$/"
            }
          ],
          "tz": ""
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Backup Infrastructure Inventory",
      "transformations": [
        {
          "id": "seriesToRows",
          "options": {}
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "Time": true
            },
            "indexByName": {},
            "renameByName": {
              "Metric": "Object",
              "Value": "Value"
            }
          }
        }
      ],
      "type": "table"
    },
    {
      "cacheTimeout": null,
      "datasource": "${DS_INFLUXDB}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "Hours",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "bars",
            "fillOpacity": 30,
            "gradientMode": "hue",
            "hideFrom": {
              "graph": false,
              "legend": false,
              "tooltip": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 2,
            "pointSize": 15,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false
          },
          "decimals": 2,
          "mappings": [],
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-blue",
                "value": null
              }
            ]
          },
          "unit": "h"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Backup Jobs"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-blue",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "NAS Jobs"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-orange",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Replica Jobs"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-purple",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 9,
        "w": 10,
        "x": 5,
        "y": 1
      },
      "id": 34,
      "interval": "24h",
      "links": [],
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "hidden",
          "placement": "bottom"
        },
        "tooltipOptions": {
          "mode": "multi"
        }
      },
      "pluginVersion": "7.4.1",
      "targets": [
        {
          "alias": "Backup Jobs",
          "groupBy": [
            {
              "params": [
                "$inter"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "measurement": "veeam_ONE_backupwindow",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"VMSize\") AS \"VM  Size\" FROM \"veeam_azure_vm_unprotected\" WHERE (\"VMName\" =~ /^$VMName$/) AND $timeFilter GROUP BY \"VMName\", \"VMRegion\" ",
          "rawQuery": false,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "windowbackup"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "voneserver",
              "operator": "=~",
              "value": "/^$veeamone$/"
            }
          ],
          "tz": ""
        },
        {
          "alias": "NAS Jobs",
          "groupBy": [
            {
              "params": [
                "$inter"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "veeam_ONE_backupwindow",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"VMSize\") AS \"VM  Size\" FROM \"veeam_azure_vm_unprotected\" WHERE (\"VMName\" =~ /^$VMName$/) AND $timeFilter GROUP BY \"VMName\", \"VMRegion\" ",
          "rawQuery": false,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "windownas"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "voneserver",
              "operator": "=~",
              "value": "/^$veeamone$/"
            }
          ],
          "tz": ""
        },
        {
          "alias": "Replica Jobs",
          "groupBy": [
            {
              "params": [
                "$inter"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "veeam_ONE_backupwindow",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"VMSize\") AS \"VM  Size\" FROM \"veeam_azure_vm_unprotected\" WHERE (\"VMName\" =~ /^$VMName$/) AND $timeFilter GROUP BY \"VMName\", \"VMRegion\" ",
          "rawQuery": false,
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "windowreplica"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "voneserver",
              "operator": "=~",
              "value": "/^$veeamone$/"
            }
          ],
          "tz": ""
        }
      ],
      "timeFrom": "7d",
      "timeShift": null,
      "title": "Backup Window",
      "transformations": [],
      "type": "timeseries"
    },
    {
      "cacheTimeout": null,
      "datasource": "${DS_INFLUXDB}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "Jobs",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "bars",
            "fillOpacity": 70,
            "gradientMode": "hue",
            "hideFrom": {
              "graph": false,
              "legend": false,
              "tooltip": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 2,
            "pointSize": 15,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false
          },
          "decimals": 0,
          "mappings": [],
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-blue",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Success"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-green",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Warning"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "semi-dark-orange",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Failed"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-red",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 9,
        "w": 9,
        "x": 15,
        "y": 1
      },
      "hideTimeOverride": false,
      "id": 36,
      "interval": "24h",
      "links": [],
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltipOptions": {
          "mode": "multi"
        }
      },
      "pluginVersion": "7.4.1",
      "targets": [
        {
          "alias": "Success",
          "groupBy": [
            {
              "params": [
                "$inter"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "measurement": "veeam_ONE_jobs",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"VMSize\") AS \"VM  Size\" FROM \"veeam_azure_vm_unprotected\" WHERE (\"VMName\" =~ /^$VMName$/) AND $timeFilter GROUP BY \"VMName\", \"VMRegion\" ",
          "rawQuery": false,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "jobsuccess"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "voneserver",
              "operator": "=~",
              "value": "/^$veeamone$/"
            }
          ],
          "tz": ""
        },
        {
          "alias": "Warning",
          "groupBy": [
            {
              "params": [
                "$inter"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "veeam_ONE_jobs",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"VMSize\") AS \"VM  Size\" FROM \"veeam_azure_vm_unprotected\" WHERE (\"VMName\" =~ /^$VMName$/) AND $timeFilter GROUP BY \"VMName\", \"VMRegion\" ",
          "rawQuery": false,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "jobwarning"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "voneserver",
              "operator": "=~",
              "value": "/^$veeamone$/"
            }
          ],
          "tz": ""
        },
        {
          "alias": "Failed",
          "groupBy": [
            {
              "params": [
                "$inter"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "veeam_ONE_jobs",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"VMSize\") AS \"VM  Size\" FROM \"veeam_azure_vm_unprotected\" WHERE (\"VMName\" =~ /^$VMName$/) AND $timeFilter GROUP BY \"VMName\", \"VMRegion\" ",
          "rawQuery": false,
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "jobfail"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "voneserver",
              "operator": "=~",
              "value": "/^$veeamone$/"
            }
          ],
          "tz": ""
        }
      ],
      "timeFrom": "7d",
      "timeShift": null,
      "title": "Jobs Status",
      "transformations": [],
      "type": "timeseries"
    },
    {
      "cacheTimeout": null,
      "datasource": "${DS_INFLUXDB}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "center",
            "displayMode": "color-background",
            "filterable": false
          },
          "decimals": 2,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-purple",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byType",
              "options": "string"
            },
            "properties": [
              {
                "id": "custom.align",
                "value": "left"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 10,
        "w": 6,
        "x": 0,
        "y": 10
      },
      "id": 35,
      "interval": "",
      "links": [],
      "options": {
        "showHeader": false
      },
      "pluginVersion": "7.4.1",
      "targets": [
        {
          "alias": "",
          "groupBy": [],
          "measurement": "veeam_ONE_protectedvms",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"VMSize\") AS \"VM  Size\" FROM \"veeam_azure_vm_unprotected\" WHERE (\"VMName\" =~ /^$VMName$/) AND $timeFilter GROUP BY \"VMName\", \"VMRegion\" ",
          "rawQuery": false,
          "refId": "A",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "protectedvms"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Protected VMs"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "voneserver",
              "operator": "=~",
              "value": "/^$veeamone$/"
            }
          ],
          "tz": ""
        },
        {
          "alias": "",
          "groupBy": [],
          "hide": false,
          "measurement": "veeam_ONE_protectedvms",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"VMSize\") AS \"VM  Size\" FROM \"veeam_azure_vm_unprotected\" WHERE (\"VMName\" =~ /^$VMName$/) AND $timeFilter GROUP BY \"VMName\", \"VMRegion\" ",
          "rawQuery": false,
          "refId": "B",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "backuedupvms"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Backed Up VMs"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "voneserver",
              "operator": "=~",
              "value": "/^$veeamone$/"
            }
          ],
          "tz": ""
        },
        {
          "alias": "",
          "groupBy": [],
          "hide": false,
          "measurement": "veeam_ONE_protectedvms",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"VMSize\") AS \"VM  Size\" FROM \"veeam_azure_vm_unprotected\" WHERE (\"VMName\" =~ /^$VMName$/) AND $timeFilter GROUP BY \"VMName\", \"VMRegion\" ",
          "rawQuery": false,
          "refId": "C",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "replicatedvms"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Replicated VMs"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "voneserver",
              "operator": "=~",
              "value": "/^$veeamone$/"
            }
          ],
          "tz": ""
        },
        {
          "alias": "",
          "groupBy": [],
          "hide": false,
          "measurement": "veeam_ONE_protectedvms",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"VMSize\") AS \"VM  Size\" FROM \"veeam_azure_vm_unprotected\" WHERE (\"VMName\" =~ /^$VMName$/) AND $timeFilter GROUP BY \"VMName\", \"VMRegion\" ",
          "rawQuery": false,
          "refId": "D",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "unprotectedvms"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Unprotected VMs"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "voneserver",
              "operator": "=~",
              "value": "/^$veeamone$/"
            }
          ],
          "tz": ""
        },
        {
          "alias": "",
          "groupBy": [],
          "hide": false,
          "measurement": "veeam_ONE_protectedvms",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"VMSize\") AS \"VM  Size\" FROM \"veeam_azure_vm_unprotected\" WHERE (\"VMName\" =~ /^$VMName$/) AND $timeFilter GROUP BY \"VMName\", \"VMRegion\" ",
          "rawQuery": false,
          "refId": "E",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "restorepoints"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Restore Points"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "voneserver",
              "operator": "=~",
              "value": "/^$veeamone$/"
            }
          ],
          "tz": ""
        },
        {
          "alias": "",
          "groupBy": [],
          "hide": false,
          "measurement": "veeam_ONE_protectedvms",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"VMSize\") AS \"VM  Size\" FROM \"veeam_azure_vm_unprotected\" WHERE (\"VMName\" =~ /^$VMName$/) AND $timeFilter GROUP BY \"VMName\", \"VMRegion\" ",
          "rawQuery": false,
          "refId": "F",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "fullbackups"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  " / 1024"
                ],
                "type": "math"
              },
              {
                "params": [
                  "Full Backups (GB)"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "voneserver",
              "operator": "=~",
              "value": "/^$veeamone$/"
            }
          ],
          "tz": ""
        },
        {
          "alias": "",
          "groupBy": [],
          "hide": false,
          "measurement": "veeam_ONE_protectedvms",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"VMSize\") AS \"VM  Size\" FROM \"veeam_azure_vm_unprotected\" WHERE (\"VMName\" =~ /^$VMName$/) AND $timeFilter GROUP BY \"VMName\", \"VMRegion\" ",
          "rawQuery": false,
          "refId": "I",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "increments"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  " / 1024"
                ],
                "type": "math"
              },
              {
                "params": [
                  "Incremental Backups (GB)"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "voneserver",
              "operator": "=~",
              "value": "/^$veeamone$/"
            }
          ],
          "tz": ""
        },
        {
          "alias": "",
          "groupBy": [],
          "hide": false,
          "measurement": "veeam_ONE_protectedvms",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"VMSize\") AS \"VM  Size\" FROM \"veeam_azure_vm_unprotected\" WHERE (\"VMName\" =~ /^$VMName$/) AND $timeFilter GROUP BY \"VMName\", \"VMRegion\" ",
          "rawQuery": false,
          "refId": "G",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "sourcevmsize"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  " / 1024"
                ],
                "type": "math"
              },
              {
                "params": [
                  "Source VM Size (GB)"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "voneserver",
              "operator": "=~",
              "value": "/^$veeamone$/"
            }
          ],
          "tz": ""
        },
        {
          "alias": "",
          "groupBy": [],
          "hide": false,
          "measurement": "veeam_ONE_protectedvms",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"VMSize\") AS \"VM  Size\" FROM \"veeam_azure_vm_unprotected\" WHERE (\"VMName\" =~ /^$VMName$/) AND $timeFilter GROUP BY \"VMName\", \"VMRegion\" ",
          "rawQuery": false,
          "refId": "H",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "successratio"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Successful VMs Backup Ratio (%)"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "voneserver",
              "operator": "=~",
              "value": "/^$veeamone$/"
            }
          ],
          "tz": ""
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Protected VMs Overview",
      "transformations": [
        {
          "id": "seriesToRows",
          "options": {}
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "Time": true
            },
            "indexByName": {},
            "renameByName": {
              "Metric": "Object",
              "Value": "Value"
            }
          }
        }
      ],
      "type": "table"
    },
    {
      "cacheTimeout": null,
      "datasource": "${DS_INFLUXDB}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "center",
            "displayMode": "color-background",
            "filterable": false
          },
          "decimals": 0,
          "mappings": [
            {
              "from": "",
              "id": 1,
              "text": "Quicker than Usual",
              "to": "",
              "type": 1,
              "value": "1"
            },
            {
              "from": "",
              "id": 4,
              "text": "Longer than Usual",
              "to": "",
              "type": 1,
              "value": "-1"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "rgb(85, 86, 87)",
                "value": null
              },
              {
                "color": "dark-red",
                "value": -1
              },
              {
                "color": "dark-green",
                "value": 1
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byType",
              "options": "string"
            },
            "properties": [
              {
                "id": "custom.align",
                "value": "left"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "jobstatus"
            },
            "properties": [
              {
                "id": "mappings",
                "value": [
                  {
                    "from": "",
                    "id": 1,
                    "text": "Success",
                    "to": "",
                    "type": 1,
                    "value": "1"
                  },
                  {
                    "from": "",
                    "id": 2,
                    "text": "Warning",
                    "to": "",
                    "type": 1,
                    "value": "2"
                  },
                  {
                    "from": "",
                    "id": 3,
                    "text": "Failed",
                    "to": "",
                    "type": 1,
                    "value": "3"
                  }
                ]
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "dark-blue",
                      "value": null
                    },
                    {
                      "color": "dark-green",
                      "value": 1
                    },
                    {
                      "color": "dark-orange",
                      "value": 2
                    },
                    {
                      "color": "dark-red",
                      "value": 3
                    }
                  ]
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 10,
        "w": 9,
        "x": 6,
        "y": 10
      },
      "id": 37,
      "interval": "",
      "links": [],
      "options": {
        "showHeader": false
      },
      "pluginVersion": "7.4.1",
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "jobname"
              ],
              "type": "tag"
            },
            {
              "params": [
                "jobstatus"
              ],
              "type": "tag"
            }
          ],
          "measurement": "veeam_ONE_jobsduration",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"VMSize\") AS \"VM  Size\" FROM \"veeam_azure_vm_unprotected\" WHERE (\"VMName\" =~ /^$VMName$/) AND $timeFilter GROUP BY \"VMName\", \"VMRegion\" ",
          "rawQuery": false,
          "refId": "A",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "trend"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Protected VMs"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "voneserver",
              "operator": "=~",
              "value": "/^$veeamone$/"
            }
          ],
          "tz": ""
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Top Jobs by Duration",
      "transformations": [
        {
          "id": "seriesToRows",
          "options": {}
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "Time": true
            },
            "indexByName": {},
            "renameByName": {
              "Metric": "Object",
              "Value": "Value"
            }
          }
        }
      ],
      "type": "table"
    },
    {
      "cacheTimeout": null,
      "datasource": "${DS_INFLUXDB}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "center",
            "displayMode": "color-background",
            "filterable": false
          },
          "decimals": 0,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "rgb(77, 77, 77)",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byType",
              "options": "string"
            },
            "properties": [
              {
                "id": "custom.align",
                "value": "left"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Time Left"
            },
            "properties": [
              {
                "id": "unit",
                "value": "d"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Capacity"
            },
            "properties": [
              {
                "id": "unit",
                "value": "decgbytes"
              },
              {
                "id": "decimals",
                "value": 2
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Free"
            },
            "properties": [
              {
                "id": "unit",
                "value": "decgbytes"
              },
              {
                "id": "decimals",
                "value": 2
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 10,
        "w": 9,
        "x": 15,
        "y": 10
      },
      "id": 38,
      "interval": "",
      "links": [],
      "options": {
        "showHeader": true
      },
      "pluginVersion": "7.4.1",
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "repositoryname"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "veeam_ONE_repositories",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"VMSize\") AS \"VM  Size\" FROM \"veeam_azure_vm_unprotected\" WHERE (\"VMName\" =~ /^$VMName$/) AND $timeFilter GROUP BY \"VMName\", \"VMRegion\" ",
          "rawQuery": false,
          "refId": "B",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "repodaysleft"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Time Left"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "voneserver",
              "operator": "=~",
              "value": "/^$veeamone$/"
            }
          ],
          "tz": ""
        },
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "repositoryname"
              ],
              "type": "tag"
            }
          ],
          "measurement": "veeam_ONE_repositories",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"VMSize\") AS \"VM  Size\" FROM \"veeam_azure_vm_unprotected\" WHERE (\"VMName\" =~ /^$VMName$/) AND $timeFilter GROUP BY \"VMName\", \"VMRegion\" ",
          "rawQuery": false,
          "refId": "A",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "repocapacity"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Capacity"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "voneserver",
              "operator": "=~",
              "value": "/^$veeamone$/"
            }
          ],
          "tz": ""
        },
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "repositoryname"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "veeam_ONE_repositories",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"VMSize\") AS \"VM  Size\" FROM \"veeam_azure_vm_unprotected\" WHERE (\"VMName\" =~ /^$VMName$/) AND $timeFilter GROUP BY \"VMName\", \"VMRegion\" ",
          "rawQuery": false,
          "refId": "C",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "repofreespace"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Free"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "voneserver",
              "operator": "=~",
              "value": "/^$veeamone$/"
            }
          ],
          "tz": ""
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Top Repositories by Used Space",
      "transformations": [
        {
          "id": "seriesToColumns",
          "options": {
            "byField": "repositoryname"
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "Time 1": true,
              "Time 2": true,
              "Time 3": true,
              "Time 4": true
            },
            "indexByName": {
              "Time 1": 0,
              "Time 2": 1,
              "Time 3": 2,
              "Time 4": 3,
              "last 1": 5,
              "last 2": 6,
              "last 3": 7,
              "last 4": 8,
              "repositoryname": 4
            },
            "renameByName": {
              "Days Left": "",
              "repositoryname": "Repository"
            }
          }
        }
      ],
      "type": "table"
    },
    {
      "datasource": "${DS_INFLUXDB}",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 5,
        "x": 19,
        "y": 20
      },
      "id": 42,
      "options": {
        "content": "<a href=\"https://www.jorgedelacruz.es\"><img src=\"https://www.jorgedelacruz.es/wp-content/uploads/2019/04/jorgedelacruz-banner_2efede4ef704c939e63a3763231f5961.png\"></a>\n\n\n\n",
        "mode": "html"
      },
      "pluginVersion": "7.4.1",
      "targets": [
        {
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transparent": true,
      "type": "text"
    }
  ],
  "schemaVersion": 27,
  "style": "dark",
  "tags": [
    "veeam",
    "veeam one",
    "veeam one dashboards",
    "veeam backup"
  ],
  "templating": {
    "list": [
      {
        "auto": true,
        "auto_count": 30,
        "auto_min": "10s",
        "current": {
          "selected": false,
          "text": "auto",
          "value": "$__auto_interval_inter"
        },
        "description": null,
        "error": null,
        "hide": 0,
        "label": "Sampling",
        "name": "inter",
        "options": [
          {
            "selected": true,
            "text": "auto",
            "value": "$__auto_interval_inter"
          },
          {
            "selected": false,
            "text": "1m",
            "value": "1m"
          },
          {
            "selected": false,
            "text": "10m",
            "value": "10m"
          },
          {
            "selected": false,
            "text": "30m",
            "value": "30m"
          },
          {
            "selected": false,
            "text": "1h",
            "value": "1h"
          },
          {
            "selected": false,
            "text": "6h",
            "value": "6h"
          },
          {
            "selected": false,
            "text": "12h",
            "value": "12h"
          },
          {
            "selected": false,
            "text": "1d",
            "value": "1d"
          },
          {
            "selected": false,
            "text": "7d",
            "value": "7d"
          },
          {
            "selected": false,
            "text": "14d",
            "value": "14d"
          },
          {
            "selected": false,
            "text": "30d",
            "value": "30d"
          }
        ],
        "query": "1m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
        "refresh": 2,
        "skipUrlSync": false,
        "type": "interval"
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_INFLUXDB}",
        "definition": "SHOW TAG VALUES FROM veeam_ONE_about WITH KEY=voneserver",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": true,
        "label": "Veeam ONE Server",
        "multi": true,
        "name": "veeamone",
        "options": [],
        "query": "SHOW TAG VALUES FROM veeam_ONE_about WITH KEY=voneserver",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_INFLUXDB}",
        "definition": "SHOW TAG VALUES FROM veeam_ONE_about WITH KEY=voneversion WHERE \"voneserver\" =~ /$veeamone/",
        "description": null,
        "error": null,
        "hide": 2,
        "includeAll": false,
        "label": "Veeam ONE Server version",
        "multi": true,
        "name": "voneversion",
        "options": [],
        "query": "SHOW TAG VALUES FROM veeam_ONE_about WITH KEY=voneversion WHERE \"voneserver\" =~ /$veeamone/",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-7d",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "Veeam ONE - Veeam Backup and Replication",
  "uid": "y-y8FssMz",
  "version": 19
}