<?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[GPS Directly from SNMP?]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">We have a bunch of Airfiber 24's which have GPS receivers. They report GPS based on SNMP (one for Lat, one for Long), and I'd love to directly plug that into the geolocation attribute. Is there any way to do this? If not, I'll just use NXshell to take the data and plug it directly.</p>
<p dir="auto">Thanks,<br />
Zach</p>
]]></description><link>https://forum.netxms.org/topic/4631/gps-directly-from-snmp</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 11:12:31 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/4631.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 08 Aug 2016 15:43:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to GPS Directly from SNMP? on Tue, 20 Nov 2018 19:42:10 GMT]]></title><description><![CDATA[<p dir="auto">I've found a scripting example here:</p>
<p dir="auto"><a href="https://wiki.netxms.org/wiki/Script_Example:_Setting_node_geolocation_from_SNMP" rel="nofollow ugc">https://wiki.netxms.org/wiki/Script_Example:_Setting_node_geolocation_from_SNMP</a></p>
<p dir="auto">It reads</p>
<p dir="auto"><em>Adjust the OIDs in SNMPGetValue as required.</em></p>
<pre><code>transport = CreateSNMPTransport($node);
if (transport == null) {
  return null;
}

lat = SNMPGetValue(transport, &quot;.1.2.3.4.1&quot;);
long = SNMPGetValue(transport, &quot;.1.2.3.4.2&quot;);

if (lat == null || long == null) {
  return null;
}

geoLoc = GeoLocation(lat, long);
$node-&gt;setGeoLocation(geoLoc);

return 0;
</code></pre>
]]></description><link>https://forum.netxms.org/post/25045</link><guid isPermaLink="true">https://forum.netxms.org/post/25045</guid><dc:creator><![CDATA[meshnet]]></dc:creator><pubDate>Tue, 20 Nov 2018 19:42:10 GMT</pubDate></item><item><title><![CDATA[Reply to GPS Directly from SNMP? on Mon, 15 Aug 2016 18:19:08 GMT]]></title><description><![CDATA[<p dir="auto">Thanks so much for all your replies! Super helpful, and I appreciate it.</p>
<p dir="auto">Thanks,<br />
Zach</p>
]]></description><link>https://forum.netxms.org/post/20642</link><guid isPermaLink="true">https://forum.netxms.org/post/20642</guid><dc:creator><![CDATA[zshnet]]></dc:creator><pubDate>Mon, 15 Aug 2016 18:19:08 GMT</pubDate></item><item><title><![CDATA[Reply to GPS Directly from SNMP? on Mon, 08 Aug 2016 19:16:01 GMT]]></title><description><![CDATA[<p dir="auto"><a href="http://git.netxms.org/public/netxms.git?js=1" rel="nofollow ugc">http://git.netxms.org/public/netxms.git?js=1</a><br />
Development happens in the "develop" branch.</p>
<p dir="auto">You can find good guides on how to get the client running in Eclipse here on the forums and on the wiki.<br />
Example: <a href="https://www.netxms.org/forum/windows/compilation-of-a-netxms-console-in-eclipse/" rel="nofollow ugc">https://www.netxms.org/forum/windows/compilation-of-a-netxms-console-in-eclipse/</a></p>
]]></description><link>https://forum.netxms.org/post/20577</link><guid isPermaLink="true">https://forum.netxms.org/post/20577</guid><dc:creator><![CDATA[tomaskir]]></dc:creator><pubDate>Mon, 08 Aug 2016 19:16:01 GMT</pubDate></item><item><title><![CDATA[Reply to GPS Directly from SNMP? on Mon, 08 Aug 2016 19:02:14 GMT]]></title><description><![CDATA[<p dir="auto">Huh. Is there an easy way to find where the world map code exists? I'd be interested in taking a look at what it does, but I'm unfamiliar with the NetXMS code structure. Would I find that in the bug tracker?</p>
<p dir="auto">Thanks,<br />
Zach</p>
]]></description><link>https://forum.netxms.org/post/20576</link><guid isPermaLink="true">https://forum.netxms.org/post/20576</guid><dc:creator><![CDATA[zshnet]]></dc:creator><pubDate>Mon, 08 Aug 2016 19:02:14 GMT</pubDate></item><item><title><![CDATA[Reply to GPS Directly from SNMP? on Mon, 08 Aug 2016 16:57:20 GMT]]></title><description><![CDATA[<p dir="auto">No, world map is geolocation only for now.</p>
<p dir="auto">There are multiple requests on the forums and in bug-tracer to allow topology and links etc. to diplay on the world map.<br />
As far as I know, Victor said its planed, but I dont think any time soon.</p>
]]></description><link>https://forum.netxms.org/post/20575</link><guid isPermaLink="true">https://forum.netxms.org/post/20575</guid><dc:creator><![CDATA[tomaskir]]></dc:creator><pubDate>Mon, 08 Aug 2016 16:57:20 GMT</pubDate></item><item><title><![CDATA[Reply to GPS Directly from SNMP? on Mon, 08 Aug 2016 16:36:06 GMT]]></title><description><![CDATA[<p dir="auto">Cool! I'll see whether my team thinks that's a good architecture choice. Don't want code in too many places, but I do like NXSL.</p>
<p dir="auto">On a side-note: Do you know if links are possible on the World Map? Or is it just icons?</p>
<p dir="auto">Thanks,<br />
Zach</p>
]]></description><link>https://forum.netxms.org/post/20574</link><guid isPermaLink="true">https://forum.netxms.org/post/20574</guid><dc:creator><![CDATA[zshnet]]></dc:creator><pubDate>Mon, 08 Aug 2016 16:36:06 GMT</pubDate></item><item><title><![CDATA[Reply to GPS Directly from SNMP? on Mon, 08 Aug 2016 15:59:32 GMT]]></title><description><![CDATA[<p dir="auto">You can write a NXSL script which will read the GPS loc and assign it to the node.<br />
I can then be for example a Hook::ConfigurationPoll, or similiar.</p>
<p dir="auto">Check out the setGeoLocation method of the NXSL "Node" object:<br />
<a href="https://wiki.netxms.org/wiki/NXSL:Node" rel="nofollow ugc">https://wiki.netxms.org/wiki/NXSL:Node</a></p>
<p dir="auto">Or, like you mentioned, you can do it with nxshell.</p>
]]></description><link>https://forum.netxms.org/post/20573</link><guid isPermaLink="true">https://forum.netxms.org/post/20573</guid><dc:creator><![CDATA[tomaskir]]></dc:creator><pubDate>Mon, 08 Aug 2016 15:59:32 GMT</pubDate></item></channel></rss>