<?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[Переменные при создании параметров в  Data Collection]]></title><description><![CDATA[<p dir="auto">Коллеги,</p>
<p dir="auto">стоит задача по выполнению SQL запроса с переменной. Т.е. SQL запрос содержит в себе переменную, которая может меняться. SQL запрос выполняется при помощи dbquery.nsm. Но вот что делать с переменной... Подскажите есть ли такая возможность?</p>
]]></description><link>https://forum.netxms.org/topic/3080/переменные-при-создании-параметров-в-data-collection</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 23:49:38 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3080.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 11 Apr 2014 14:43:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Переменные при создании параметров в  Data Collection on Sat, 31 May 2014 11:48:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zev" aria-label="Profile: zev">@<bdi>zev</bdi></a> said in <a href="/post/13996">Переменные при создании параметров в  Data Collection</a>:</p>
<blockquote>
<p dir="auto">Практически тот же анонс, только описанный в документации: <a href="https://www.netxms.org/documentation/adminguide/subagents.html#dbquery" rel="nofollow ugc">https://www.netxms.org/documentation/adminguide/subagents.html#dbquery</a> . Особенно то и добавить нечего. Если будут вопросы - задавайте.</p>
</blockquote>
<p dir="auto">Спасибо!</p>
]]></description><link>https://forum.netxms.org/post/14024</link><guid isPermaLink="true">https://forum.netxms.org/post/14024</guid><dc:creator><![CDATA[VSS]]></dc:creator><pubDate>Sat, 31 May 2014 11:48:04 GMT</pubDate></item><item><title><![CDATA[Reply to Переменные при создании параметров в  Data Collection on Tue, 27 May 2014 10:27:12 GMT]]></title><description><![CDATA[<p dir="auto">Практически тот же анонс, только описанный в документации: <a href="https://www.netxms.org/documentation/adminguide/subagents.html#dbquery" rel="nofollow ugc">https://www.netxms.org/documentation/adminguide/subagents.html#dbquery</a> . Особенно то и добавить нечего. Если будут вопросы - задавайте.</p>
]]></description><link>https://forum.netxms.org/post/13996</link><guid isPermaLink="true">https://forum.netxms.org/post/13996</guid><dc:creator><![CDATA[zev]]></dc:creator><pubDate>Tue, 27 May 2014 10:27:12 GMT</pubDate></item><item><title><![CDATA[Reply to Переменные при создании параметров в  Data Collection on Mon, 26 May 2014 05:03:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/victor" aria-label="Profile: victor">@<bdi>victor</bdi></a> said in <a href="/post/13977">Переменные при создании параметров в  Data Collection</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/vss" aria-label="Profile: vss">@<bdi>vss</bdi></a> said in <a href="/post/13969">Переменные при создании параметров в  Data Collection</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/victor" aria-label="Profile: victor">@<bdi>victor</bdi></a> said in <a href="/post/13713">Переменные при создании параметров в  Data Collection</a>:</p>
<blockquote>
<p dir="auto">Тогда ничего сделать нельзя. Я подумаю как можно добавить переменные в запросы в DBQuery.</p>
</blockquote>
<p dir="auto">Подскажите, пожалуйста, есть ли что-то подобное в 1.2.14?</p>
</blockquote>
<p dir="auto">Да, есть. На английском был маленький анонс: <a href="/post/13923">https://www.netxms.org/forum/announcements/netxms-1-2-14-released/msg13923/#msg13923</a>. В понедельник разработчик этой опции будет доступен, расскажет подробнее <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
</blockquote>
<p dir="auto">Спасибо! Анонс изучили будем пробовать, если появятся подробности тоже замечательно!</p>
]]></description><link>https://forum.netxms.org/post/13989</link><guid isPermaLink="true">https://forum.netxms.org/post/13989</guid><dc:creator><![CDATA[VSS]]></dc:creator><pubDate>Mon, 26 May 2014 05:03:04 GMT</pubDate></item><item><title><![CDATA[Reply to Переменные при создании параметров в  Data Collection on Sat, 24 May 2014 17:08:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/vss" aria-label="Profile: vss">@<bdi>vss</bdi></a> said in <a href="/post/13969">Переменные при создании параметров в  Data Collection</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/victor" aria-label="Profile: victor">@<bdi>victor</bdi></a> said in <a href="/post/13713">Переменные при создании параметров в  Data Collection</a>:</p>
<blockquote>
<p dir="auto">Тогда ничего сделать нельзя. Я подумаю как можно добавить переменные в запросы в DBQuery.</p>
</blockquote>
<p dir="auto">Подскажите, пожалуйста, есть ли что-то подобное в 1.2.14?</p>
</blockquote>
<p dir="auto">Да, есть. На английском был маленький анонс: <a href="/post/13923">https://www.netxms.org/forum/announcements/netxms-1-2-14-released/msg13923/#msg13923</a>. В понедельник разработчик этой опции будет доступен, расскажет подробнее <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.netxms.org/post/13977</link><guid isPermaLink="true">https://forum.netxms.org/post/13977</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sat, 24 May 2014 17:08:47 GMT</pubDate></item><item><title><![CDATA[Reply to Переменные при создании параметров в  Data Collection on Sat, 24 May 2014 06:14:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/victor" aria-label="Profile: victor">@<bdi>victor</bdi></a> said in <a href="/post/13713">Переменные при создании параметров в  Data Collection</a>:</p>
<blockquote>
<p dir="auto">Тогда ничего сделать нельзя. Я подумаю как можно добавить переменные в запросы в DBQuery.</p>
</blockquote>
<p dir="auto">Подскажите, пожалуйста, есть ли что-то подобное в 1.2.14?</p>
]]></description><link>https://forum.netxms.org/post/13969</link><guid isPermaLink="true">https://forum.netxms.org/post/13969</guid><dc:creator><![CDATA[VSS]]></dc:creator><pubDate>Sat, 24 May 2014 06:14:32 GMT</pubDate></item><item><title><![CDATA[Reply to Переменные при создании параметров в  Data Collection on Fri, 25 Apr 2014 05:44:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/victor" aria-label="Profile: victor">@<bdi>victor</bdi></a> said in <a href="/post/13713">Переменные при создании параметров в  Data Collection</a>:</p>
<blockquote>
<p dir="auto">Тогда ничего сделать нельзя. Я подумаю как можно добавить переменные в запросы в DBQuery.</p>
</blockquote>
<p dir="auto">Спасибо, нам кажется что данная возможность будет востребована!</p>
]]></description><link>https://forum.netxms.org/post/13727</link><guid isPermaLink="true">https://forum.netxms.org/post/13727</guid><dc:creator><![CDATA[VSS]]></dc:creator><pubDate>Fri, 25 Apr 2014 05:44:15 GMT</pubDate></item><item><title><![CDATA[Reply to Переменные при создании параметров в  Data Collection on Thu, 24 Apr 2014 16:06:53 GMT]]></title><description><![CDATA[<p dir="auto">Тогда ничего сделать нельзя. Я подумаю как можно добавить переменные в запросы в DBQuery.</p>
]]></description><link>https://forum.netxms.org/post/13713</link><guid isPermaLink="true">https://forum.netxms.org/post/13713</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 24 Apr 2014 16:06:53 GMT</pubDate></item><item><title><![CDATA[Reply to Переменные при создании параметров в  Data Collection on Tue, 15 Apr 2014 06:41:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/victor" aria-label="Profile: victor">@<bdi>victor</bdi></a> said in <a href="/post/13607">Переменные при создании параметров в  Data Collection</a>:</p>
<blockquote>
<p dir="auto">Пожалуй единственный вариант - это сделать Internal DCI с параметром Dummy и в transformation script вызывать AgentQueryParameter с нужным SQL запросом.</p>
</blockquote>
<p dir="auto">А что если запрос определить в конфигураторе агента? Запрос постоянный, меняться должен только один параметр.</p>
]]></description><link>https://forum.netxms.org/post/13611</link><guid isPermaLink="true">https://forum.netxms.org/post/13611</guid><dc:creator><![CDATA[VSS]]></dc:creator><pubDate>Tue, 15 Apr 2014 06:41:23 GMT</pubDate></item><item><title><![CDATA[Reply to Переменные при создании параметров в  Data Collection on Mon, 14 Apr 2014 06:58:01 GMT]]></title><description><![CDATA[<p dir="auto">Пожалуй единственный вариант - это сделать Internal DCI с параметром Dummy и в transformation script вызывать AgentQueryParameter с нужным SQL запросом.</p>
]]></description><link>https://forum.netxms.org/post/13607</link><guid isPermaLink="true">https://forum.netxms.org/post/13607</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 14 Apr 2014 06:58:01 GMT</pubDate></item><item><title><![CDATA[Reply to Переменные при создании параметров в  Data Collection on Mon, 14 Apr 2014 06:44:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/victor" aria-label="Profile: victor">@<bdi>victor</bdi></a> said in <a href="/post/13587">Переменные при создании параметров в  Data Collection</a>:</p>
<blockquote>
<p dir="auto">А запрос определен в конфиге агента или прямо в DCI?</p>
</blockquote>
<p dir="auto">Прямо в DCI:</p>
<p dir="auto"><img src="http://i58.tinypic.com/2zptbp0.jpg" alt="" class="img-markdown  img-fluid" /></p>
]]></description><link>https://forum.netxms.org/post/13606</link><guid isPermaLink="true">https://forum.netxms.org/post/13606</guid><dc:creator><![CDATA[VSS]]></dc:creator><pubDate>Mon, 14 Apr 2014 06:44:13 GMT</pubDate></item><item><title><![CDATA[Reply to Переменные при создании параметров в  Data Collection on Fri, 11 Apr 2014 15:23:31 GMT]]></title><description><![CDATA[<p dir="auto">А запрос определен в конфиге агента или прямо в DCI?</p>
]]></description><link>https://forum.netxms.org/post/13587</link><guid isPermaLink="true">https://forum.netxms.org/post/13587</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 11 Apr 2014 15:23:31 GMT</pubDate></item></channel></rss>