Created
May 25, 2018 14:29
-
-
Save diegolovison/d59f02097fd6f651383a7d606b6a3f38 to your computer and use it in GitHub Desktop.
Monitor probe every X minutes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Usage ./monitor.sh UNICAST3 FD_ALL FD_SOCK VERIFY_SUSPECT | |
while [ true ] | |
do | |
for var in "$@" | |
do | |
current_date_time="`date +%Y%m%d%H%M%S`"; | |
echo " >> $var >> $current_date_time" | |
./probe.sh jmx=$var | |
done | |
sleep 60 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment