Log de errores del test-ping
This commit is contained in:
parent
ad1eb12b57
commit
cfa733c48b
2 changed files with 6 additions and 0 deletions
|
@ -41,6 +41,9 @@ while [[ 1 ]] ; do
|
|||
done
|
||||
if [[ -n $FAILED ]] ; then
|
||||
echo "vLAN $RED$VLAN$OFF failed: $FAILED "
|
||||
date >> $OUTPUT_DIR/ping.error.log
|
||||
echo "vLAN $VLAN failed: $FAILED " \
|
||||
>> $OUTPUT_DIR/ping.error.log
|
||||
if [[ -n $OK_LST ]] ; then
|
||||
echo "vLAN $GRN$VLAN$OFF Ok: $OK_LST"
|
||||
fi
|
||||
|
|
|
@ -41,6 +41,9 @@ while [[ 1 ]] ; do
|
|||
done
|
||||
if [[ -n $FAILED ]] ; then
|
||||
echo "vLAN $RED$VLAN$OFF failed: $FAILED "
|
||||
date >> $OUTPUT_DIR/ping.error.log
|
||||
echo "vLAN $VLAN failed: $FAILED " \
|
||||
>> $OUTPUT_DIR/ping.error.log
|
||||
if [[ -n $OK_LST ]] ; then
|
||||
echo "vLAN $GRN$VLAN$OFF Ok: $OK_LST"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue