Update dsmon.sh
This commit is contained in:
2
dsmon.sh
2
dsmon.sh
@@ -149,7 +149,7 @@ CHECK(){
|
|||||||
if [ "${NTS}" != "*" ]; then
|
if [ "${NTS}" != "*" ]; then
|
||||||
hoststatus=$(cat /tmp/dscheck.${NTS}.results)
|
hoststatus=$(cat /tmp/dscheck.${NTS}.results)
|
||||||
[ "${hoststatus}" != "" ] && echo -e "${hoststatus}"
|
[ "${hoststatus}" != "" ] && echo -e "${hoststatus}"
|
||||||
rm -f /tmp/dscheck.${NTS}.*
|
#rm -f /tmp/dscheck.${NTS}.*
|
||||||
((nc_count++))
|
((nc_count++))
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user