VeeamHub / grafana

Grafana dashboard for Veeam solutions
MIT License
60 stars 21 forks source link

Convert Bash script for InfluxDB2 and buckets #22

Open NordloRobertNilsson opened 2 years ago

NordloRobertNilsson commented 2 years ago

Hi, first great work with all of your contributions to the community! These and other scripts are very helpful for collecting information about VMware and Veeam.

I have recently started to migrate to InfluxDB2 and buckets instead of databases, and I have seen that some of your other scripts are in two flavours, for InfluxDB 1.8 or 2.

Is there any plans to convert or make second variant for the VSPC-scripts to support InfluxDB2, buckets and API-tokens?

Or can I adapt the script to support InfluxDB2 my self? (Limited knowledge about curl).

samumatic commented 1 year ago

I have edited my VSPC scripts, so that the authentication for InfluxDB v2.6 works, but the scripts are for VSPC API v.2 and my VSPC API is currently on v.3. The API commands changed, and the script is not working, even if your replace /v2/ with /v3/.

An updated script would be helpful here.