Welcome, Guest. Please login or register.

Author Topic: Feature proposal: node data import  (Read 433 times)

gerold

  • Newbie
  • *
  • Posts: 11
    • View Profile
Feature proposal: node data import
« on: February 12, 2017, 02:21:31 PM »
Hi everybody,

I'd like to propose a generic interface for node data import (e.g. ARP caches) as an addition to regular nedi.pl discovery runs.

This would allow for an easy addition of information from devices which do not support the regular libsnmp and libcli collection
methods. This could be used for prototyping additions to the NeDi libraries as well as a permanent implementation.

A basic implementation would just import a file (say .csv) at the end of each nedi.pl run.
That file would have columns directly corresponding to fields in the nod* tables in NeDi.

Once in place, such an import mechanism could also handle node data which cannot easily be mapped to regular devices in NeDi,
think of SDN infrastructures, or leightweight virtual devices.

It might be necessary to add something like a pseudo device into NeDi in oder to handle this kind of data.

Any comments?

Best regards,

Gerold

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2532
    • View Profile
    • NeDi
Re: Feature proposal: node data import
« Reply #1 on: February 13, 2017, 09:06:32 AM »
Sounds like growing need. Recently a customer created an "ARP-Proxy" which exposes the ARP table of a FW via SNMP...

Your idea could be realised already:
  • Create a file in arpwatch format
  • Set arpwatch in nedi.conf
  • Run nedi.pl -Narpwatch
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

gerold

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Feature proposal: node data import
« Reply #2 on: February 18, 2017, 06:03:24 PM »
Hi Remo,

thanks for the hint, the arpwatch file looks like a good starting point - at least for IPv4.

Is your other customer willing to share any details or code of his SNMP proxy solution?

Best regards,

Gerold

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2532
    • View Profile
    • NeDi
Re: Feature proposal: node data import
« Reply #3 on: February 28, 2017, 10:23:27 AM »
I will ask, but I think it's just reading ARP tables from other devices (using SSH or Web/REST) and presenting the data through SNMP...
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo