diff --git a/roles/tsg-cli-mcn0/files/tsg-monitor.sh b/roles/tsg-cli-mcn0/files/tsg-monitor.sh index c474424..8bc13c5 100644 --- a/roles/tsg-cli-mcn0/files/tsg-monitor.sh +++ b/roles/tsg-cli-mcn0/files/tsg-monitor.sh @@ -17,6 +17,8 @@ killall_uncompleted_cmd(){ killall -9 -q tsg_monit_protocol_v4 #killall -9 -q tsg_monit_stream_v3 killall -9 -q tsg_monit_stream_v4 + + rm -rf /tmp/_MEI* } start_background_cmd(){ @@ -80,7 +82,7 @@ while [ 1 ]; do #echo tsg-monitor start at `date +"%Y/%m/%d, %H:%M:%S.%N"` >> /tmp/tsg-monitor.log start_background_cmd - sleep 10 + sleep 13 killall_uncompleted_cmd sleep_for_time_ms $start_time 15000 diff --git a/roles/tsg-cli-mcn1/files/tsg-monitor.sh b/roles/tsg-cli-mcn1/files/tsg-monitor.sh index 21fa970..72c2c83 100644 --- a/roles/tsg-cli-mcn1/files/tsg-monitor.sh +++ b/roles/tsg-cli-mcn1/files/tsg-monitor.sh @@ -11,6 +11,8 @@ killall_uncompleted_cmd(){ killall -9 -q tsg_update_tags killall -9 -q tsg_monit_interface killall -9 -q tsg_monit_intercept + + rm -rf /tmp/_MEI* } start_background_cmd(){ @@ -68,7 +70,7 @@ while [ 1 ]; do #echo tsg-monitor start at `date +"%Y/%m/%d, %H:%M:%S.%N"` >> /tmp/tsg-monitor.log start_background_cmd - sleep 10 + sleep 13 killall_uncompleted_cmd sleep_for_time_ms $start_time 15000 diff --git a/roles/tsg-cli-mcn2/files/tsg-monitor.sh b/roles/tsg-cli-mcn2/files/tsg-monitor.sh index e702f0d..618f15a 100644 --- a/roles/tsg-cli-mcn2/files/tsg-monitor.sh +++ b/roles/tsg-cli-mcn2/files/tsg-monitor.sh @@ -11,6 +11,8 @@ killall_uncompleted_cmd(){ killall -9 -q tsg_update_tags killall -9 -q tsg_monit_interface killall -9 -q tsg_monit_intercept + + rm -rf /tmp/_MEI* } start_background_cmd(){ @@ -68,7 +70,7 @@ while [ 1 ]; do #echo tsg-monitor start at `date +"%Y/%m/%d, %H:%M:%S.%N"` >> /tmp/tsg-monitor.log start_background_cmd - sleep 10 + sleep 13 killall_uncompleted_cmd sleep_for_time_ms $start_time 15000 diff --git a/roles/tsg-cli-mcn3/files/tsg-monitor.sh b/roles/tsg-cli-mcn3/files/tsg-monitor.sh index 175be7b..e1a1917 100644 --- a/roles/tsg-cli-mcn3/files/tsg-monitor.sh +++ b/roles/tsg-cli-mcn3/files/tsg-monitor.sh @@ -11,6 +11,8 @@ killall_uncompleted_cmd(){ killall -9 -q tsg_update_tags killall -9 -q tsg_monit_interface killall -9 -q tsg_monit_intercept + + rm -rf /tmp/_MEI* } start_background_cmd(){ @@ -68,7 +70,7 @@ while [ 1 ]; do #echo tsg-monitor start at `date +"%Y/%m/%d, %H:%M:%S.%N"` >> /tmp/tsg-monitor.log start_background_cmd - sleep 10 + sleep 13 killall_uncompleted_cmd sleep_for_time_ms $start_time 15000 diff --git a/roles/tsg-cli-mxn/files/tsg-monitor.sh b/roles/tsg-cli-mxn/files/tsg-monitor.sh index 3943447..2e8e2c4 100644 --- a/roles/tsg-cli-mxn/files/tsg-monitor.sh +++ b/roles/tsg-cli-mxn/files/tsg-monitor.sh @@ -9,6 +9,8 @@ killall_uncompleted_cmd(){ killall -9 -q tsg_cluster_register #killall -9 -q tsg_diagnose_background killall -9 -q tsg_update_tags + + rm -rf /tmp/_MEI* } start_background_cmd(){ @@ -68,7 +70,7 @@ while [ 1 ]; do #echo tsg-monitor start at `date +"%Y/%m/%d, %H:%M:%S.%N"` >> /tmp/tsg-monitor.log start_background_cmd - sleep 10 + sleep 13 killall_uncompleted_cmd sleep_for_time_ms $start_time 15000