[IMP] maintenance_service_http_monitoring : modify logic to avoid false-positive http alerts #9
Reference in New Issue
Block a user
No description provided.
Delete Branch "update-service-http-monitoring-to-avoid-false-positive"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Instead of sleeping 2 seconds between 2 http calls, we wait for the next cron to turn to confirm that's the service is really down.
Increased timeout for the GET request to 20 seconds.
Store the time when the 1st error occured (in the field
http_first_ko_at).Create a maintenance request if we encounter 2 KOs delayed by 10 minutes minimum.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.