I am trying to create a ping monitoring for OpenVPN client devices.
I want to ping all devices, from a IP list.
The .txt
file is looking like this:
client1,10.8.0.2
client2,10.8.0.3
client3,10.8.0.3
.. and so on
I want the bash script to create a .txt file which contains the following:
client1: online
client2: offline
client3: online
and so on.
How is this possible?
Thanks in advance!