lopes / netbox-scanner

A scanner util for NetBox
MIT License
169 stars 40 forks source link

Project updates for up-to-date usage #41

Open FoxxMD opened 7 months ago

FoxxMD commented 7 months ago

Changes I had to make in order to use netbox-scanner today

mariano-daniel commented 4 months ago

Hello @FoxxMD ! Is it still working for you? I'm trying by all means to get it working. I can generate the XML files but no luck uploading them to Netbox.

FoxxMD commented 4 months ago

Sorry but I'm not using netbox anymore so I can't test this.

I vaguely remember I had problems with the upload/processing step because the program uses a relative path for searching for the xml files -- so where you run ./netbox-scanner.py determines where it looks for the files, I think. It might be that the xml folder needs to be in the same location as netbox-scanner.py or that where you run the program determines the location path, I'm not sure.

mariano-daniel commented 4 months ago

Thanks @FoxxMD ! Is the XML folder the Scans folder?

This is what my directory looks like:

/opt/netbox-scanner/netbox-scanner-master# ls
LICENSE    logs  netbox-scanner.py  nmap-scan.sh      samples  tests
README.md  nbs   networks.txt.bak   requirements.txt  scans
FoxxMD commented 4 months ago

yes i think the scans folder is correct