improved sql
This commit is contained in:
@@ -27,7 +27,7 @@ function check_network_traffic() {
|
||||
restart_service
|
||||
exit 2 # Exit with error status if thresholds are not met
|
||||
else
|
||||
log_info "Network traffic is above thresholds. Avg In: $avg_inbound KB/s, Avg Out: $avg_outbound KB/s."
|
||||
log_info "Network traffic is above thresholds. Avg In: $avg_inbound KB/s, Avg Out: $avg_outbound KB/s. Nothing to do."
|
||||
exit 0 # Exit with success status
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user