Skip to content

ip scan script for populating IPAM module in Netbox

License

Notifications You must be signed in to change notification settings

nwiecz/Netbox-ipscanner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Netbox-ipscanner

ip scan script for populating IPAM module in Netbox

Requirement

add the following packages to local_requirements.txt file in /opt/netbox

ipcalc
pynetbox
networkscan

Usage

add required modules in netbox environment and then copy the script in netbox script directory (usually /opt/netbox/netbox/scripts/)... you are ready to go :)

What it does exactly?

Reads the prefixes in IPAM module and for each subnet makes a ping scan. Every responding address is added into the ip address IPAM module with DNS resolution. If an address exists in Netbox but is not pingable, it is marked as "Deprecated"; if DNS resolution is changed then it's updated. Subnets marked as "Reserved" are not scanned.

About

ip scan script for populating IPAM module in Netbox

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%