<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Grafana datasource problem - only for DCIs]]></title><description><![CDATA[<p dir="auto">I'm using NetXMS v3 and Grafana 6.3.x and succesfully deployed the NetXMS datasource on grafana. It connects to the webapi and is able to show alarms.<br />
However, DCIs do not show points on the graph. I can select the DCIs but grafana is not able to pull points for the DCI.<br />
The grafana query to the API returns error 46.</p>
<p dir="auto">below is the query inspector result from grafana.<br />
i found the following wiki page, and statement about java.xml.bind module.<br />
However, i'm on ubuntu 18.04 , tomcat9 and java 11</p>
<p dir="auto">any idea what's wrong? Connectivity and authentication seems right because i do get to see alarms in a grafana table just fine.</p>
<p dir="auto">java -version<br />
openjdk version &quot;11.0.4&quot; 2019-07-16<br />
OpenJDK Runtime Environment (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3)<br />
OpenJDK 64-Bit Server VM (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3, mixed mode, sharing)</p>
<p dir="auto">&quot;If curl test works but grafana returns &quot;Internal error&quot; ({&quot;description&quot;:&quot;Internal error&quot;,&quot;error&quot;:46}&quot;)<br />
Add &quot;--add-modules java.xml.bind&quot; to JAVA_OPTS in /etc/default/tomcat8 &quot;</p>
<p dir="auto"><div class="card col-md-9 col-lg-6 position-relative link-preview p-0">



<a href="https://wiki.netxms.org/wiki/Web_service_API" title="Web service API - NetXMS Wiki">
<img src="https://wiki.netxms.org/resources/assets/poweredby_mediawiki_88x31.png" class="card-img-top not-responsive" style="max-height: 15rem;" alt="Link Preview Image" onerror="this.parentElement.remove()" />
</a>



<div class="card-body">
<h5 class="card-title">
<a class="text-decoration-none" href="https://wiki.netxms.org/wiki/Web_service_API">
Web service API - NetXMS Wiki
</a>
</h5>
<p class="card-text line-clamp-3"></p>
</div>
<a href="https://wiki.netxms.org/wiki/Web_service_API" class="card-footer text-body-secondary small d-flex gap-2 align-items-center lh-2">



<img src="https://wiki.netxms.org/wiki/Main_Page.html" alt="favicon" class="not-responsive overflow-hiddden" style="max-width: 21px; max-height: 21px;" onerror="this.remove()"/>



<p class="d-inline-block text-truncate mb-0"> <span class="text-secondary">(wiki.netxms.org)</span></p>
</a>
</div></p>
<pre><code>Object
xhrStatus:&quot;complete&quot;
request:Object
method:&quot;GET&quot;
url:&quot;api/datasources/proxy/20/grafana/datacollection&quot;
data:null
params:Object
interval:200
from:_
to:_
targets:&quot;[{&quot;dci&quot;:{&quot;id&quot;:&quot;945&quot;,&quot;name&quot;:&quot;Inbound traffic on NET_STOR (bits/sec)&quot;},&quot;dciTarget&quot;:{&quot;id&quot;:&quot;3370&quot;,&quot;name&quot;:&quot;host01.corp.local&quot;},&quot;legend&quot;:&quot;&quot;,&quot;refId&quot;:&quot;A&quot;,&quot;type&quot;:&quot;DCI&quot;,&quot;datasource&quot;:&quot;NetXMS&quot;},{&quot;dci&quot;:{&quot;id&quot;:&quot;946&quot;,&quot;name&quot;:&quot;Outbound traffic on NET_STOR (bits/sec)&quot;},&quot;dciTarget&quot;:{&quot;id&quot;:&quot;3370&quot;,&quot;name&quot;:&quot;host01.corp.local&quot;},&quot;legend&quot;:&quot;&quot;,&quot;refId&quot;:&quot;B&quot;,&quot;type&quot;:&quot;DCI&quot;,&quot;datasource&quot;:&quot;NetXMS&quot;}]&quot;
response:Object
description:&quot;'java.util.Iterator org.json.JSONArray.iterator()'&quot;
error:46
</code></pre>
]]></description><link>https://forum.netxms.org/topic/6172/grafana-datasource-problem-only-for-dcis</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:20:35 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6172.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 18 Sep 2019 14:50:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Grafana datasource problem - only for DCIs on Wed, 18 Sep 2019 19:29:41 GMT]]></title><description><![CDATA[<p dir="auto">ok i just saw a new netxms build and i upgraded the server to 3.0.2284 and web service API using netxms-websvc-3.0.2284.war<br />
after that, DCI values showed up within grafana graphs. No error 46 anymore.</p>
<p dir="auto">Not sure what the fix was, but hey, it works. Happy ;D</p>
]]></description><link>https://forum.netxms.org/post/26569</link><guid isPermaLink="true">https://forum.netxms.org/post/26569</guid><dc:creator><![CDATA[JayST]]></dc:creator><pubDate>Wed, 18 Sep 2019 19:29:41 GMT</pubDate></item></channel></rss>