I started a pretty big rewrite of this integration at the beginning of the pandemic as a little weekend hack project, but as the reality set in that COVID wasn't going to be over in a few weeks, this project got pushed to the back burner indefinitely.
I also unfortunately started that rewrite as an orphan branch in my fork, which made opening a PR to contribute my improvements somewhat challenging.
This PR represents mostly 2-year old code (when I was even more of a Golang newb than I am today), plus some cleanup I just did to make sure it still compiles.
There's an updated changelog included, but at high level the changes are as follows:
Added new --help output (we get this for free w/ sensu-plugin-sdk)
Added new GitHub Actions CI (we get this for free w/ sensu-plugin-sdk)
Added support for Sensu API Keys!
Removed support for username & password auth
Updated readme w/ new usage examples and configuration attributes
I will be doing some testing with a build of this branch to prepare for adding a Sensu Remediation handler integration to the Sensu Catalog. Feedback welcome!
I started a pretty big rewrite of this integration at the beginning of the pandemic as a little weekend hack project, but as the reality set in that COVID wasn't going to be over in a few weeks, this project got pushed to the back burner indefinitely.
I also unfortunately started that rewrite as an orphan branch in my fork, which made opening a PR to contribute my improvements somewhat challenging.
This PR represents mostly 2-year old code (when I was even more of a Golang newb than I am today), plus some cleanup I just did to make sure it still compiles.
There's an updated changelog included, but at high level the changes are as follows:
--help
output (we get this for free w/sensu-plugin-sdk
)sensu-plugin-sdk
)I will be doing some testing with a build of this branch to prepare for adding a Sensu Remediation handler integration to the Sensu Catalog. Feedback welcome!