Getting stats from Veeam Backup for Microsoft Office 365 - TheMadVanguard/Grafana_Stuff GitHub Wiki
The script can be downloaded from GitHub it needs a little bit tweaking prior to running it.
The script gathers the following information:
- Number of Licensed Users
- Number of new Users recently added to VBO
- Total number of threads of the Proxies
- Total number of objects processed in the backups
- Summary of the latest Backup status – by job
- Summary of the latest restoration – by job and by component
- Statistics on reading and writing in MB/s – per job
- Statistics on information processed in MB/s and data written in MB – per job
- Statistics on the time it has taken each Backup – per job
- Summary table with the status of each Backup – by job
- Summary table with the consumption of each Backup Repository
- Summary table with the consumption of each Object Storage
- Disk Capacity Meter for each Backup Repository
- Disk Capacity Meter for each Object Storage
Before you you start you'll need to install jq
sudo apt install jq
Now we need to edit lines from 24 to 34 Once completed we can make the script executable:
chmod +x veeam_office365.sh
You can run the script now to test it's working, you should see something like the below repeated a few times: Now we have to schedule the script to launch automatically, we will use crontab -e to add it to cron, you'll need to define your path:
*/30 * * * * /opt/scripts/veeam_office365.sh >> /var/log/veeamvbo.log 2>&1