This plugin provides native CPU instrumentation for monitoring and metrics collection, including: CPU usage and metrics for user, nice, system, idle, iowait, irq, softirq, steal, and guest.
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).*
> ## [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))
>
> ### Changed
> - updated metrics class inheritance hierarchy ([@bergerx](https://github.com/bergerx))
>
> ## [2.3.0] - 2017-08-17
> ### Added
> - Added subclass for InfluxDB output ([@luisdavim](https://github.com/luisdavim))
> ... (truncated)
Commits
- [`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
- [`969ae8c`](https://github.com/sensu-plugins/sensu-plugin/commit/969ae8c4acd9ff796251daa2e471f97a3b3d9929) prep for 3.0.0 release
- [`b271cc1`](https://github.com/sensu-plugins/sensu-plugin/commit/b271cc1cca7068aaec5eac3047499506116972dd) Sensu Go Enablement : Refactor for GA changes ([#196](https://github-redirect.dependabot.com/sensu-plugins/sensu-plugin/issues/196))
- [`6ff3ba8`](https://github.com/sensu-plugins/sensu-plugin/commit/6ff3ba8f33dfd2c3e07942537f801cf42887e724) prep for 2.7.0 release
- [`552f5fa`](https://github.com/sensu-plugins/sensu-plugin/commit/552f5fa84cf26ed72e55fd33de6c63e14b7019cb) Sensu Handler shim for Sensu 2.0 event data. ([#190](https://github-redirect.dependabot.com/sensu-plugins/sensu-plugin/issues/190))
- [`c3a2508`](https://github.com/sensu-plugins/sensu-plugin/commit/c3a25080ea5b930ce936f25b6c61306fc241698b) prep for 2.6.1 release
- [`18ef61d`](https://github.com/sensu-plugins/sensu-plugin/commit/18ef61dffcefd031f735980bc567533edfcf8e57) update changelog for paginated_get backward compatability
- [`32c8e6d`](https://github.com/sensu-plugins/sensu-plugin/commit/32c8e6d7c1249f2c904844ca23b7a537cbd40059) update paginated_get method to avoid blocking infinitely on older API versions
- [`7318366`](https://github.com/sensu-plugins/sensu-plugin/commit/7318366f979419631dc80ff323d170134870e763) update paginated_get specs to return unique check results
- Additional commits viewable in [compare view](https://github.com/sensu-plugins/sensu-plugin/compare/v1.2.0...3.0.1)
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).* > ## [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)) > > ### Changed > - updated metrics class inheritance hierarchy ([@bergerx](https://github.com/bergerx)) > > ## [2.3.0] - 2017-08-17 > ### Added > - Added subclass for InfluxDB output ([@luisdavim](https://github.com/luisdavim)) > ... (truncated)Commits
- [`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 - [`969ae8c`](https://github.com/sensu-plugins/sensu-plugin/commit/969ae8c4acd9ff796251daa2e471f97a3b3d9929) prep for 3.0.0 release - [`b271cc1`](https://github.com/sensu-plugins/sensu-plugin/commit/b271cc1cca7068aaec5eac3047499506116972dd) Sensu Go Enablement : Refactor for GA changes ([#196](https://github-redirect.dependabot.com/sensu-plugins/sensu-plugin/issues/196)) - [`6ff3ba8`](https://github.com/sensu-plugins/sensu-plugin/commit/6ff3ba8f33dfd2c3e07942537f801cf42887e724) prep for 2.7.0 release - [`552f5fa`](https://github.com/sensu-plugins/sensu-plugin/commit/552f5fa84cf26ed72e55fd33de6c63e14b7019cb) Sensu Handler shim for Sensu 2.0 event data. ([#190](https://github-redirect.dependabot.com/sensu-plugins/sensu-plugin/issues/190)) - [`c3a2508`](https://github.com/sensu-plugins/sensu-plugin/commit/c3a25080ea5b930ce936f25b6c61306fc241698b) prep for 2.6.1 release - [`18ef61d`](https://github.com/sensu-plugins/sensu-plugin/commit/18ef61dffcefd031f735980bc567533edfcf8e57) update changelog for paginated_get backward compatability - [`32c8e6d`](https://github.com/sensu-plugins/sensu-plugin/commit/32c8e6d7c1249f2c904844ca23b7a537cbd40059) update paginated_get method to avoid blocking infinitely on older API versions - [`7318366`](https://github.com/sensu-plugins/sensu-plugin/commit/7318366f979419631dc80ff323d170134870e763) update paginated_get specs to return unique check results - Additional commits viewable in [compare view](https://github.com/sensu-plugins/sensu-plugin/compare/v1.2.0...3.0.1)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.