Add export route limit monitoring
This commit is contained in:
parent
a7ff6c1529
commit
332c62e5ca
|
@ -120,6 +120,10 @@ case ${STATE} in
|
||||||
printf "CRITICAL: ${SESSION} has hit import route "
|
printf "CRITICAL: ${SESSION} has hit import route "
|
||||||
printf "limit\n"
|
printf "limit\n"
|
||||||
exit 2
|
exit 2
|
||||||
|
elif [ "${ROUTE_HIT_OUT}" != "" ]; then
|
||||||
|
printf "CRITICAL: ${SESSION} has hit export route "
|
||||||
|
printf "limit\n"
|
||||||
|
exit 2
|
||||||
else
|
else
|
||||||
printf "WARNING: ${SESSION} import route limit is "
|
printf "WARNING: ${SESSION} import route limit is "
|
||||||
printf "over thresold\n"
|
printf "over thresold\n"
|
||||||
|
|
Loading…
Reference in a new issue