News:

We really need your input in this questionnaire

Main Menu

Add seed node to map?

Started by mem16421, September 12, 2020, 11:35:24 PM

Previous topic - Next topic

mem16421

Is there a way to add seed nodes to an existing map using NXSL?  Working on dashboards and it would be helpful to have a map as an element that automatically populates with switches that are discovered

Victor Kirhenshtein

Hi,

It's not possible with NXSL. You can do that with nxshell script though.
But why do you need to add every switch as seed node? If they are connected to some central switch and NetXMS knows the topology they should appear on map anyway.

Best regards,
Victor

mem16421

I didn't mean that I needed to add them all.  I do notice that on ring networks, it won't draw a ring unless there are two seed nodes.  So if I have an existing map, I could have a DCI that runs an nxshell script as an external parameter to add the seed node?

Victor Kirhenshtein

I would rather execute such nxshell script as an action for SYS_NODE_ADDED events - that way it will run only once when switch is added, because normally you don't need it to run on schedule.

Best regards,
Victor