How to specify a netmask for node?
-
Hello,
I'm a total newbie (migrating from dude). I am trying to (batch) add new nodes, however when I create a new node to NetXMS (under "Infrastructure Services"), I'm always getting /24 subnet under "Entire Network".
I am adding it with everything disabled (NXCObjectCreationData.CF_DISABLE_ICMP | NXCObjectCreationData.CF_DISABLE_NXCP | NXCObjectCreationData.CF_DISABLE_SNMP | NXCObjectCreationData.CF_CREATE_UNMANAGED).
Could you please help me how to fix it? I am not interesting in autodiscovery in this movement, the goal is to migrate "by hand" about 2k of nodes.
Thank you.
Jan -
An object in NetXMS always has to have at least one interface, where its Primary IP will reside.
If an object has all information sources disabled (nxagent and snmp), the object is created with a synthetic interface to hold its IP.Next up, when an interface is created, NetXMS looks to place it in a subnet.
NetXMS will look for a matching subnet to place the IP in.If a subnet doesn't yet exist, a new one will be created - specifically a /24 in this case, since the synthetic interface has a default /24 mask.
You can influence this by changing the server configuration parameter DefaultSubnetMaskIPv4 (or DefaultSubnetMaskIPv6).
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login