This plugin provides native HTTP instrumentation for monitoring and metrics collection, including: response code, JSON response, HTTP last modified, SSL expiry, and metrics via `curl`.
Ruby Shell
Latest commit 46937ca Jan 24, 2017 @eheydrick eheydrick committed on GitHub Merge pull request #60 from RoboticCheese/jdh-fix-the-build
Get the CI tests working again

README.md

Sensu-Plugins-http

Build Status Gem Version Code Climate Test Coverage Dependency Status

Functionality

Files

  • bin/check-http-json.rb
  • bin/check-http.rb
  • bin/check-https-cert.rb
  • bin/check-last-modified.rb
  • bin/metrics-curl.rb
  • bin/metrics-http-json.rb
  • bin/metrics-http-json-deep.rb
  • bin/check-head-redirect.rb
  • bin/check-http-cors.rb

Usage

check-head-redirect.rb and check-last-modified.rb can be used in conjunction with AWS to pull configuration from a specific bucket and file.

This is helpful if you do not want to configure connection information as an argument to the sensu checks. If a bucket and key are specified that the environment the sensu check executes in has access to, or you provide an AWS key and token, the checks will pull the specified JSON file from S3 and merge the JSON config in to the current check configuration.

Installation

Installation and Setup

Notes