NetXMS Support Forum

English Support => General Support => Topic started by: nichky on March 11, 2026, 07:08:32 AM

Title: Filtering MikroTik Devices by IP Address Instead of Vendor
Post by: nichky on March 11, 2026, 07:08:32 AM
Hi

I'm currently using the following condition to collect all MikroTik devices:

return $node->vendor == "MikroTik";

Is there any way to perform this per IP address instead?
Title: Re: Filtering MikroTik Devices by IP Address Instead of Vendor
Post by: Alex Kirhenshtein on March 12, 2026, 12:56:14 PM
$node.ipAddr (string)

or $node.ipAddress (instance of InetAddress): https://netxms.org/documentation/nxsl-latest/#class-inetaddress