<?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[Set an OID with nxsnmpset.exe with every "Data Collection"]]></title><description><![CDATA[<p dir="auto">Hi<br />
I´ll set an snmp oid with NetXMS after getting a value from SNMP-Agent.<br />
Setting the snmp target works in bash with the following command:</p>
<pre><code>cmd.exe /C "c:/netxms/bin/nxsnmpset.exe -c private -t STRING 10.49.12.81 .1.3.6.1.4.1.3212.7.1.3.4.1.1.1.3.1 "%4""
</code></pre>
<p dir="auto">But how can I autmaticaly execute the command with every collected value?<br />
As attachement there is my Data Collection Item.</p>
<p dir="auto">Sample: I want write every polled value as Integer "Temperatur" in a Value of a snmp target.</p>
<p dir="auto">Lars</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000000754-Data-Collection-item.png" alt="Data-Collection-item.png" class="img-markdown  img-fluid" width="378" height="539" /></p>
]]></description><link>https://forum.netxms.org/topic/1714/set-an-oid-with-nxsnmpset.exe-with-every-data-collection</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 10:21:18 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/1714.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 10 May 2012 11:57:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Set an OID with nxsnmpset.exe with every "Data Collection" on Thu, 10 May 2012 13:09:29 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">It will be possible in 1.2.1. We have added NXSL functions for SNMP (<a href="http://wiki.netxms.org/wiki/NXSL:SNMPSet" rel="nofollow ugc">http://wiki.netxms.org/wiki/NXSL:SNMPSet</a> for example). Then you will be able to put SNMPSet call into DCI's transformation script.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/7387</link><guid isPermaLink="true">https://forum.netxms.org/post/7387</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 10 May 2012 13:09:29 GMT</pubDate></item></channel></rss>