Skip to content

Commit

Permalink
try to avoid alert flaps.. (#486)
Browse files Browse the repository at this point in the history
* try to avoid alert flaps when superisor auto restart process

* level review

* STOPPED status is 0 not 10

* use threshod major instead

* use threshod major instead

---------

Co-authored-by: Jean-Baptiste Simillon <haedri@gmail.com>
Co-authored-by: Jean-Baptiste Simillon <jb.simillon@fr.clara.net>
  • Loading branch information
3 people authored Nov 28, 2023
1 parent 5401231 commit d5075e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/smart-agent_supervisor/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,6 @@ variable "process_state_threshold_critical" {
variable "process_state_threshold_major" {
description = "Major threshold for process state detector (default to be less then 20 (process has been stopped manually or is starting), see http://supervisord.org/subprocess.html#process-states "
type = number
default = 20
default = 10
}

0 comments on commit d5075e6

Please sign in to comment.