Documentation – NeDi find IT (2024)

Documentation – NeDi find IT (1)

Download the admittedly outdatedNeDi Guide

Environment

NeDi unfolds its full potential with CDP, FDP and/or LLDP capable devices in the core of your network. It can also include other network components, but it works best, when those are located at the network perimeter.

Documentation – NeDi find IT (2)
Documentation – NeDi find IT (3)

NeDi needs SNMP read access for all network hardware. Privileged CLI access can be used to get the MAC address table on IOS based switches (faster than vlan indexing and supports port security) or access points (leveraging SNR as ifmetric), but in general SNMP would be sufficient. The configurations are read via CLI as well and stored in the DB or as text files.

Network Devices

NeDi requires unique device names, since this is the primary key. It used to be the serial#, but this led to problems supporting all possible devices. The domain part is usually discarded (unless using nedi.pl -F or mapping to map2BASE in nedi.conf from NeDi 1.9 on), since CDP is not consistent with it on all devices. This could lead to problems with creating the correct device links. NeDi is capable of visualizing your network down to rack level! In order to do that, NeDi needs a certain format in the SNMP location string (separator can be set in nedi.conf with locsep):

Region;City;Building;Floor;[Room;][Rack;][RU;][Height;][Coords]
  • The building or street address can persist of several sub-buildings with a 2nd separator (e.g. _).
  • The height’s only necessary, if the device comes in different sizes (e.g. a VMware ESX server).
  • Coordinates (in the form of 47.800,7.800) are used in Monitoring-Map (instead of managing locations with Loced)

A couple examples:

Switzerland;Zurich;Main Station;5;DC;Rack 17;7
FL;Orlando;42 Pine St_A;54;Closet;Wallrack;1

Cities show their size based on devices:

IconSize# of Devices
Documentation – NeDi find IT (4)small1-9
Documentation – NeDi find IT (5)medium10-49
Documentation – NeDi find IT (6)large50-99
Documentation – NeDi find IT (7)very large100+

Buildings are categorized in a similar fashion:

IconSize# of Devices
Documentation – NeDi find IT (8)small1-4
Documentation – NeDi find IT (9)medium5-9
Documentation – NeDi find IT (10)large10-19
Documentation – NeDi find IT (11)very large20+

Network Nodes (client, server etc.)

The MAC address is used as primary key for the nodes. If you use consistent and properly terminated vlans, you can combine them with the MACs to form a new primary key, which allows the same MAC to occur in different vlans.

Documentation – NeDi find IT (12)

Make sure you edit nedi.conf before starting to discover your network.The configuration should be self explaining.It’s divided into sections which are:

  1. Device Accessdefines credentials and methods how devices should be contacted.

  2. Discoveryallows to map IPs and ports or set borders where it should stop.

  3. Backendsets DB access, but also system settings and integration with other tools

  4. Messaging & Monitoringtake care of polling and notification settings.

  5. Nodes Relatedsettings how nodes should be read from devices and treated afterwards.

  6. GUISettingscontrol menu and appearance.

Many things can be fine-tuned afterwards, but those parameters should be right from the start:

Graphs

Documentation – NeDi find IT (13)

rrdstep defines the discovery interval. Make sure it always matches your crontab schedule. Most importantly are the graphs created with this value. This means if you change this interval, you’d need to delete all RRDs and have NeDi recreate them!

Documentation – NeDi find IT (14)

In order to find a good value, you’ll need some testing. Depending on the device types, discovery settings and the connection, around 20 devices per minute can be discovered (this is just a ballpark figure!). You can create multiple discovery tasks, if you separate and start them manually for now, but this should be automated at a later stage. For a simple setup and a network with around 500 devices an hourly discovery and a resulting rrdstep of 3600 is recommended.

CLI access

login credentials for devices should be set correctly, if you want to use CLI access with nedi (e.g. to backup configs). If the login fails, the cliport of the device is set to 1, preventing further login attempts. This can be reset via Devices-Status.

Use System-Files to edit nedi.conf and the seedlist to define starting points (otherwise NeDi will use the default gw).

Documentation – NeDi find IT (15)

Either use the GUI module System-NeDi or start it directly from the CLI. Make sure you’re doing the latter as the same user as you run the crontab with or RRDs won’t get updated correctly. You’ll probably get the best results, with using the CLI and the -v options to closely follow the discovery. Several options define how your network should be discovered:

  1. -pUse dynamic discovery protocols like CDP or LLDP
  2. -o search arp entries for network equipment vendors matched by ouidev in nedi.conf
  3. -r use route table entries of L3 devices

A run without any options will result in a plain static discovery using the Seedlist or the default gateway, if you haven’t added any seeds there yet.

Seedlists let you add single IPs or ranges like 10.10.1,2,3.5-100. Those ranges are expanded to single hosts. If you precede an entry with ! they’ll be removed from the seedlist (e.g. !10.10.1,2,3.11).

If you don’t want to edit seedlists you can add target(s) with -a:

nedi.pl -a 10.10.10.1-5

