vaimo-messages-handler 2.2.0 → 2.3.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: 2a3988af5b3d9bade663a20202cbba4a028f4ce9
4
- data.tar.gz: 5ad9d5399205a4ed5da2d6d65a162c788bf68593
3
+ metadata.gz: 7b0e308a6941a6b97a178f9da36e49eff52a890b
4
+ data.tar.gz: 07713a779d12bc24ea8d4c3125e6b0727cebe546
5
5
  SHA512:
6
- metadata.gz: 143a3dc5a05ffd07daae9fcdba463642ab865148a7f6ccb1a5cf3f156b5fc56b1fa481d4114aee6b331c961890551ee73dc8adc37c80c451e91d75df0a6eae27
7
- data.tar.gz: 2e75ca2212c5ff14212bf94d2d62873972c1805eb2e4e186f3765016a19e5d35c0fd2f2e10eb538b9a7e85ae196bd7996f005b4840ef2094265e2c20c4b7d937
6
+ metadata.gz: bebbd621a80ed3ce63f6cd9a74b4ced951c545d37ec2b8687430758bd7bfd97891d589dac872ce35205b99dc823758e6b9bdca66ff5038548490fa35be06aaa4
7
+ data.tar.gz: 46af4ca763c1e00000adf69e59f8366f31268e463498a291387045bd05ac67b51654772667e707dd2c3c53fd9a272b73ca2f2bb506f3b87bf537b055cb492a29
data/README.md CHANGED
@@ -46,3 +46,31 @@ Set your check to use the handler and define the playsms recipients.
46
46
  [Installation and Setup](http://sensu-plugins.io/docs/installation_instructions.html)
47
47
 
48
48
  ## Notes
49
+
50
+ ## Development
51
+
52
+ When using ubuntu for development and testing then be sure to install ruby-dev
53
+
54
+ ```
55
+ $ sudo apt-get install ruby-dev
56
+ $ sudo gem install bundle
57
+ ```
58
+
59
+ To work on the plugin, clone this repository out, and use
60
+ [Bundler](http://gembundler.com) to get the dependencies:
61
+
62
+ ```
63
+ $ bundle
64
+ ```
65
+
66
+ Once you have the dependencies, verify the unit tests pass with `rake`:
67
+
68
+ ```
69
+ $ bundle exec rake
70
+ ```
71
+
72
+ Build the plugin with
73
+
74
+ ```
75
+ rake build
76
+ ```
@@ -80,6 +80,7 @@ def messages_post_args(args, settings)
80
80
  component: messages_key_value(args, :component, nil),
81
81
  output: messages_key_value(args, :output, nil),
82
82
  history: messages_key_value(args, :history, nil),
83
+ event: messages_key_value(args, :event, nil),
83
84
  }
84
85
  end
85
86
 
@@ -143,6 +144,7 @@ begin
143
144
  level: messages_level(event['check']['status']),
144
145
  output: event['check']['output'],
145
146
  history: event['check']['history'],
147
+ event: event,
146
148
  }
147
149
 
148
150
  post_args = messages_post_args(args, messages_settings)
@@ -1,7 +1,7 @@
1
1
  module VaimoMessages
2
2
  module Version
3
3
  MAJOR = 2
4
- MINOR = 2
4
+ MINOR = 3
5
5
  PATCH = 0
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vaimo-messages-handler
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Margus Heinmaa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-18 00:00:00.000000000 Z
11
+ date: 2018-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin