bbird81 / Netbox-ipscanner

ip scan script for populating IPAM module in Netbox
MIT License
24 stars 9 forks source link

Recommend prefix selection feature to scan #7

Open congto opened 1 year ago

congto commented 1 year ago

Hi @bbird81

I tried your script and it works fine.

However, in our environment there are a lot of IPs. If every time the script runs, they will scan all prefixes.

For more convenience, I think it is advisable to allow the user to choose one or more prefixes to scan. This will save time and do not need to repeat the scan if the user wants to.

I tried editing your script to work for me, however I think you can make it even better.

image

Thank you

rrob666 commented 1 year ago

@congto How did you manage to add prefix field to choose from? Because I'm stuck with the same problem where i have a lot if IPs, and i would like to scan only preselected prefixes.

lasag-2511 commented 1 year ago

Hi does scan of Ips work ? can you please suggest ?

bbird81 commented 1 year ago

Hi @bbird81

I tried your script and it works fine.

However, in our environment there are a lot of IPs. If every time the script runs, they will scan all prefixes.

For more convenience, I think it is advisable to allow the user to choose one or more prefixes to scan. This will save time and do not need to repeat the scan if the user wants to.

I tried editing your script to work for me, however I think you can make it even better.

image

Thank you

Hi congto, good idea, if you wish to share here what you have already done or by doing a fork, you're more than welcome :)

Also, a fork of this has been done to ping scan only network with certain tags, check out this: https://github.com/bbird81/Netbox-ipscanner/issues/1

bbird81 commented 1 year ago

Hi does scan of Ips work ? can you please suggest ?

Yes it does work, many people (and myself) use it successfully.