Select Supported Platforms

Select Supported Architectures

Select Tier

This version has a compilation error
  • missing GitHub release asset for sensu-plugins-habitat_v0.1.7_alpine_linux_amd64.tar.gz

sensu-plugins-habitat (4) Versions v0.1.7 Community Tier

A set of Sensu plugins for monitoring Habitat

Downloads in last month
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,2,0,0,0,0,0,0,0
Commits in last year
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0
README
Release Notes

Sensu Plugins Habitat

Build Status Gem Version

A set of Sensu plugins for monitoring Habitat.

Functionality

This gem includes a plugin for monitoring Habitat services' health check statuses via a supervisor API.

Files

  • bin/check-habitat-service-health.rb

Usage

check-habitat-service-health.rb

With only default options, the check-habitat-service-health.rb script assumes a Habitat supervisor on 127.0.0.1:9631, iterates over all services running under that supervisor, and aggregates their health check statuses. The final overall status of the check is whatever the most serious status is of any one service, e.g. if 4/5 services are OK and one is in WARNING, the check result will be a WARNING.

check-habitat-service-health.rb

If the Habitat supervisor is on another host:

> check-habitat-service-health.rb -H 192.168.0.4
> check-habitat-service-health.rb --host 192.168.0.4

If the Habitat supervisor is on another port:

> check-habitat-service-health.rb -P 4242
> check-habitat-service-health.rb --port 4242

To check only a particular set of services running under the Habitat supervisor:

> check-habitat-service-health.rb -s service1.default,service2.default
> check-habitat-service-health.rb --services service1.default,service2.default

In this case, any service that is specified and not running will be counted as a CRITICAL.

Installation

Installation and Setup

Are you sure you want to report this asset?

Please describe the reason for reporting this asset. Our moderators will be notified and will disable the asset if it is found to be inappropriate.

×