jorgedlcruz / veeam_grafana

Scripts and other herbs for Veeam and Grafana

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dashboard not showing data

BasvanH opened this issue · comments

Hi,

I have setup telegraf, and according to it's logs and tests its successfully uploading the data to Grafana.
2019-02-08T12:00:20Z D! [outputs.influxdb] wrote batch of 21 metrics in 5.9918ms

When I add the JSON dahsboard, I select my influx database, but the dashboard never shows any data. In your github description you wrote:

Change your hosts inside the Grafana

What do you mean by this and could this be the cause of my issue?

Thanks, regards,
Bastiaan

Hello,
Bastiaan, this script it is a bit old, and not very well designed using variables and such, so you need to go to influxdb and select your host on the query. I am working on a new script which will really help in order to monitor Veeam, will take me a few weeks still

You beat me to it :-). I was writing I have found the host in the query while you posted your anwser. Found out the table names dont match from the script to the query.

Will wait on the new one while learning more about Grafana. Thanks!

Hey Jorge, having the same issue, would be cool having a new Script 👍

Having the same issue even after changing the host = to my host name,
when I use the query inspector to see the data that is pulled from the database the data is null even though when I run the .ps script I can see values.

Hello,
Can you see the data on chronograf, or using grafana explorer? So, not using the Dashboard but just the explorer mode?

No result using the explorer
VeeamCap

What is the result of the script when you run it? Any error?

No error, this is the output:

PS C:> C:\veeam-stats.ps1
veeam-stats successfulbackups=1
veeam-stats warningbackups=0
veeam-stats failesbackups=0
veeam-stats failedbackups=0
veeam-stats runningbackups=0
veeam-stats successfulbackupcopys=0
veeam-stats warningbackupcopys=0
veeam-stats failesbackupcopys=0
veeam-stats failedbackupcopys=0
veeam-stats runningbackupcopys=0
veeam-stats idlebackupcopys=0
veeam-stats successfulreplications=0
veeam-stats warningreplications=0
veeam-stats failesreplications=0
veeam-stats failedreplications=0
veeam-stats REPO_Default_Backup_Repository=61
veeam-stats REPO_iSCSI_-_Netapp=15
veeam-stats REPO_NetApp_Snapshot=100
veeam-stats protectedendpoints=0
veeam-stats totalbackupread=38
veeam-stats runningreplications=0