lopes / netbox-scanner

A scanner util for NetBox
MIT License
159 stars 40 forks source link

Version 2.0 #18

Closed lopes closed 4 years ago

lopes commented 4 years ago

After some time using this script, I think the best approach is to create a modular environment where "plugins" can be written to scan other tools such as Nmap outputs, PRTG and NetXMS and sync to NetBox. Since other tools have a more reliable database of IP and descriptions, the idea is to sync that data to NetBox, which will lead to a 2.0 version.

For instance, when using Nmap the configuration file (~/.netbox-scanner.conf) will be read to load the parameters for NetBox and the file containing the scan, thus the sync will start. This means the users will need to run Nmap apart (like using cron and Shell Script) and use the output file as input to netbox-scanner. Command line will be like:

$ netbox-scanner [MODULE]
# where MODULE can be nmap, prime, netxms, prtg, or any other existing module.

This new version will also focus on using the Python Standard Library, to reduce security issues, and to streamline installation. Needless to say this version will be compatible to Python 3.8+, although older versions could be compatible too.

Hope you guys have patience, since I'm trying to do this in my spare time, which is scarce due to other projects, but I'll do my best. The objective of this new version is to create the main environment, along with Nmap e Cisco Prime modules. I'll try to create the PRTG and NetXMS modules too, but don't take it as a promise, okay?

Suggestions are welcome.

Updates

lopes commented 4 years ago

Version 2.0 is alive. New bugs or requests should be based on this version.