Version 1.7.0 breaks ping for local devices
See original GitHub issueDescribe the bug After updating to version 1.7.0, all my ping monitors for local devices are broken. Prior to v1.7.0 these worked just fine - for example:
Monitor type: Ping Hostname: local IP address - i.e. 192.168.1.21
The above worked just fine before updating to v1.7.0, but now they’re all borked.
To fix, I have to change to:
Monitor type: TCP Port Hostname: local IP address - i.e. 192.168.1.21 Port: 80 (for example, I’m running Pi-Hole on the above local IP address so port 80 is the web UI).
Expected behavior
The pings should work still as nothing has changed. Testing manually via a terminal (i.e. ping 192.168.1.21 -c 10 works as expected. The expected behaviour is that the ping monitor should “just work”.
Info Uptime Kuma Version: 1.7.0 Using Docker?: Yes Docker Version: 20.10.3 build b35e731 OS: Synology DSM Browser: Brave / Chrome
Error Log
"Device name": Failing: ping: socket: Operation not permitted
Issue Analytics
- State:
- Created 2 years ago
- Comments:15 (7 by maintainers)

Top Related StackOverflow Question
Update: @louislam / @nbvcxz - running as root on the latest image resolves the issue, so definitely a permissions issue.
I’m using a compose file with version 3.5, so the parameters are:
Hope this helps!
Fixed in 1.7.1.
Will try to find out how to reproduce the problem.