[Sensu Go Workshop] Lesson 3: Using the Sensu CLI

[Sensu Go Workshop] Lesson 3: Using the Sensu CLI

Oct 25, 2022

💻 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 THREE OVERVIEW

In Lesson 3️⃣, we will introduce the `sensuctl` command-line tool. You will learn how to install and configure the tool, then practice performing some essential operations.

This lesson is intended for operators of Sensu and assumes you have set up a local workshop environment.

0:00 - INTRO

00:40 - WHAT IS SENSUCTL?

01:07 - INSTALL THE SENSUCTL CLI

03:28 - CONFIGURE THE SENSUCTL CLI

06:10 - API KEYS

09:05 - LIST SENSU RESOURCES

10:16 - INVENTORY MANAGEMENT

12:56 - MONITORING AS CODE

16:49 - DISCUSSION TIME

18:15 - WHAT'S NEXT

18:56 - BLOOPERS

❓If you ever get stuck or have questions, feel free to reach out to us on Discourse: https://discourse.sensu.io/

NEXT STEPS

👀 Check out Lesson 4, where we will introduce Sensu Handlers, and show how to configure an alert handler and a metrics handler: https://youtu.be/xbtSNNJHTb4

RESOURCES:

📚[Documentation] "Sensu CLI" (docs.sensu.io)
📚[Documentation] "Create and manage resources with sensuctl" (docs.sensu.io)
📚[Documentation] "Backup and recover resources with sensuctl" (docs.sensu.io)
📚[Documentation] "Filter responses with sensuctl" (docs.sensu.io)
📚[Documentation] "Set environment variables with sensuctl" (docs.sensu.io)
📚[Blog Post] "A Primer on Sensu Dashboards" (sensu.io)

💻 Lesson 3 on GitHub: https://github.com/sensu/sensu-go-workshop/blob/latest/lessons/operator/01/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/