-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nothing is imported into netbox #40
Comments
We tried the same. Apparently this does not work anymore even for a year the users had the same issues. Basically inmap identifes the hosts but cannot connect to netbox in any way. |
shame.. had promise |
yes , the proble seems at the connection to netbox, there we get a bad request so i guess the api has changed or something. |
i can run the sudo ./nmap-scan.sh script.. runs.. finds what it should.. comes back with a file.. but of course it doesnt do anything |
you should use python3 netbox-scanner.py nmap , but that command is already inside nmap-scan.sh script. |
so run |
if i run python3 netbox-scanner.py nmap what it comes back with is just |
ok, when you run the nmap-scan.sh it creates the xml files, it calls the netbox-scanner.py and it archives the files at the end. When you run only the netbox-scanner , there are no xml files as input for it. so you must comment out the last 2 lines in nmap-scanner so the xml remain in place. After you can call netbox-scanner as oftne as you want as it gets the files |
got it.. but.. what do i do with the XML files and how do i get it to import them into the netbox system? |
got it! |
@MROSSFTEK : I'm stuck at the same place as you, but despite moving the scans dir and modifying the .sh to move xml files there, still not getting any luck. Care to share your setup? |
Can you tell me how you got them to show up on the netbox UI? |
@MROSSFTEK - How are you importing the results into Netbox? I have the scans folder in /opt/netbox with the tar.gz files, but am not seeing how to import these into Netbox. It goes without saying, I'm a n00b! |
im running python3 netbox-scanner.py nmap
its saying started 0 hosts.. the samples i ran and it went out and did nmap discovery , created the xml file and everything.
am i literally doing it wrong?
The text was updated successfully, but these errors were encountered: