Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 2.0 #18

Closed
7 tasks done
lopes opened this issue May 26, 2020 · 1 comment
Closed
7 tasks done

Version 2.0 #18

lopes opened this issue May 26, 2020 · 1 comment
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@lopes
Copy link
Owner

lopes commented May 26, 2020

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?

  • Create command line script for the main environment
  • Improve the search for the configuration file
  • Create Nmap module
  • Link Nmap module to main environment
  • Write tests
  • Update documentation
  • Create Cisco Prime module

Suggestions are welcome.

Updates

  • 2020.05.25: added the idea to permit the configuration file to be put on ~ or in /opt/netbox. netbox-scanner will look for this file in the first directory and if it's not there, it'll search on the second directory.
@lopes
Copy link
Owner Author

lopes commented May 28, 2020

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

@lopes lopes closed this as completed May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant