NetXMS Support Forum

Please login or register.

Login with username, password and session length

Author Topic: Grafana problem  (Read 463 times)

praim

  • Newbie
  • *
  • Posts: 20
    • View Profile
Grafana problem
« on: June 04, 2018, 07:54:55 pm »

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
Code: [Select]
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]
Logged

Ēriks Jenkēvics

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
Re: Grafana problem
« Reply #1 on: June 12, 2018, 11:43:12 am »

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
Logged