For each line in docker ps that beings with storj*, i want to curl the RPC port and if it is reporting OFFLINE, then i want it to give me an alert (Lets just say write it to a file).
That way I could run this on each of the storj machines instead of trying to do some centralized panel.
Any ideas? My bash skills suck.
Thanks in advance!