sensu-plugins-hipchat 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/CHANGELOG.md +6 -1
- data/README.md +21 -0
- data/bin/handler-hipchat.rb +1 -2
- data/lib/sensu-plugins-hipchat/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 81b7c4f902da14de1f906c43fd2fb43987f59995b1e8a322445ec1677c827adb
|
|
4
|
+
data.tar.gz: 1dd5c12ad4f0cb41b2da0990139ec2f1520ffa905c363393d5d4fa32283d309c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4a6d72b19e12473632ead22b6ed72be4c33989343d6539e88e60a499421f89935ebfd3aedbc5702b8dfb921d27583decf31ab115b80cec61e24ef36d5c81b51b
|
|
7
|
+
data.tar.gz: 6ca121e0489545f34b937e687b39ee1daeb4b1862f722a81965542b06e03a3d8b302129d8c02ddba4dc90a8d1bb7cf147af69d61e272daa72b67db9dcdb5bf9d
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [2.1.0] - 2017-12-05
|
|
9
|
+
### Changed
|
|
10
|
+
- Remove trailing whitespace in the default template
|
|
11
|
+
|
|
8
12
|
## [2.0.0] - 2017-07-24
|
|
9
13
|
### Breaking Changes
|
|
10
14
|
- Minimum Ruby runtime version is now 2.0
|
|
@@ -42,7 +46,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
|
42
46
|
### Added
|
|
43
47
|
- initial release
|
|
44
48
|
|
|
45
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-hipchat/compare/2.
|
|
49
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-hipchat/compare/2.1.0...HEAD
|
|
50
|
+
[2.1.0]: https://github.com/sensu-plugins/sensu-plugins-hipchat/compare/2.0.0...2.1.0
|
|
46
51
|
[2.0.0]: https://github.com/sensu-plugins/sensu-plugins-hipchat/compare/1.0.0...2.0.0
|
|
47
52
|
[1.0.0]: https://github.com/sensu-plugins/sensu-plugins-hipchat/compare/0.0.4...1.0.0
|
|
48
53
|
[0.0.4]: https://github.com/sensu-plugins/sensu-plugins-hipchat/compare/0.0.3...0.0.4
|
data/README.md
CHANGED
|
@@ -46,3 +46,24 @@
|
|
|
46
46
|
].join
|
|
47
47
|
%>
|
|
48
48
|
```
|
|
49
|
+
|
|
50
|
+
### How to test?
|
|
51
|
+
|
|
52
|
+
1. Write a configuration file as explained in the *Usage* section
|
|
53
|
+
1. Set the environment variable `SENSU_CONFIG_FILES` to the location of this file
|
|
54
|
+
1. Pipe a sample check result into the handler itself:
|
|
55
|
+
```
|
|
56
|
+
cat <<EOF | bundle exec bin/handler-hipchat.rb
|
|
57
|
+
{
|
|
58
|
+
"client": {
|
|
59
|
+
"name": "client"
|
|
60
|
+
},
|
|
61
|
+
"check": {
|
|
62
|
+
"status": 1,
|
|
63
|
+
"name": "name",
|
|
64
|
+
"source": "source",
|
|
65
|
+
"output": "Hello, warning"
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
EOF
|
|
69
|
+
```
|
data/bin/handler-hipchat.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sensu-plugins-hipchat
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sensu-Plugins and contributors
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-12-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sensu-plugin
|
|
@@ -217,7 +217,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
217
217
|
version: '0'
|
|
218
218
|
requirements: []
|
|
219
219
|
rubyforge_project:
|
|
220
|
-
rubygems_version: 2.
|
|
220
|
+
rubygems_version: 2.7.3
|
|
221
221
|
signing_key:
|
|
222
222
|
specification_version: 4
|
|
223
223
|
summary: Sensu plugins for hipchat
|