My company has recently implemented a ping monitoring tool. It is an open source tool and has some memory leaks. I have modified it slightly. I put it on one of my test vps. The download address is 118.184.56.18/ping.zip. The speed may be a bit slow. After you unzip it, add the machine you want to ping in config.json under conf in the directory, and be sure to change the Type to C. If you have many machines, you can consider writing a script to add them to the configuration in batches. But I found that if json is compressed, the program cannot run, and I don't know how to deal with it. This program is for continuous ping monitoring and will also generate a graphical interface on port 8899. If you only want to do a single monitoring, you can adjust the monitoring interval to a longer time, then run and wait to generate the results (sqlite in the db directory adds the records you want) and then kill the program. Then read the database and you can see a series of ping data. However, if you have thousands of machines pinging at the same time, they may consume more resources. Because this program uses the native ping of Linux system
Linux writes shell scripts directly
Windows uses dos scripts
Just write a script for this kind of batch
ansible?
My company has recently implemented a ping monitoring tool. It is an open source tool and has some memory leaks. I have modified it slightly. I put it on one of my test vps. The download address is 118.184.56.18/ping.zip. The speed may be a bit slow. After you unzip it, add the machine you want to ping in config.json under conf in the directory, and be sure to change the Type to C. If you have many machines, you can consider writing a script to add them to the configuration in batches. But I found that if json is compressed, the program cannot run, and I don't know how to deal with it. This program is for continuous ping monitoring and will also generate a graphical interface on port 8899. If you only want to do a single monitoring, you can adjust the monitoring interval to a longer time, then run and wait to generate the results (sqlite in the db directory adds the records you want) and then kill the program. Then read the database and you can see a series of ping data. However, if you have thousands of machines pinging at the same time, they may consume more resources. Because this program uses the native ping of Linux system
python's nmap moudle may help you I think
Hmm. . . Try Smokeping?