Dashboard with line graph from table

Started by mrocha, July 13, 2016, 02:22:38 PM

Previous topic - Next topic

mrocha

Hello,

Maybe this has allready been answered, but I'm trying to create a line graph, inside a dashboard.
The datasource should be a table with data collected from a DB query.
How can I do this?
I have been going around with this and would greatly apprecciate any help.
Thank you

mrocha


Tursiops

I don't think you can do that directly.

However you should be able to create a separate DCI that uses a script.
That script could utilise GetDCIValue (https://wiki.netxms.org/wiki/NXSL:GetDCIValue) and Table methods (https://wiki.netxms.org/wiki/NXSL:Table) to obtain the data you're after. That DCI can then be used in the Dashboard.

Hope that helps somewhat.

mrocha

Thank you for your help.

I'll take a look at this information and see what I can get of it.

Greetings.