I’ve used Sensu years ago when it was a Ruby app. I am discovering Sensu Go now and trying to use it to monitor infrastructure.
The docs seem too low-level. I see how to add exactly one check. I see how to add exactly one Slack alert. I see how to add literally all checks in the sense repo (lol). What I don’t see is how to add a group of similar checks that are each a little different, for a specific purpose.
Here’s an example:
Let’s say I want to monitor 10 endpoints, and send Slack alerts when they become unavailable. A basic HTTP check would suffice. I know the URL for each endpoint. I have a Slack channel for alerts.
What are the command sequences to:
- add the 10 endpoints to the list of checks
- connect the checks to the Slack alert
- subscribe an agent so that it runs these checks