NetXMS Support Forum

English Support => General Support => Topic started by: ChrisC on October 14, 2021, 01:43:32 AM

Title: Grafana Datasource connecting, but cannot graph any DCIs or show alarms
Post by: ChrisC on October 14, 2021, 01:43:32 AM
I am trying to get Grafana to work with NetXMS:

Both are on the same server.
Browsing to the server with /api and /api/info displays version information in JSON format.
I have created the Data Source, and when I click Save & test, it replies with "Data source is working".

When I try and select a Target, the drop down box is empty (I assume it should fill with a list of choices)

When I try and add an alarm list, again, I don't get a list of choices in "Source". If i leave it blank, use "*" or "%" (hoping to show all alarms) I get a JSON reply of column names, but no actual data.

As a test, I've added "allowed_origins = *" to the grafana .ini file as I was seeing some warnings, but although the warnings are now gone, it is still not working.

What am I doing wrong?
Title: Re: Grafana Datasource connecting, but cannot graph any DCIs or show alarms
Post by: multix on October 19, 2021, 11:42:11 PM
I had same error while trying with wildfly.

I could not success with wildfly.

I solved this issue by using java 11 and  tomcat 9.0.54.

But, I am having some performance problem with it. (slow query results)
Title: Re: Grafana Datasource connecting, but cannot graph any DCIs or show alarms
Post by: ChrisC on October 22, 2021, 06:32:13 PM
Never heard of wildfly, I will check it out.
We are currently using tomcat 9.0.31 and openjdk 11.0.11.