sensu-plugins / sensu-plugins-http

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`.
http://sensu-plugins.io
MIT License
30 stars 97 forks source link

Add regex support to --response-code #99

Closed bootswithdefer closed 6 years ago

bootswithdefer commented 6 years ago

Pull Request Checklist

General

Purpose

Add regex support to --response-code in check-http Add --response-code option to check-http-json

Known Compatibility Issues

majormoses commented 6 years ago

Thanks for your contribution to Sensu plugins! Without people like you submitting PRs we couldn't run the project. I will review it shortly.

bootswithdefer commented 6 years ago

Description added, regex support added to check-http.rb

majormoses commented 6 years ago

released: https://rubygems.org/gems/sensu-plugins-http/versions/2.11.0