Skip to content

axxyhtrx/netbox-rollcall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

git clone https://github.com/axxyhtrx/netbox-rollcall.git
cd netbox-rollcall

Pre-requirements

  • Create config.yaml file in a root of the project. Configure IP address/FQDN (netboxhost) of Netbox instance and API key(netboxapitoken).

  • Create VRFs in a Netbox, and use the same names in a config file with same names.

  • Configure scanthreads value for NMAP, to limit/increase threading for Nmap scanner.

netbox:
  netboxhost: '10.80.37.00'
  netboxapitoken: '12014TOKENTOKENff4c'

targets:
  - vrf: ANTWERP
    subnets:
      - 192.168.1.1/32
      - 20.3.4.0/24
  - vrf: MOSCOW
    subnets:
      - 192.168.2.1/32
      - 21.3.4.0/24


scanthreads: 20
  • Create tag with the name Scanned in a Netbox.

  • NMAP should be installed.

Usage

go run main.go scan

or compile with go build main.go and use as:

netbox-rollcall scan

Contributing

PRs are welcome!

About

Network scanner for Netbox IPAM with VRF support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages