What OS and Ignition version? Any chance you’re running in a Docker container?
Assuming Linux, this thread has some good information about why it might not be working, container or not: Popen with ping doesn't work in a Docker container - #11 by ken.maze