Network IP Scan in Script fails #19325
-
I tried to run the script from https://github.com/bbird81/Netbox-ipscanner/blob/master/netbox_ipscanner.py in my netbox. When I run the networkscan.py script as root it gives me back the correct IP's on the subnet. So it's not an issue of installed software. When I try to run the script as root in the CLI I get the What am I missing? Is it a rights issue? As I only need the IP-Ping functionality, I don't need any suggestions for Slurp'it or Diode. Thanks :-) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I could solve this: You need to add the line to the file /etc/sysctl.d/99-sysctl.conf to allow non-privileged users to make pings. |
Beta Was this translation helpful? Give feedback.
I could solve this:
You need to add the line
net.ipv4.ping_group_range = 0 1000
to the file /etc/sysctl.d/99-sysctl.conf to allow non-privileged users to make pings.