Skip to content

Working on Netbox onboarding type stuff cause official support no longer exist

License

Notifications You must be signed in to change notification settings

Dawnzac/Netbox-Network-Autodiscovery

Repository files navigation

Netbox-Network-Autodiscovery

(Undergoing Development)

IP address Autodiscovery and onboarding for Netbox IPAM.

Current functionality only includes running subnet scan and processing output XML files from Nmap into a CSV file.
Upload the CSV file to your netbox instance.
(DW: Updates are on the way)

$ cd netbox-network-autodiscovery
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt

Configure :

network.txt

Includes platform/version Identification. (Note: Nmap done on Windows will only return hostnames of devices running the same platform(i.e windows))

Requirements:

  • Python
  • Nmap
  • NumPy
How to Run :
  • run nmap-scan.sh (on Linux)
  • run nmap-scan.bat (on Windows)
    • Then copy the XML files into the main folder in Linux
    • run python3 netbox-scanner.py nmap in Linux

(Currently there appear to be some issues with Python code interaction in Windows so, get scan files from Windows and execute it on Linux)

Quick Tip! : If you want to transfer files to another system running Linux, try copy via SCP

scp -r /path/to/source user@ip:path/to/destination
remove -r if copying a single file

(Note: Make sure that you are running it inside the same folder/path)

(If there are any issues with installation or working. Install netbox-scanner from the below repo and copy and replace these "init.py , nmap-scan.sh and nmap.py" files to main installation)

Frankensteined from https://github.com/lopes/netbox-scanner/ Thanks @lopes :)

About

Working on Netbox onboarding type stuff cause official support no longer exist

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published