<?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[Querying DCI Table history]]></title><description><![CDATA[<p dir="auto">Hello Forum,</p>
<p dir="auto">I know that a number of people have raised this but I can't find any answers on the forum.</p>
<p dir="auto">I've seen this solution for getting the current values of a DCI table.</p>
<p dir="auto"><a href="https://www.netxms.org/forum/general-support/get-values-from-a-dci-table-with-a-tranform-script/msg17281/#msg17281" rel="nofollow ugc">https://www.netxms.org/forum/general-support/get-values-from-a-dci-table-with-a-tranform-script/msg17281/#msg17281</a></p>
<p dir="auto">That's great - but is there a similar way to enumerate and display the complete history for a DCI table? We have some monitors which get results of logins every few minutes. If there is a suspicious login it raises an alert. After 10 minutes the DCI table will no longer display the row but the alert will remain. As the identity column is just a session number that doesn't give us enough information to see who logged in and where from. So we need to be able to see the history. Also if we need to use this information for evidence then we'll need to get back to it to.</p>
<p dir="auto">Perhaps a DCI table isn't the best way to do this but I can't see a better way to handle it at the moment. The main issue is that we're monitoring a cloud solution and the only way to pickup the logins is via their API for a period of time.</p>
<p dir="auto">Best regards</p>
<p dir="auto">Spot</p>
]]></description><link>https://forum.netxms.org/topic/6706/querying-dci-table-history</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 15:47:06 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6706.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 01 Oct 2020 17:06:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Querying DCI Table history on Thu, 23 Sep 2021 11:39:56 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">most likely you'll have to look at NXSL extensions, data collection related functions are in src/server/core/dc_nxsl.cpp. Look for F_GetDCIValues - it is implementation of getting history for single value DCIs, and GetDCIValueImpl - it will give you idea how to return table value as NXSL object. Then you will need code to unpack table values. You can take a look at src/server/core/session.cpp, method ClientSession::getCollectedDataFromDB - you will be interested in code part around call Table::createFromPackedXML.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/30547</link><guid isPermaLink="true">https://forum.netxms.org/post/30547</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 23 Sep 2021 11:39:56 GMT</pubDate></item><item><title><![CDATA[Reply to Querying DCI Table history on Mon, 20 Sep 2021 03:59:46 GMT]]></title><description><![CDATA[<p dir="auto">Okay Victor,<br />
Would appreciate it if you could point me towards a contribution guide and what part of the codebase contains these methods.</p>
]]></description><link>https://forum.netxms.org/post/30521</link><guid isPermaLink="true">https://forum.netxms.org/post/30521</guid><dc:creator><![CDATA[Mishal]]></dc:creator><pubDate>Mon, 20 Sep 2021 03:59:46 GMT</pubDate></item><item><title><![CDATA[Reply to Querying DCI Table history on Thu, 09 Sep 2021 07:47:01 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">sure, you can clone our GitHub repository (<a href="https://github.com/netxms/netxms" rel="nofollow ugc">https://github.com/netxms/netxms</a>), do necessary changes, and submit a pull request (with usual GitHub mechanisms).</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/30456</link><guid isPermaLink="true">https://forum.netxms.org/post/30456</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 09 Sep 2021 07:47:01 GMT</pubDate></item><item><title><![CDATA[Reply to Querying DCI Table history on Thu, 02 Sep 2021 06:35:57 GMT]]></title><description><![CDATA[<p dir="auto">Hello Victor,</p>
<p dir="auto">I would like to have the same feature to be able to query last values for a table row.<br />
Is there a way to make feature request and github repository and then submit a pull request.</p>
<p dir="auto">Thanks,<br />
Mishal</p>
]]></description><link>https://forum.netxms.org/post/30411</link><guid isPermaLink="true">https://forum.netxms.org/post/30411</guid><dc:creator><![CDATA[Mishal]]></dc:creator><pubDate>Thu, 02 Sep 2021 06:35:57 GMT</pubDate></item><item><title><![CDATA[Reply to Querying DCI Table history on Sun, 04 Oct 2020 11:25:30 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">seems that currently it is not possible. There is feature request for that for some time already: <a href="https://track.radensolutions.com/issue/NX-1483" rel="nofollow ugc">https://track.radensolutions.com/issue/NX-1483</a>, which we will definitely implement at some point. Also NXSL function GetDCIValues could be fairly easily modified to return list of table DCI values for given period.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/28661</link><guid isPermaLink="true">https://forum.netxms.org/post/28661</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sun, 04 Oct 2020 11:25:30 GMT</pubDate></item></channel></rss>