Breaking News

Main Menu

Sensu For Mac

вторник 07 апреля admin 6
Sensu For Mac Rating: 8,0/10 3131 votes

A while ago me and a mate started talking about why people don’t build breezy tropical homes anymore. Sure, there’s the small matter of cyclones, but for the 99.9% of the time we’re not battling those bastards we’re depriving ourselves of enjoying the very reason we all live up here - the warm tropical breeze, the chirp of the crickets and spending time sharing stories with the wild.

Prerequisites

  1. Enable Kubernetes (in the Docker for Mac preferences)

  1. Deploy the Kubernetes NGINX Ingress Controller

  2. Add hostnames to /etc/hosts

  3. Create a Kubernetes Ingress Resource

Demo

Deploy Application

  1. Deploy dummy app pods

Sensu

  1. Deploy Sensu

  2. Configure sensuctl to use the built-in 'admin' user

Multitenancy

  1. Create 'demo' namespace, user role, and role binding

  2. 1999 pontiac grand am gt owners manual. Create 'demo' user that is a member of the 'dev' group

  3. Reconfigure sensuctl to use the 'demo' user and 'demo' namespace

Deploy Sensu Sidecars

  1. Deploy dummy app Sensu Agent sidecars

  2. Scale dummy app

Simple Monitoring Check

  1. Register a Sensu Asset for check plugins

  2. Create a check to monitor dummy app /healthz

  3. Toggle the dummy app /healthz status

Deploy InfluxDB

  1. Create a Kubernetes ConfigMap for InfluxDB configuration

  2. Deploy InfluxDB with a Sensu Agent sidecar

Sensu InfluxDB Event Handler

  1. Create 'influxdb' event handler for sending metrics to InfluxDB

Prometheus Scraping

  1. Register a Sensu Asset for the Prometheus metric collector

  2. Create a check to collect dummy app Prometheus metrics

  3. Query InfluxDB to list the stored series

Deploy Grafana

  1. Deploy Grafana with a Sensu Agent sidecar