NeDi: Troubleshooting NeDi Discovery and Configuration File Backup (2024)

13. 06. 2022 Giovanni Davide Saccá NetEye, Unified Monitoring

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:

NeDi: Troubleshooting NeDi Discovery and Configuration File Backup (1)
NeDi: Troubleshooting NeDi Discovery and Configuration File Backup (2)
NeDi: Troubleshooting NeDi Discovery and Configuration File Backup (3)

or run the configuration via the nedi.conf file:

NeDi: Troubleshooting NeDi Discovery and Configuration File Backup (4)
NeDi: Troubleshooting NeDi Discovery and Configuration File Backup (5)

where it is also possible to specify the configuration of the copy of the configuration file of devices subject to discovery, see this section:

NeDi: Troubleshooting NeDi Discovery and Configuration File Backup (6)

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:

NeDi: Troubleshooting NeDi Discovery and Configuration File Backup (7)

Here you should make use of the existing examples, or comment them out and instead insert your own desired crontab line:

NeDi: Troubleshooting NeDi Discovery and Configuration File Backup (8)

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:

NeDi: Troubleshooting NeDi Discovery and Configuration File Backup (9)

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.

NeDi: Troubleshooting NeDi Discovery and Configuration File Backup (10)

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.

Author

NeDi: Troubleshooting NeDi Discovery and Configuration File Backup (11)
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.

Latest posts by Giovanni Davide Saccá

16. 02. 2023 Unified Monitoring

NagVis Module: How to Create a Regular Map

15. 02. 2023 Unified Monitoring

NetEye GeoMap Module

15. 02. 2023 Unified Monitoring

Ntopng and Behavior Analysis

15. 02. 2023 NetEye, Unified Monitoring

Grafana: InfluxDB Query to Extract More Than a Single Metric in a Single Panel

15. 06. 2022 Unified Monitoring

Into the Flows: Collecting Data with nProbe and nTop

See All

Related Content

Tags: NeDi, Network Discovery

31. 12. 2021

Unified Monitoring

Network Maps with NeDi and draw.io

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

27. 06. 2019

Business Service Monitoring, NetEye

Network Performance Monitoring Automation with NetEye 4

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

28. 03. 2017

Anomaly Detection, Events, NetEye, Service Management

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 customerN-ERGIE Aktiengesellschaft. Participants had the Read More

27. 02. 2017

Anomaly Detection, Events, NetEye, Service Management

VAG Museum St. Peter © Archiv Freunde der Nürnberg-Fürther Straßenbahn e.V. The future holds major challenges, which are going far beyond standard monitoring. Internet of Things, E2E Monitoring, SIEM, Network Discovery and Anomaly Detection are keywords that are gaining increasing Read More

23. 08. 2016

NetEye

German Advanced NetEye Training

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

Leave a Reply

NeDi: Troubleshooting NeDi Discovery and Configuration File Backup (2024)

References

Top Articles
Latest Posts
Article information

Author: Nicola Considine CPA

Last Updated:

Views: 6072

Rating: 4.9 / 5 (69 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Nicola Considine CPA

Birthday: 1993-02-26

Address: 3809 Clinton Inlet, East Aleisha, UT 46318-2392

Phone: +2681424145499

Job: Government Technician

Hobby: Calligraphy, Lego building, Worldbuilding, Shooting, Bird watching, Shopping, Cooking

Introduction: My name is Nicola Considine CPA, I am a determined, witty, powerful, brainy, open, smiling, proud person who loves writing and wants to share my knowledge and understanding with you.