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
1 changed files with 4 additions and 0 deletions

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"