lopes / netbox-scanner

A scanner util for NetBox
MIT License
164 stars 39 forks source link

nmap scan not iterating through subnets #32

Open netengp opened 3 years ago

netengp commented 3 years ago

Couldn't find this issue posted in the open or closed issues so hopefully someone can assist me.

Resolved an issue where I was receiving a traceback when attempting to run netbox-scanner.py nmap. (i had to manually make the "logs" directory)

Now when I run the netbox-scanner.py nmap command it returns almost immediately "0 hosts scanned 0 0 0 0 0" I have prefixes defined in the config under [SCAN].

I am able to scan using the nmap command just fine.

Any suggestions or assistance into what i'm doing wrong?

ejaramilla commented 3 years ago

@netengp Make sure that nmap path in the netbox-scanner.conf file is the location of generated XML files, NOT the actual nmap binary.

Had the same issue of "0 hosts scanned 0 0 0 0 0". I misinterpreted what that path meant and originally had /usr/bin.