<?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[SNMPSet]]></title><description><![CDATA[<p dir="auto">GE All,</p>
<p dir="auto">I have a reset OID that i want to send to a node. The node sits behind a server with an agent running on it. All the DCIs are working fine. How would I send SNMPSet OID to the node to reset (or any other Set command)? I've searched this forum and Google. I've tried different Object Tools and Server Scripts and I can get it to work. Any help would be greatly appreciated.</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.netxms.org/topic/5512/snmpset</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 13:20:21 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/5512.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 25 Mar 2018 00:22:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SNMPSet on Sat, 31 Mar 2018 18:02:37 GMT]]></title><description><![CDATA[<p dir="auto">Tursiops,</p>
<p dir="auto">Thanks for the reply! I had a chance to try your script. I followed the instructions to implement the script and I all received was a message that it executed successfully. The camera did not reset and I also tried it on a switch. I double checked the write community string. I'm going to have to double check again and make sure I have everything set up correctly.</p>
<p dir="auto">Thanks!!</p>
]]></description><link>https://forum.netxms.org/post/24084</link><guid isPermaLink="true">https://forum.netxms.org/post/24084</guid><dc:creator><![CDATA[AB3AI]]></dc:creator><pubDate>Sat, 31 Mar 2018 18:02:37 GMT</pubDate></item><item><title><![CDATA[Reply to SNMPSet on Tue, 27 Mar 2018 12:18:12 GMT]]></title><description><![CDATA[<p dir="auto">You can create a script, which can then be called via Object Tools.<br />
For example the following works to reboot Cisco routers:</p>
<pre><code>snmpTransport = CreateSNMPTransport($node);
if ( snmpTransport == null ) return "Unable to connect";
returnValue = SNMPSet(snmpTransport,"1.3.6.1.4.1.9.2.9.9.0","2","INTEGER");
if ( returnValue == null ) return "No response. Something went wrong.";
if ( returnValue == 0 ) return "Unable to initiate reload. No SNMP Write Access?";
if ( returnValue == 1 ) return "Reload triggered.";
</code></pre>
<p dir="auto">In the Object Tools configuration, you create a new Tool of type Server Script and call the script you saved by name. So if the above was called "ReloadCisco" in your Script Library, then that's what you'd call.<br />
You will probably also want to filter the Object Tool to ensure it doesn't show against systems that can't handle it.<br />
And of course you have to have SNMP Set/Writes enabled on the device and have that community configured on the node in NetXMS.</p>
]]></description><link>https://forum.netxms.org/post/24066</link><guid isPermaLink="true">https://forum.netxms.org/post/24066</guid><dc:creator><![CDATA[Tursiops]]></dc:creator><pubDate>Tue, 27 Mar 2018 12:18:12 GMT</pubDate></item></channel></rss>