You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -117,7 +117,7 @@ function check_active_connections() {
if [[ $difference-ge$increase ]];then
write_active_connections
if [ -f"$file" ];then
alarm "[PostgreSQL - $IDENTIFIER] [:red_circle:] Number of Active Connections has passed $((CONN_LIMIT_PERCENT + (increase *10)))% - It is now $used_conn ($used_percentage%)"
alarm "[PGSQL Health - $IDENTIFIER] [:red_circle:] Number of Active Connections has passed $((CONN_LIMIT_PERCENT + (increase *10)))% - It is now $used_conn ($used_percentage%)"