Running a script like the one at:
https://wiki.netxms.org/index.php?title=Script_Example:_Setting_node_geolocation_from_SNMP&mobileaction=toggle_view_desktop
Gives an error on the GeoLocation line with function not found. We are running 2.2.10. How do we correct this?
Victor any ideas how to correct this? The line of code is pretty much the one in the page referred to. Thanks!
Hi,
replace code like
geoLoc = GeoLocation(lat, long);
with
geoLoc = new GeoLocation(lat, long);
I'll update script example as well.
Best regards,
Victor
That was the fix, thanks!