Hello,
You can create a alert/monitor for max_connections variable if you hit a threshold
1) Click on a “Max_allowed” monitor from “Current Connections” group
2) Click on “Customize” –> “View Advanced” and do the changes as mentioned in screenshot (alert_condition.png)
Note: Warning and Critical values you can specify depending on your requirement.