NeDi: Troubleshooting NeDi Discovery and Configuration File Backup
A customer with a NetEye installation to which I had added the NeDi module asked me if I could integrate the saved configuration files of “discovered” network devices with NeDi.
NeDi, for those who are not yet familiar with it, is a Network Discovery tool based on many different network protocols.
The first action NeDi takes is to make sure that a network device is reachable via the network, and can inventory its components using the SNMP protocol.
It will therefore be necessary for network administrators to verify that:
The source IP of the host where NeDi is running is allowed to send commands toward the list of devices under discovery using the SNMP – ICMP – SSH protocols
NeDi will have to be configured for so that it will know:
All IPs of the devices being scanned
SNMP community as configured on board devices
The SSH credentials with which to access the devices being scanned
The scheduled times during which it should scan
The files responsible for configuring NeDi are:
seedlist
nedi.conf
crontab
You can choose whether to configure SNMP community in the seedlist file:
or run the configuration via the nedi.conf file:
where it is also possible to specify the configuration of the copy of the configuration file of devices subject to discovery, see this section:
If needed to fulfill security considerations, a hash can be entered in the pass field. In any case, access to the nedi.conf file is only allowed for the root user.
Having made the appropriate configuration changes, it’s now possible to customize the crontab file:
Here you should make use of the existing examples, or comment them out and instead insert your own desired crontab line:
Once you’ve finished the necessary configurations, you can launch the first scan, for example by using the following commands:
./nedi.pl –a [IP or IP Range]
./ nedi.pl -v -b -u seedlist
Consult the online help in nedi.pl to learn about syntax options, or make use of the graphical interface as shown here:
These Solutions are Engineered by Humans
Did you read this article because you’re knowledgeable about networking? Do you have the skills necessary to manage networks? We’re currently hiring for roles like this as well as other roles here at Würth Phoenix.
Hi all, my name is Davide and I was born in San Donato Milanese. Since I was a boy I've always been intrigued by PCs, and so I took my first steps with my Commodore VIC-20. Before joining Würth Phoenix as an SI consultant, I worked first as a Network Engineer for several ISPs (Internet Service Providers) in the late 90s, then for the first ASP (Application Service Provider) and next as a head of IT Network and Security. My various ITIL and Vendor certifications have allowed me to be able to cooperate at multiple project levels. I like tennis, music, motorcycles and going on nature walks with my family.
Author
Giovanni Davide Saccá
Hi all, my name is Davide and I was born in San Donato Milanese. Since I was a boy I've always been intrigued by PCs, and so I took my first steps with my Commodore VIC-20. Before joining Würth Phoenix as an SI consultant, I worked first as a Network Engineer for several ISPs (Internet Service Providers) in the late 90s, then for the first ASP (Application Service Provider) and next as a head of IT Network and Security. My various ITIL and Vendor certifications have allowed me to be able to cooperate at multiple project levels. I like tennis, music, motorcycles and going on nature walks with my family.
In this article I'll show you how to use information from NeDi to build network maps using draw.io. Getting Data from NeDi NeDi is an open source software tool which discovers, maps and inventories your network devices and tracks connected Read More
Automating the monitoring process in Enterprise environments is a challenge that led Icinga to create features such as their REST API and the Icinga Director module. In both new NetEye4 projects and those being migrated from NetEye3 to NetEye4, this Read More
On the 23rd of this month, the NetEye and EriZone User Group in its German version took place on in the historic tramway depot “St. Peter” in Nuremberg. The event has been hosted by NetEye customer N-ERGIE Aktiengesellschaft. Participants had the Read More
As part of our training program, we will organize the German ADVANCED NetEye Training. Contents The training consists of a three-day main part, which focuses on advanced monitoring concepts, and the deepening of the topics Network Discovery, Network Traffic Monitoring, Read More