sensu-plugins / sensu-plugins-statuspage

Sensu plugins for Statuspage
http://sensu-plugins.io
MIT License
4 stars 7 forks source link

Add status rollup check #7

Closed spacepants closed 7 years ago

spacepants commented 7 years ago

This adds a new check for the status rollup of a StatusPage instance.

Pull Request Checklist

Is this in reference to an existing issue? Nope.

General

New Plugins

Purpose

Adds a new plugin to check the status rollup of a StatusPage instance.

Known Compatibility Issues

None.

majormoses commented 7 years ago

@spacepants this looks great, thanks for the contribution. I need a testing artifact, while automated is prefered I will take anything demonstrating input and output in a gist, screenshot, etc

spacepants commented 7 years ago

I tried to find some examples of automated tests for other sensu plugins, but I didn't have much luck. Got a link to one I can take a look at?

Here's a screenshot that shows its basic functionality. screenshot

majormoses commented 7 years ago

The aws and mesos ones have some decent testing. We are gonna hopefully come up with our standard framework probably using test kitchen at some point. Let me know if you want to work on an automated test more if not I am more than happy to accept this as a testing artifact right now (might not always be the case).

majormoses commented 7 years ago

released: https://rubygems.org/gems/sensu-plugins-statuspage/versions/1.2.0