<?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[Trouble with ODBC SQL Polling]]></title><description><![CDATA[<p dir="auto">Hello Victor,</p>
<p dir="auto">I've managed to build and launch ODBC subagent tried it and got some issues. Current query returns right result, but those results stored previously die or something wrong happens to them. I have included the printscreens of management console showing this and screen of collection configuration.</p>
<p dir="auto">Agent is configured with the following lines:<br />
*ODBC<br />
Query = SQL.MySQLQuery:mybase:SELECT COUNT(*) FROM USERS WHERE USERACTIVE = 1 AND USERDELETED = 0:60</p>
<p dir="auto">Normally query should return 171 or something like this.</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000000845-err4.PNG" alt="err4.PNG" class="img-markdown  img-fluid" width="1188" height="807" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000000847-err1.PNG" alt="err1.PNG" class="img-markdown  img-fluid" width="1177" height="859" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000000849-err2.PNG" alt="err2.PNG" class="img-markdown  img-fluid" width="1193" height="852" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000000851-err3.PNG" alt="err3.PNG" class="img-markdown  img-fluid" width="1191" height="824" /></p>
]]></description><link>https://forum.netxms.org/topic/1851/trouble-with-odbc-sql-polling</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 16:08:13 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/1851.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 31 Jul 2012 09:53:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Trouble with ODBC SQL Polling on Wed, 01 Aug 2012 09:11:35 GMT]]></title><description><![CDATA[<p dir="auto">Hello Victor,</p>
<p dir="auto">I have added SNMP string polling and it has the same effect as ODBC polling. Current polled value is good and stored are ruined.</p>
<p dir="auto">Best regards,<br />
Roman</p>
]]></description><link>https://forum.netxms.org/post/8081</link><guid isPermaLink="true">https://forum.netxms.org/post/8081</guid><dc:creator><![CDATA[xatteg]]></dc:creator><pubDate>Wed, 01 Aug 2012 09:11:35 GMT</pubDate></item><item><title><![CDATA[Reply to Trouble with ODBC SQL Polling on Tue, 31 Jul 2012 12:19:19 GMT]]></title><description><![CDATA[<p dir="auto">As all previously stored values displayed correctly now, that means a bug on client side - either in client library or in management console itself. Can you check any other string DCIs if you have any?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/8070</link><guid isPermaLink="true">https://forum.netxms.org/post/8070</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 31 Jul 2012 12:19:19 GMT</pubDate></item><item><title><![CDATA[Reply to Trouble with ODBC SQL Polling on Tue, 31 Jul 2012 11:49:41 GMT]]></title><description><![CDATA[<p dir="auto">Hello Victor,</p>
<p dir="auto">Changing type to integer effectively solved the problem. All previously stored values are now displaying correctly. The one thing I don't understand is why did this happen?</p>
]]></description><link>https://forum.netxms.org/post/8067</link><guid isPermaLink="true">https://forum.netxms.org/post/8067</guid><dc:creator><![CDATA[xatteg]]></dc:creator><pubDate>Tue, 31 Jul 2012 11:49:41 GMT</pubDate></item><item><title><![CDATA[Reply to Trouble with ODBC SQL Polling on Tue, 31 Jul 2012 10:31:32 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">It looks like problem on server or in management console, because history is corrupted. Last value always good, which means that agent reports correct value. Can you try to change data type of this DCI to integer? Also, is there any other DCIs which experience same problem?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/8065</link><guid isPermaLink="true">https://forum.netxms.org/post/8065</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 31 Jul 2012 10:31:32 GMT</pubDate></item></channel></rss>