This plugin provides native instrumentation for monitoring Chef, including service health checks (via chef-server-ctl) and chef node status, and a Sensu handler for removing stale Sensu clients.
Updates the requirements on sensu-plugin to permit the latest version.
Changelog
*Sourced from [sensu-plugin's changelog](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md).*
> ### [4.0.0] - 2018-02-17
> ### Breaking Changes
> - remove support for EOL ruby `< 2.3` as they are EOL ([@majormoses](https://github.com/majormoses))
>
> ### Changed
> - appease the cops ([@majormoses](https://github.com/majormoses))
>
> ## [3.0.1] - 2018-01-07
> ### Fixed
> - locked `mixlib-cli` dep to `~> 1.5` as `2.0` removes ruby support for `< 2.5` ([@majormoses](https://github.com/majormoses))
>
> ## [3.0.0] - 2018-12-04
> ### Breaking Changes
> - renamed event mapping utility function `map_v2_event_into_v1` to match naming change to Sensu Go `map_go_event_into_ruby` ([@jspaleta](https://github.com/jspaleta))
> - renamed mutator and handler mixin arguments from `--map-v2-event-into-v1` to match naming change to Sensu Go `--map-go-event-into-ruby` ([@jspaleta](https://github.com/jspaleta))
> - renamed envar option from `SENSU_MAP_V2_EVENT_INTO_V1` to `SENSU_MAP_GO_EVENT_INTO_RUBY` ([@jspaleta](https://github.com/jspaleta))
> - updated `map_go_event_into_ruby` logic to account for entity attribute refactor ([@jspaleta](https://github.com/jspaleta))
> -
> ### Added
> - `map_go_event_info_ruby` now takes optional `map_annotation` argument to indicate annotation key
> holding json string to be mapped into ruby entity attributes
> default value is "sensu.io.json_attributes"
> optional envvar SENSU_MAP_ANNOTATION to use as environment override ([@jspaleta](https://github.com/jspaleta))
> - add mutator-go-into-ruby.rb binary. This mutator command can be used to mutate Sensu Go events into Sensu Core 1.x events ([@jspaleta](https://github.com/jspaleta))
>
> ## [2.7.0] - 2018-09-12
> ### Added
> - Added map_v2_event_into_v1 method to Utils for all plugin classes to use. ([@jspaleta](https://github.com/jspaleta))
> - Added --map-v2-event-into-v1 runtime commandline option to base Handler and Mutator classes. ([@jspaleta](https://github.com/jspaleta))
> - Alternatively set envvar SENSU_MAP_V2_EVENT_INTO_V1=1 and handlers/mutators will automatically attempt to map 2.x event data. ([@jspaleta](https://github.com/jspaleta))
> - New cli option/envvar makes it possible to use sensu-plugin based handlers/mutators
> with Sensu 2.0 events until they provide native 2.0 event support internally. ([@jspaleta](https://github.com/jspaleta))
> - Mapping function sets and checks for boolean event attribute 'v2_event_mapped_into_v1',
> to prevent mapping from running multiple times in same pipeline. ([@jspaleta](https://github.com/jspaleta))
>
> ## [2.6.0] - 2018-08-28
> ### Fixed
> - Fix `paginated_get` for backward compatibility with Sensu API < 1.4 ([@cwjohnston](https://github.com/cwjohnston)).
>
> ## [2.6.0] - 2018-08-28
> ### Added
> - Added utils method `paginated_get` for iteratively retrieving API responses ([@cwjohnston](https://github.com/cwjohnston)).
>
> ## [2.5.0] - 2018-04-03
> ### Added
> - Added Handler Sensu API HTTPS support through API configuration (e.g. `{"api": {"ssl": {}}` ([@portertech](https://github.com/portertech)).
>
> ## [2.4.0] - 2018-02-08
> ### Added
> - Added subclass for Generic metrics output to support multiple metrics output formats ([@bergerx](https://github.com/bergerx))
> ... (truncated)
Commits
- [`575ae8e`](https://github.com/sensu-plugins/sensu-plugin/commit/575ae8e9fecbb7c7ba8e962ac4dbb7c56b9b4ba7) prep for 4.0.0 release
- [`c67f30b`](https://github.com/sensu-plugins/sensu-plugin/commit/c67f30ba9a1ee421a883c361ca2ff1eaf2c22f5d) drop ruby `< 2.3` as they are EOL and appease the cops
- [`657c0ab`](https://github.com/sensu-plugins/sensu-plugin/commit/657c0abc69c73e69d471f2b65f9352980a1a6d4f) add pull reminders badge
- [`263bb14`](https://github.com/sensu-plugins/sensu-plugin/commit/263bb147e918cb831aa931cde5477e83e0a76ea1) prep for 3.0.1 release
- [`c878688`](https://github.com/sensu-plugins/sensu-plugin/commit/c878688ee3c6cc74063470614aced5f631944395) update lock for `mixlib-cli` to `~> 1.5` as 2.0 removes ruby < 2.5 support
- See full diff in [compare view](https://github.com/sensu-plugins/sensu-plugin/compare/3.0.0...4.0.0)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Updates the requirements on sensu-plugin to permit the latest version.
Changelog
*Sourced from [sensu-plugin's changelog](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md).* > ### [4.0.0] - 2018-02-17 > ### Breaking Changes > - remove support for EOL ruby `< 2.3` as they are EOL ([@majormoses](https://github.com/majormoses)) > > ### Changed > - appease the cops ([@majormoses](https://github.com/majormoses)) > > ## [3.0.1] - 2018-01-07 > ### Fixed > - locked `mixlib-cli` dep to `~> 1.5` as `2.0` removes ruby support for `< 2.5` ([@majormoses](https://github.com/majormoses)) > > ## [3.0.0] - 2018-12-04 > ### Breaking Changes > - renamed event mapping utility function `map_v2_event_into_v1` to match naming change to Sensu Go `map_go_event_into_ruby` ([@jspaleta](https://github.com/jspaleta)) > - renamed mutator and handler mixin arguments from `--map-v2-event-into-v1` to match naming change to Sensu Go `--map-go-event-into-ruby` ([@jspaleta](https://github.com/jspaleta)) > - renamed envar option from `SENSU_MAP_V2_EVENT_INTO_V1` to `SENSU_MAP_GO_EVENT_INTO_RUBY` ([@jspaleta](https://github.com/jspaleta)) > - updated `map_go_event_into_ruby` logic to account for entity attribute refactor ([@jspaleta](https://github.com/jspaleta)) > - > ### Added > - `map_go_event_info_ruby` now takes optional `map_annotation` argument to indicate annotation key > holding json string to be mapped into ruby entity attributes > default value is "sensu.io.json_attributes" > optional envvar SENSU_MAP_ANNOTATION to use as environment override ([@jspaleta](https://github.com/jspaleta)) > - add mutator-go-into-ruby.rb binary. This mutator command can be used to mutate Sensu Go events into Sensu Core 1.x events ([@jspaleta](https://github.com/jspaleta)) > > ## [2.7.0] - 2018-09-12 > ### Added > - Added map_v2_event_into_v1 method to Utils for all plugin classes to use. ([@jspaleta](https://github.com/jspaleta)) > - Added --map-v2-event-into-v1 runtime commandline option to base Handler and Mutator classes. ([@jspaleta](https://github.com/jspaleta)) > - Alternatively set envvar SENSU_MAP_V2_EVENT_INTO_V1=1 and handlers/mutators will automatically attempt to map 2.x event data. ([@jspaleta](https://github.com/jspaleta)) > - New cli option/envvar makes it possible to use sensu-plugin based handlers/mutators > with Sensu 2.0 events until they provide native 2.0 event support internally. ([@jspaleta](https://github.com/jspaleta)) > - Mapping function sets and checks for boolean event attribute 'v2_event_mapped_into_v1', > to prevent mapping from running multiple times in same pipeline. ([@jspaleta](https://github.com/jspaleta)) > > ## [2.6.0] - 2018-08-28 > ### Fixed > - Fix `paginated_get` for backward compatibility with Sensu API < 1.4 ([@cwjohnston](https://github.com/cwjohnston)). > > ## [2.6.0] - 2018-08-28 > ### Added > - Added utils method `paginated_get` for iteratively retrieving API responses ([@cwjohnston](https://github.com/cwjohnston)). > > ## [2.5.0] - 2018-04-03 > ### Added > - Added Handler Sensu API HTTPS support through API configuration (e.g. `{"api": {"ssl": {}}` ([@portertech](https://github.com/portertech)). > > ## [2.4.0] - 2018-02-08 > ### Added > - Added subclass for Generic metrics output to support multiple metrics output formats ([@bergerx](https://github.com/bergerx)) > ... (truncated)Commits
- [`575ae8e`](https://github.com/sensu-plugins/sensu-plugin/commit/575ae8e9fecbb7c7ba8e962ac4dbb7c56b9b4ba7) prep for 4.0.0 release - [`c67f30b`](https://github.com/sensu-plugins/sensu-plugin/commit/c67f30ba9a1ee421a883c361ca2ff1eaf2c22f5d) drop ruby `< 2.3` as they are EOL and appease the cops - [`657c0ab`](https://github.com/sensu-plugins/sensu-plugin/commit/657c0abc69c73e69d471f2b65f9352980a1a6d4f) add pull reminders badge - [`263bb14`](https://github.com/sensu-plugins/sensu-plugin/commit/263bb147e918cb831aa931cde5477e83e0a76ea1) prep for 3.0.1 release - [`c878688`](https://github.com/sensu-plugins/sensu-plugin/commit/c878688ee3c6cc74063470614aced5f631944395) update lock for `mixlib-cli` to `~> 1.5` as 2.0 removes ruby < 2.5 support - See full diff in [compare view](https://github.com/sensu-plugins/sensu-plugin/compare/3.0.0...4.0.0)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.