-
Notifications
You must be signed in to change notification settings - Fork 72
Deployments
Inspeqtor's main use case is monitoring the host machine and the critical services on that host. These critical services can change frequently if, for example, you are a developer deploying functional changes to your application server. In this case, change is normal, expected and "anything goes". Inspeqtor is designed to ignore all rules monitoring during a deploy window and resume monitoring once a deploy is finished.
To tell Inspeqtor a deploy is starting:
inspeqtorctl start deploy
To tell Inspeqtor a deploy is finished:
inspeqtorctl finish deploy
By default, the deploy silence will time out after 5 minutes if you don't send the finish command. You can adjust this timeout length with set deploy_length <seconds>
in inspeqtor.conf.
If you are using Ruby's capistrano gem, you can use the capistrano-inspeqtor gem to hook into your deploys.