Grafana problem

Started by praim, June 04, 2018, 07:54:55 PM

Previous topic - Next topic

praim

Hello,
i have problem with grafana. When i try to add a new DCI everytime i get response: "no datapoints" on every DCI. Could you please help me, what am I doing wrong?

Best regards

netxms server and restApi v2.2.6
tomcat 8
ubuntu 16.04 LTS
grafana v5.1.3
netxms grafana plugin v1.1.0

below is grafana query inspector
xhrStatus:"complete"
request:Object
method:"GET"
url:"http://192.168.89.13:8080/grafana/datacollection"
data:null
params:Object
interval:20
from:y
to:y
targets:"[{"dci":{"id":"146","name":"Ping time of primary IP"},"dciTarget":{"id":"150","name":"Mikrotik - Hlavni switch"},"legend":"","rawQuery":false,"refId":"A","type":"DCI","$$hashKey":"object:195"}]"
withCredentials:true
response:Array[1]
0:Object
target:"Ping time of primary IP"
datapoints:Array[0]

Ēriks Jenkēvics

Hi!

Are you sure that the DCI has collected enough data to be plotted? I can only achieve your described behaviour when I've just started the server, agent and grafana.

Regards,
Eriks