Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Storm-Donovan

#31
General Support / Re: Topology Maps
June 18, 2021, 10:30:09 PM
Hi Victor,

NetXMS is 3.8.405 and the Mikrotiks are all on 6.46.8.  I've attached the SNMPwalks you requested.  Thanks for your help!
#32
General Support / Topology Maps
June 18, 2021, 01:08:11 AM
Please see the attached topology map, which NetXMS has autogenerated and is incredibly wrong.  I can not for the life of me figure out how to get it correct.

Here are my devices:

Router - Mikrotik 750
House AP - Ubiquiti Unifi AC-Lite
Shop C1 - Mikrotik SXTSq5
Shop C2 - Mikrotik SXTSq5
Show Switch - Mikrotik 750
Shop AP - Ubiquiti Unifi AC-Lite

The house AP is connected to ether4 on the Router, but shows as connecting to ether5.10.
The C1 is correct.
The C2 connects to the C1, but shows as being directly connected to the Router.  It is connected to ether2 on the shop switch.
The Shop AP is connected to ether5 on the shop switch, but shows as being connected to ether2.10.

How do I get these topology maps to show the correct topology with these device types?  This is the first client map I'm creating, out of about 100.  It can't be this hard, can it?
#33
General Support / Re: Script errors, but works?
June 01, 2021, 06:09:05 PM
Thanks, that's got it sorted out now!
#34
General Support / Re: Script errors, but works?
June 01, 2021, 05:52:54 PM
Line 8 is the first line, here's the script currently after the other changes suggested above.

Quote/* Available global variables:
*  $object - current object, one of 'NetObj' subclasses
*  $node - current object if it is 'Node' class
*
* Expected return value:
*  none - returned value is ignored
*/
if (classof($object =="Node") && (($node->snmpSysName != null) && ($node->snmpSysName != "")) && (($node->driver == "MIKROTIK") || ($node->driver ~= "CAMBIUM")))
{
   RenameObject($node, $node->snmpSysName);
}
#35
General Support / Re: Script errors, but works?
June 01, 2021, 04:24:29 PM
I just confirmed that script doesnt work anymore.  It worked 4 weeks ago when I first set it up, but it's not working now.
#36
General Support / Re: Script errors, but works?
June 01, 2021, 04:11:59 PM
The NetXMS server node reports the alarm, but I think it's erroring on every device.  I'm at 2400 alarms since my last message.
#37
General Support / Re: Script errors, but works?
June 01, 2021, 03:00:29 PM
Thanks, but that didn't fix it.  It's erroring on the NetXMS server node.
#38
General Support / Re: Script errors, but works?
June 01, 2021, 12:20:18 AM
No, it's still erroring.  It only errors on the netxms server node.
#39
General Support / Re: Script errors, but works?
June 01, 2021, 12:14:59 AM
Never mind, I figured it out.  It was erroring on a device that was misconfigured to not poll SNMP.
#40
General Support / Script errors, but works?
June 01, 2021, 12:07:11 AM
The following script is erroring, but it's working.  So I'm not sure what's wrong.  I'm not very good at scripting, can anyone help out? Thanks!

Quoteif (($node->snmpSysName != null) && ($node->snmpSysName != "") && (($node->driver == "MIKROTIK") || ($node->driver ~= "CAMBIUM")))
{
   RenameObject($node, $node->snmpSysName);
}

Here's the error:

QuoteScript (Hook::ConfigurationPoll) execution error: Error 14 in line 8: Function or operation argument is not an object