Add export route limit monitoring

This commit is contained in:
Alarig Le Lay 2018-08-29 15:54:42 +02:00
parent a7ff6c1529
commit 332c62e5ca

View file

@ -120,6 +120,10 @@ case ${STATE} in
printf "CRITICAL: ${SESSION} has hit import route "
printf "limit\n"
exit 2
elif [ "${ROUTE_HIT_OUT}" != "" ]; then
printf "CRITICAL: ${SESSION} has hit export route "
printf "limit\n"
exit 2
else
printf "WARNING: ${SESSION} import route limit is "
printf "over thresold\n"