Using -A lets you add seeds directly from DB:

nedi.pl -Aall (queues all snmp devices)nedi.pl -A"devos = 'IOS'" (queues all IOS devices)

Similarly -O can be used to queue ARP records matching certain MAC addresses or vendor strings:

nedi.pl -O"oui regexp 'Extreme'" (use ~ with Postgres backend)

It’s also possible to skip certain info, to speed up the discovery. Either use -S (with many arguments) or have a look at skippol(skip-policy) in nedi.conf. For example, if you just want to collect an network device inventory, you’re probably not interested in the connected nodes, graphs, counters and interface status (-Y adds stuff to the inventory table):

nedi.pl -SAFGgadobewituv -Yam

You can specify the seedfile to be used with -u and the config with -U, with that you can run discoveries on different parts of your network in parallel for example.

Test a Device

-t lets you testa particular discovery scenarios(No data will be written upon completion). If you created a complex seedlist, you can test it with -ts. This shouldbe combined with verbose or debugging output, to actually see something:

nedi.pl -vts

Discovery

If you encounter problems, make sure you understand what you’re looking for. Any discovery related problems, such as dynamic discovery protocols, authentication or just properly identifying devices can be debugged with -d and -D:

  1. -v Prints heaps of information such as mac address tables, ARP-tables, interface tables or read configurations.
  2. -dbWill also print out error messages and create *.db (-dv) files to store its state after the discovery. Using-dc also logs CLI access to input.log and output.log. Open 2 more terminals and tail -f to them in order to debug CLI problems.
  3. -D on the other hand should only be used on it’s own. It will not discover your network, but rather use the previously generated *.db files to restore its state. Functions to be debugged can be uncommented at the beginning of the script (This option is intended for developers only).

Now use System-Files or edit the crontab file directly to schedule discovery tasks. You’re ready to start managing your network with NeDi with the GUI.

Documentation – NeDi find IT (2024)
Top Articles
Never Lose Points on Citations Again with Grammarly’s New Student Tools
How to Write In-Text Citations in APA Style
Steve Bannon Issues Warning To Donald Trump
Consignment Shops Milford Ct
Rentals for rent in Maastricht
How To Check Your Rust Inventory Value? 🔫
Pga Scores Cbs
Subfinder Online
Temu Beanies
The Canterville Ghost Showtimes Near Northwoods Cinema 10
Best Laundry Mat Near Me
Redbox Locations Walmart
An Honest Review of Accor Live Limitless (ALL) Loyalty Program
8 Internet Celebrities who fell prey to Leaked Video Scandals
Super Nash Bros Tft
Craigslist Free En Dallas Tx
Craigslist Siloam Springs
Hongkong Doll在线观看
Yoga With Thick Stepmom
Tugboat Information
Estrella Satánica Emoji
Robotization Deviantart
Kristine Leahy Spouse
Gander Mountain Mastercard Login
Weather In Allentown-Bethlehem-Easton Metropolitan Area 10 Days
Spicy Bourbon Pumpkin Pie
Susan Bowers Facebook
Active Parent Aberdeen Ms
Exploring The Craigslist Washington DC Marketplace - A Complete Overview
Ringcentral Background
Amerikaanse dollar bestellen | USD kopen
Pearl City Hall Pearl Ms
Best Places To Eat In Winter Park Fl
Bj's Gas Price Victor Ny
The 10 Craigslist Guys You’ll Live With in DC
Wisconsin Volleyball Team Leaked Pictures And Videos
Adding Performance to Harley Davidson & Motorcycles is Easy with K&N
Information on Fluorinated Waxes – FasterSkier.com
Jason Brewer Leaving Fox 25
Nailery Open Near Me
168 Bus Schedule Pdf 2022
Ap Chem 2022 Frq Scoring Guidelines
Watermelon Cucumber Basil Lemonade - Wine a Little, Cook a Lot
19 BEST Stops on the Drive from Te Anau to Milford Sound +Road Trip Tips!
13364 Nw 42Nd Street
Dtm Urban Dictionary
Firsthealthmychart
Ds Cuts Saugus
Santa Rosa Craigslist Free Stuff
Senna Build Guides :: League of Legends Strategy Builds, Runes, Items, and Abilities :: Patch 14.18
Potassium | History, Uses, Facts, Physical & Chemical Characteristics
Kentucky TikTok: 12 content Bluegrass State creators to know
Latest Posts
Article information

Author: Terrell Hackett

Last Updated:

Views: 6143

Rating: 4.1 / 5 (52 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Terrell Hackett

Birthday: 1992-03-17

Address: Suite 453 459 Gibson Squares, East Adriane, AK 71925-5692

Phone: +21811810803470

Job: Chief Representative

Hobby: Board games, Rock climbing, Ghost hunting, Origami, Kabaddi, Mushroom hunting, Gaming

Introduction: My name is Terrell Hackett, I am a gleaming, brainy, courageous, helpful, healthy, cooperative, graceful person who loves writing and wants to share my knowledge and understanding with you.