[Sensu Go Workshop] Lesson 8: Introduction to Checks
📚💻 The Sensu Go Workshop is an instructor-led training series designed to empower developers, SREs, and DevOps teams begin their monitoring as code journeys. Why do I need an Observability Pipeline? What is Monitoring as Code? All these questions and more are answered in the workshop.
Taking the Workshop will help you to:
✅ Take control of your monitoring and observability data with the Sensu Go observability pipeline
✅ Schedule monitoring jobs across elastic multi-cloud infrastrucutre to execute custom scripts, including Nagios-style plugins
✅ Collect custom application metrics and integrate observability data with external data platforms for unified business intelligence
✅ Send alerts via Slack, Microsoft Teams, Pagerduty, ServiceNow, and more
✅ Fine tune observability data processing workflows and eliminate alert fatigue using Sensu Go filters
✅ Automate multi-cloud endpoint management – discovering new VMs, public cloud compute instances, containers, and more in real-time
✅ Automate remediation (self-healing) with Sensu Go
LESSON EIGHT OVERVIEW
In Lesson 8️⃣, we will learn how to create, configure, and schedule checks, and how to select which hosts to run them on using subscriptions.
This lesson is intended for operators of Sensu and assumes you have set up a local workshop environment.
0:00 - INTRO
00:50 - WHAT ARE CHECKS?
02:20 - SUBSCRIPTIONS AND CHECK SCHEDULING
03:35 - EXERCISE 1: CONFIGURE A CHECK
05:26 - CHECK TEMPLATES
07:01 - EXERCISE 2: MODIFY A CHECK USING TOKENS
10:51 - METRICS COLLECTION AND PROCESSING
12:08 - OUTPUT METRIC TAGS
13:34 - EXERCISE 3: TAGGING AND PROCESSING METRICS USING CHECKS
16:53 - DISCUSSION TIME
19:15 - WHAT'S NEXT
❓If you ever get stuck or have questions, feel free to reach out to us on Discourse: https://discourse.sensu.io/
NEXT STEPS
👀 Stay tuned for Lesson 9, where we will introduce check hooks. You will learn how to use hooks to provide additional context to your check output.
RESOURCES:
📚 [Documentation] Schedule observability data collection: https://docs.sensu.io/sensu-go/latest/observability-pipeline/observe-schedule/
📚 [Documentation] Sensu Checks Reference: https://docs.sensu.io/sensu-go/latest/observability-pipeline/observe-schedule/checks/
📚 [Documentation] Sensu Tokens Reference: https://docs.sensu.io/sensu-go/latest/observability-pipeline/observe-schedule/tokens/
📚 [Documentation] Guide: Monitor server resources with Sensu Checks: https://docs.sensu.io/sensu-go/latest/observability-pipeline/observe-schedule/monitor-server-resources/
📚 [Documentation] Guide: Collect service metrics with Sensu Checks: https://docs.sensu.io/sensu-go/latest/observability-pipeline/observe-schedule/collect-metrics-with-checks/
📚 [Documentation] Guide: Collect Prometheus metrics with Sensu: https://docs.sensu.io/sensu-go/latest/observability-pipeline/observe-schedule/prometheus-metrics/
📚 [Blog Post] Self-service monitoring checks in Sensu Go: https://sensu.io/blog/self-service-monitoring-checks-in-sensu-go
📚 [Blog Post] The story of Nagios plugin support in Sensu (or, why service checks are so amazing): https://sensu.io/blog/the-story-of-nagios-plugin-support-in-sensu
📚 [Blog Post] Check output metric extraction with InfluxDB & Grafana: https://sensu.io/blog/check-output-metric-extraction-with-influxdb-grafana
📚 [Blog Post] How to collect Prometheus metrics and store them anywhere (with Sensu!): https://sensu.io/blog/how-to-collect-prometheus-metrics-and-store-them-anywhere-with-sensu
💻 Lesson 8 on GitHub: https://github.com/sensu/sensu-go-workshop/blob/latest/lessons/operator/08/README.md#readme
📥 Download Sensu: https://sensu.io/downloads
🐦 Follow us on Twitter: https://twitter.com/sensu
💬 Join our Discourse community: https://discourse.sensu.io/