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
{{ message }}
This repository has been archived by the owner on May 25, 2021. It is now read-only.
We are getting alerts raised by Sensu shortly after deployments that are caused by how we are handling check scripts ans Sensu client's inability to pick up check definition changes quickly enough.
For example:
Deployment 1 defines a check with a script called my-check.sh
Deployment agent creates a Sensu check definition as such:
Previous directory /temp/deployments/1 is deleted by deployment agent
Sensu client takes a long time to pick up this change and results in the check failing due to the fact that /temp/deployments/1/healthchecks/sensu/my-check.sh no longer exists on disk.
Potential solutions:
Deployments should automate the silencing of checks until we know for sure that Sensu client has picked up the latest definitions. How we know that? I am not sure.
Deployment agent can more local check scripts to the deployment location of an application, e.g. /opt/application_name/healthchecks/sensu/my-script.sh. When redeploying, we would end up overwriting the existing script to ensure that the checks currently defined still work.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We are getting alerts raised by Sensu shortly after deployments that are caused by how we are handling check scripts ans Sensu client's inability to pick up check definition changes quickly enough.
For example:
my-check.sh
/temp/deployments/1
is deleted by deployment agent/temp/deployments/1/healthchecks/sensu/my-check.sh
no longer exists on disk.Potential solutions:
/opt/application_name/healthchecks/sensu/my-script.sh
. When redeploying, we would end up overwriting the existing script to ensure that the checks currently defined still work.The text was updated successfully, but these errors were encountered: