<?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[Read external web API as DCI]]></title><description><![CDATA[<p dir="auto">I have a remote API that counts a 'queue' in a remote system. I'd love to monitor the results in NetXMS so I can be alerted if the size grows to a uncontrollable size.</p>
<p dir="auto">I've been having a look through the docs and so far can't see a simple way to do it.</p>
<p dir="auto">If i visit the URL <a href="https://example.org/status/queueSize" rel="nofollow ugc">https://example.org/status/queueSize</a>  I get a raw integer back - I'm trying to chart that number.</p>
<p dir="auto">Any suggestions?</p>
]]></description><link>https://forum.netxms.org/topic/4789/read-external-web-api-as-dci</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 13:21:44 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/4789.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 08 Nov 2016 00:39:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Read external web API as DCI on Tue, 08 Nov 2016 09:30:58 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">you can create external parameter in agent and use curl to get this number, like this:</p>
<p dir="auto">nxagentd.conf:</p>
<pre><code>ExternalParameter = QueueSize:curl https://example.org/status/queueSize
</code></pre>
<p dir="auto">and then your agent will have parameter QueueSize which you will be able to monitor as usual.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/21332</link><guid isPermaLink="true">https://forum.netxms.org/post/21332</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 08 Nov 2016 09:30:58 GMT</pubDate></item></channel></rss>