Sensu logo

Sensu Go Monitoring Template

Telegraf Plugins used:

Included Resources:

  • 1 Bucket: telegraf, 7d retention
  • Labels: Sensu Go Template + Telegraf Plugin Labels
  • 1 Telegraf Configuration
  • 1 Dashboard: Sensu Go
  • 1 Variable: bucket

Quick Install

If you have your InfluxDB credentials configured in the CLI, you can install this template with:

https://raw.githubusercontent.com/influxdata/community-templates/master/sensu_go/sensu_go.yml

Sensu Go monitoring dashboard

Sensu is an Observability Pipeline that delivers monitoring as code on any cloud. As an omni-directional pipeline, Sensu collects and analyzes monitoring data from a variety of disparate sources, allowing you to eliminate data silos, automate diagnosis, and achieve self-healing. Designed to work with a number of compatible data platforms — including InfluxDB —  Sensu builds upon two simple, yet powerful monitoring primitives: Service Checks and Event Processing. These building blocks also provide infinitely extensible pipelines for composing monitoring solutions.

Once integrated with a data platform like InfluxDB, you may also wish to observe the performance of the Sensu Observability Pipeline using Sensu’s metrics API. The metrics API is not used for metrics that you’re collecting and processing via Sensu, but rather gives access to internal Sensu metrics in Prometheus format, including Sensu’s embedded etcd, memory usage, garbage collection, and gRPC metrics. The InfluxDB Monitoring Template for Sensu Go provides an easy way to collect and observe these metrics.

Why monitor your Sensu Go Observability Pipeline?

Sensu is a unified infrastructure and application monitoring solution that helps you gain deep visibility into servers, containers, services, applications, functions, and connected devices across any public or private cloud. It helps you ensure that your applications are performant and provides your users with the best user experience while managing distributed and complex environments. With such an important purpose, it is equally as important to ensure your Sensu Go Observability Pipeline is available and functioning. You can collect all the important metrics to support this cause using the Prometheus Format Telegraf Plugin that comes preconfigured in this InfluxDB Template.

How to use the Sensu Go Monitoring Template

Once your InfluxDB credentials have been properly configured in the CLI, you can install the Sensu Go monitoring template using the Quick Install command. Once installed, the data for the dashboard will be populated by the included Prometheus Format Telegraf configuration, which contains the relevant Sensu Go Input. Note that you might need to customize the input configuration to better serve your needs, including by specifying a new input value. All of this will depend on how your organization is currently running Sensu Go.

To find out more information about environmental variables within the Telegraf configuration, consult the following link.

Key Sensu Go metrics to monitor

Some of the most important Sensu Go monitoring metrics that you should proactively monitor include:

  • Agent sessions per namespace
  • Scheduler checks
  • etcd server counts
  • Total agent sessions
  • Message latency
  • Messages published per second
  • Event handler latency
  • Processed events per second

Related Resources

Testing and Monitoring and Broken Things

How Sensu implemented a full automated test infrastructure for staging and end-to-end testing.

More about Sensu and InfluxDB in this post

Read “Event Monitoring Visibility Made Easy: Sensu Check Metric Extraction with InfluxDB and Grafana”

Scroll to Top