sensu-extensions-only-check-output 0.0.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f53ed9f900087bfbb1848779a7a9193c01eb7c04
4
- data.tar.gz: 90fee02f1ec7c54452ad1b48da440a1a94b7952a
3
+ metadata.gz: b15ed4bddd0a54a5895a2bda1402ef4aa7de1d07
4
+ data.tar.gz: 9cc37ea3ebeca69e3c4c70a2caa60dfedba398c4
5
5
  SHA512:
6
- metadata.gz: 6d5c247a8b9a0b776d929220862d6118d128c9aec462e8cc842699d07a1b205a7cb48d570ef855b629bbe44700373ccc9cbc11e5736a203d15a35f77a65a002a
7
- data.tar.gz: aafd52c8c8270bd84753fef28aec4ec465ed7992b379bb363b155efce4bfd8f914ac9086957d434f58619c18da379e8d211d5c19ca2cfe1fae52ae56e4fab921
6
+ metadata.gz: 7c89e643f08cabcdaaadb0900d622b92591bf8d752d0fabd6651a1dcdd2b7dab31661cb7fd22c0884511085a57e0a0806629422799610e8a943275d513db6d4d
7
+ data.tar.gz: d68e5def56ca88d08dd0283f50d1be62494d922930ac40c7a175c26fb5b8a7466cac62dda2cff4b9828d37067b62edc4eeedb1ad8b3cb3565ba4bc664fab4bec
@@ -0,0 +1,26 @@
1
+ # Change Log
2
+
3
+ This project adheres to [Semantic Versioning](http://semver.org/).
4
+
5
+ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/).
6
+
7
+ ## [1.0.0] - 2016-07-27
8
+
9
+ ### Added
10
+
11
+ - Added a LICENSE, CHANGELOG, (from
12
+ [sensu-extensions/template](https://github.com/sensu-extensions/template)).
13
+
14
+ ### Changed
15
+
16
+ - Updated gemspec and README to better represent a desired Sensu extension
17
+ repository.
18
+
19
+ ## 0.0.1 - 2016-07-21
20
+
21
+ ### Added
22
+
23
+ - Initial release.
24
+
25
+ [Unreleased]: https://github.com/sensu-extensions/sensu-extensions-occurrences/compare/v1.0.0...HEAD
26
+ [1.0.0]: https://github.com/sensu-extensions/sensu-extensions-occurrences/compare/v0.0.1...v1.0.0
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2016 Sensu-Extensions
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -1,36 +1,25 @@
1
- # Sensu::Extensions::Only::Check::Output
1
+ # Sensu::Extensions::OnlyCheckOutput
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/sensu/extensions/only/check/output`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ This mutator extension provides the Sensu Core built-in mutator `only_check_output`.
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
5
+ This mutator will return the check output from an event.
6
6
 
7
- ## Installation
7
+ ## Configuration
8
8
 
9
- Add this line to your application's Gemfile:
9
+ The `only_check_output` mutator is included in every install of Sensu.
10
+ To apply the mutator to handler, use the `"mutator"` handler
11
+ definition attribute.
10
12
 
11
- ```ruby
12
- gem 'sensu-extensions-only-check-output'
13
- ```
14
-
15
- And then execute:
16
-
17
- $ bundle
18
-
19
- Or install it yourself as:
20
-
21
- $ gem install sensu-extensions-only-check-output
22
-
23
- ## Usage
13
+ For example:
24
14
 
25
- TODO: Write usage instructions here
26
-
27
- ## Development
28
-
29
- After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
-
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
-
33
- ## Contributing
34
-
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/sensu-extensions-only-check-output.
36
15
 
16
+ ``` json
17
+ {
18
+ "handlers": {
19
+ "graphite": {
20
+ "...": "...",
21
+ "mutator": "only_check_output"
22
+ }
23
+ }
24
+ }
25
+ ```
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-extensions-only-check-output
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
- - Sean Porter
7
+ - Sensu-Extensions and contributors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-21 00:00:00.000000000 Z
11
+ date: 2016-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-extension
@@ -96,17 +96,15 @@ dependencies:
96
96
  version: '0'
97
97
  description: The Sensu Core built-in only_check_output mutator
98
98
  email:
99
- - portertech@gmail.com
99
+ - "<sensu-users@googlegroups.com>"
100
100
  executables: []
101
101
  extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
- - ".gitignore"
105
- - Gemfile
104
+ - CHANGELOG.md
105
+ - LICENSE
106
106
  - README.md
107
- - Rakefile
108
107
  - lib/sensu/extensions/only-check-output.rb
109
- - sensu-extensions-only-check-output.gemspec
110
108
  homepage: https://github.com/sensu-extensions/sensu-extensions-only-check-output
111
109
  licenses: []
112
110
  metadata: {}
data/.gitignore DELETED
@@ -1,9 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in sensu-extensions-only-check-output.gemspec
4
- gemspec
data/Rakefile DELETED
@@ -1,6 +0,0 @@
1
- require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
3
-
4
- RSpec::Core::RakeTask.new(:spec)
5
-
6
- task :default => :spec
@@ -1,23 +0,0 @@
1
- # coding: utf-8
2
-
3
- Gem::Specification.new do |spec|
4
- spec.name = "sensu-extensions-only-check-output"
5
- spec.version = "0.0.1"
6
- spec.authors = ["Sean Porter"]
7
- spec.email = ["portertech@gmail.com"]
8
-
9
- spec.summary = "The Sensu Core built-in only_check_output mutator"
10
- spec.description = "The Sensu Core built-in only_check_output mutator"
11
- spec.homepage = "https://github.com/sensu-extensions/sensu-extensions-only-check-output"
12
-
13
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
14
- spec.require_paths = ["lib"]
15
-
16
- spec.add_dependency "sensu-extension"
17
-
18
- spec.add_development_dependency "bundler", "~> 1.6"
19
- spec.add_development_dependency "rake"
20
- spec.add_development_dependency "rspec"
21
- spec.add_development_dependency "sensu-logger"
22
- spec.add_development_dependency "sensu-settings"
23
- end