diff --git a/scripts/stat-ping b/scripts/stat-ping index 51de854..3d58638 100755 --- a/scripts/stat-ping +++ b/scripts/stat-ping @@ -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 diff --git a/scripts/stat-ping110 b/scripts/stat-ping110 index 321acab..94e51df 100755 --- a/scripts/stat-ping110 +++ b/scripts/stat-ping110 @@ -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