GithubHelp home page GithubHelp logo

cjhodges77 / sensu-plugins-http Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sensu-plugins/sensu-plugins-http

0.0 1.0 0.0 205 KB

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`.

Home Page: http://sensu-plugins.io

License: MIT License

Ruby 100.00%

sensu-plugins-http's Introduction

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.

check-https-cert.rb can be used to test for valid and successfully expired certs, amongst other things.

Installation

Installation and Setup

Notes

check-http.rb and check-https-cert.rb

This check is not really geared to check all of the complexities of ssl which is why there is a separate repo and set of checks for that: https://github.com/sensu-plugins/sensu-plugins-ssl. If you are trying to verify cert expiration you will notice that in some cases it does not do what you always expect it to do. For example it might appear that when using using -k option you see different expiration times. This is due to the fact that when using -k it does not check expiration of all of the certs in the chain. Rather than duplicate this behavior in this check use the other repo where we handle those more complicated ssl checks better. For more information see: sensu-plugins#67

sensu-plugins-http's People

Contributors

eheydrick avatar majormoses avatar tas50 avatar mattyjones avatar sstarcher avatar hartmantis avatar analytically avatar ushis avatar doublemarket avatar parisholley avatar kmejka avatar multani avatar gdhbashton avatar florinandrei avatar anthcourtney avatar stevebanik-ndsc avatar roobert avatar pgporada avatar amdprophet avatar bootswithdefer avatar nyxcharon avatar jhshadi avatar fessyfoo avatar drags avatar obazoud avatar mrooney avatar mlehner616 avatar mjulian avatar marktheunissen avatar mivok avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.