summaryrefslogtreecommitdiffstats
path: root/abs/core/xymon/login_notify.sh
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/xymon/login_notify.sh')
-rw-r--r--abs/core/xymon/login_notify.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/abs/core/xymon/login_notify.sh b/abs/core/xymon/login_notify.sh
index 8c17342..be81fea 100644
--- a/abs/core/xymon/login_notify.sh
+++ b/abs/core/xymon/login_notify.sh
@@ -57,8 +57,8 @@ else
echo "HOST: $BBHOSTNAME" >> $NOTICE_DIR/$BBHOSTSVC
echo "ACKCODE: $ACKCODE" >> $NOTICE_DIR/$BBHOSTSVC
echo "COLOR: $BBCOLORLEVEL" >> $NOTICE_DIR/$BBHOSTSVC
- echo "MSG $BBALPHAMSG" >> $NOTICE_DIR/$BBHOSTSVC
+ echo "MSG $BBALPHAMSG" >> $NOTICE_DIR/$BBHOSTSVC
fi
-
-
+#remove old alerts that didn't recover
+find $NOTICE_DIR -mmin +4 -type f -exec rm -f {} \;