I am running the fol loop on the few hosts from /tmp/hosts file and then simply running a command storagegrid-status and the doing grep
/tmp/hosts
storagegrid-status
grep