NetXMS Support Forum

English Support => Feature Requests => Topic started by: Lanpingner on March 17, 2019, 08:42:18 PM

Title: Automatic binding to a container
Post by: Lanpingner on March 17, 2019, 08:42:18 PM
Hi everyone

I want to create an automatic binding to a container

This is how my object tree look like

--Entire Network

--Infrastructure Services
      --MainServer
      --others
      --routers
   

What i want to do is to bind all of the nodes to the (others container) from the Entire Network but its really importent to me that do not bind those nodes which are inside the (MainServer and routers) containers.
Thanks for any kind of help
Title: Re: Automatic binding to a container
Post by: Victor Kirhenshtein on March 20, 2019, 08:08:43 PM
Hi,

in the autobind script you can access node's parents and check if any of them are MainServer or routers. There should be examples of enumerating parent objects on forum or wiki.

Best regards,
Victor