neuralfraud / grafana-prtg

A PRTG Datasource plugin for Grafana
181 stars 75 forks source link

Raw query to table.json error #114

Closed jeedee5 closed 5 years ago

jeedee5 commented 6 years ago

I am runnin Grafana 5.2.2, and PRTG API 18.3.43.2323. When I query with RAW, I get "Request error" in Grafana when using table.json as URI.

When running the request manualy in a browser, I am getting an output https://hostname/api/table.json?content=sensors&columns=device,sensor,status,message,downtimesince&filter_status=4&filter_status=5 grafana3

However, when using this request in Grafana, I get a request error. grafana2

I have also tested the template dashboard, and the system status with getstatus.htm in the URI looks to be working, however, the data doesn't seems to be consistent grafana1

jeedee5 commented 6 years ago

Restarted the grafana services... now the json query works.... The issue with the amount of messages remains however...

neuralfraud commented 5 years ago

Real late here, but perhaps that's a weird Grafana issue... i took my example dashboard there, removed the columns and replaced them and it seems to be ok..

Also this version (6) seems to support color/rules for string values as well, so that's pretty nice. Closing;