<?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[snmpOID is no longer returning the OID starting with dot]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<pre><code>$node.snmpOID
</code></pre>
<p dir="auto">is no longer returning the OID starting with dot (.) , many scripts will need adjustments in version 5.0.<br />
Is it a bug or implementation change?</p>
]]></description><link>https://forum.netxms.org/topic/7934/snmpoid-is-no-longer-returning-the-oid-starting-with-dot</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:25:56 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7934.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 03 May 2024 23:16:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to snmpOID is no longer returning the OID starting with dot on Fri, 10 May 2024 12:16:00 GMT]]></title><description><![CDATA[<p dir="auto">NXSL functions accept OIDs both with and without the leading dot. Returned values are without the dot. So both of below lines will print "System description: 1.3.6.1.4.1.14988.1"</p>
<p dir="auto">println("System description: " .. $node.createSNMPTransport()?.getValue(".1.3.6.1.2.1.1.2.0") );<br />
println("System description: " .. $node.createSNMPTransport()?.getValue("1.3.6.1.2.1.1.2.0") );</p>
<p dir="auto">?. is safe dereference which appeared in 5.0 - should createSNMPTransport() return null, this will not produce script error.</p>
]]></description><link>https://forum.netxms.org/post/33480</link><guid isPermaLink="true">https://forum.netxms.org/post/33480</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Fri, 10 May 2024 12:16:00 GMT</pubDate></item><item><title><![CDATA[Reply to snmpOID is no longer returning the OID starting with dot on Fri, 10 May 2024 09:12:43 GMT]]></title><description><![CDATA[<p dir="auto">Does this mean, that using OIDs in SNMP-requests as functionparameter also have to be done without leading "."?</p>
<p dir="auto">What is the behavior if result of a SNMP-request is an OID itsself? Is this value returned without leading "."?</p>
]]></description><link>https://forum.netxms.org/post/33475</link><guid isPermaLink="true">https://forum.netxms.org/post/33475</guid><dc:creator><![CDATA[gkaudewitz]]></dc:creator><pubDate>Fri, 10 May 2024 09:12:43 GMT</pubDate></item><item><title><![CDATA[Reply to snmpOID is no longer returning the OID starting with dot on Sun, 05 May 2024 02:27:25 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the answer. It's better</p>
]]></description><link>https://forum.netxms.org/post/33450</link><guid isPermaLink="true">https://forum.netxms.org/post/33450</guid><dc:creator><![CDATA[lhpaladin]]></dc:creator><pubDate>Sun, 05 May 2024 02:27:25 GMT</pubDate></item><item><title><![CDATA[Reply to snmpOID is no longer returning the OID starting with dot on Sat, 04 May 2024 07:07:30 GMT]]></title><description><![CDATA[<p dir="auto">This is intended change. We keep list of breaking changes in the documentation, it's worth checking prior to upgrade:<br />
<a href="https://www.netxms.org/documentation/adminguide/installation.html#major-changes-between-releases" rel="nofollow ugc">https://www.netxms.org/documentation/adminguide/installation.html#major-changes-between-releases</a></p>
]]></description><link>https://forum.netxms.org/post/33448</link><guid isPermaLink="true">https://forum.netxms.org/post/33448</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Sat, 04 May 2024 07:07:30 GMT</pubDate></item></channel></rss>