NetXMS Support Forum

English Support => General Support => Topic started by: Gray on April 15, 2014, 03:04:11 PM

Title: How to find devices in network.
Post by: Gray on April 15, 2014, 03:04:11 PM
Hello,

I have new network and few nodes added manually.

I want to add rest of them. And its question to mus - how to do that?

I setup Network Discovery Configuration for passive mode, add some SNMP communities strings and run for few hours.
I'm not sure it is works for me - something shod appear in my NetXMS, right?
So my question is how to setup Network Discovery Configuration to find all devices - use active mode or not?

And how about external script? I can wrote IP Address list of devices i had in my network, but how implement it to NetXMS? Probably some scripts will be solution, but I'm green in it.

Sorry for my poor English,
Greetings!
Title: Re: How to find devices in network.
Post by: andrey--k on April 15, 2014, 04:53:21 PM
Firstly - try Active discovery.

There is example script:
http://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations#Create_Container_and_some_nodes

Please share if you can do it more suitable.
Title: Re: How to find devices in network.
Post by: Gray on April 15, 2014, 05:14:24 PM
Hey,

I run Active discovery today few hour ago but didn't see any effects yet.
I don't use filtering in this run and choose two subnets from my network.

I saw this script, but don't have any idea how to implement it - i find way to add it, but how force it to work?

I have idea to do it from other way - inject data to mysql database and try to read them by netxms. But still, only in project.

Thx for help in advance.
Title: Re: How to find devices in network.
Post by: Gray on April 16, 2014, 04:34:02 PM
Hi again,

I have little success - run Network Discovery in passive mode and find some nodes.
But there problems begins.
Founded nodes are in Entire Network label, and I want they to be in Infrastructure Services label.

So question - how to move nodes from one label to another?
Title: Re: How to find devices in network.
Post by: Dani@M3T on April 16, 2014, 06:21:49 PM
you have to 'bind' them to a container in 'Infrastructure Services':
Go to the desired container and select 'bind' from the context menu.
Nodes in 'Infrastructure Services' are always 'links'.
Title: Re: How to find devices in network.
Post by: Gray on April 17, 2014, 02:20:52 PM
Hello,

Thx for advice!
I add some objects manually but have to add a lot more, so i want try scripts.
I read about NXSL:BindObject, but i don't have idea how to use this function in script. More important - i don't know how to run script - can someone give a simple example?

Next, i have some VOIP gates in my subnet, can Network Discovery found this devices and add to my network?

Otherwise, is there any information about new devices founded by Network Discovery? Something like list of devices?

At last. How to visualize new devices i found? I would like to have map of that devices, is there easy way to do it?

Title: Re: How to find devices in network.
Post by: andrey--k on April 17, 2014, 06:22:23 PM
There are my example on new node creation:
Quote from: andrey--k on March 26, 2014, 12:01:47 PM

nxadm -c "exec ScriptName"

See screenshots in attach.