sensu-plugins-strongswan 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 4d400ee9149a1a972c5a3f440a948454002c6553
4
- data.tar.gz: decf451c9f701beb26916aab62b6bd3b89b9d248
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ OTJkZTA1YWFhMGM0NDEzMTk4YTAyMDMzMDA5YzJkNzU2MTc4ZTQ4NQ==
5
+ data.tar.gz: !binary |-
6
+ M2MzNzU0MmZlYmM0ZmFlN2NlNTgyNmU1ZjFlZGJhY2NlYzFhMDE1Mg==
5
7
  SHA512:
6
- metadata.gz: f2fa1ad1d51138a8d06f8eda4d88dda0826691fe9951a7c6bbbdb532fa6060499dcf34a95abb7272b078455dcbda7ef30442f81581bc2114bb0f383933a4e906
7
- data.tar.gz: 214a3c7a75a633616ef57abd9d3d60d83c33b57f9aae35c3709d87c13f10c9487f00ecb0fb20dd2e8403fa79b3c5e47bd9e6ba396b286d620fe865a9076057b8
8
+ metadata.gz: !binary |-
9
+ ZTcwMTQwYjExNTRiNzc4MTVmNDkwNzZhMTY0ZDQyMjcyOGUwNWI5OWQ0Zjlm
10
+ YTI2MjcwNDc0NWEwNDBkMzE5YTg3YTQ3MmY0YjFjYzFhMTk2Y2I5ODEwZmE5
11
+ YjIzYTc1NDEzN2I4M2ZjNjg2MTlmMTdkY2I1ZDMzOTkxMTk2N2E=
12
+ data.tar.gz: !binary |-
13
+ MGYyMDIxNWY0MjYwNmM3YjY5MmMzMWIxMTRlYTdiZGY5MGUxNDhlYzZkZTZm
14
+ NzE3NDU5ZGRkNjI1YzBlYjY0OGVlNjJlMzAwMjg4NTJiYWZkNWY0ZTAxZjMx
15
+ YmIzM2FiNzQxYTZiMzAxNTUyOTdkNDM3ZWFjMWRhMWQyOTI4OWM=
data/CHANGELOG.md CHANGED
@@ -3,10 +3,21 @@ This project adheres to [Semantic Versioning](http://semver.org/).
3
3
 
4
4
  This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
5
5
 
6
- ## [0.1.0] - 2015-07-23
6
+ ## [Unreleased]
7
+
8
+ ## [0.1.1] - 2016-03-17
9
+ ### Added
10
+ - metric for a queued connections (at a state 'connecting') from @xdrus.
7
11
 
12
+ ### Changed
13
+ - Update to rubocop 0.37
14
+
15
+ ## 0.1.0 - 2015-07-23
8
16
  ### Changed
9
17
  - updated sensu-plugin gem to 1.2.0
10
18
 
11
19
  ### Added
12
20
  - add check-strongswan.rb and metrics-strongswan.rb plugins
21
+
22
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-strongswan/compare/0.1.1...HEAD
23
+ [0.1.1]: https://github.com/sensu-plugins/sensu-plugins-strongswan/compare/0.1.0...0.1.1
data/README.md CHANGED
@@ -5,7 +5,6 @@
5
5
  [![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-strongswan/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-strongswan)
6
6
  [![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-strongswan/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-strongswan)
7
7
  [![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-strongswan.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-strongswan)
8
- [ ![Codeship Status for sensu-plugins/sensu-plugins-strongswan](https://codeship.com/projects/92afbe60-09a0-0133-7671-36ea30c979a9/status?branch=master)](https://codeship.com/projects/90618)
9
8
 
10
9
  ## Functionality
11
10
 
@@ -49,7 +49,9 @@ class StrongswanMetrics < Sensu::Plugin::Metric::CLI::Graphite
49
49
  ipsec_status.each_line do |line|
50
50
  if line =~ /Security Associations/
51
51
  connections = ipsec_status.match(/Security Associations \((\d+)/)[1].to_i
52
+ queue = ipsec_status.match(/Security Associations \(.*,\s*(\d+)/)[1].to_i
52
53
  output "#{config[:scheme]}.connections", connections
54
+ output "#{config[:scheme]}.queue", queue
53
55
  end
54
56
  ok
55
57
  end
@@ -2,7 +2,7 @@ module SensuPluginsStrongswan
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- PATCH = 0
5
+ PATCH = 1
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,182 +1,160 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-strongswan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain:
11
- - |
12
- -----BEGIN CERTIFICATE-----
13
- MIIDgDCCAmigAwIBAgIBATANBgkqhkiG9w0BAQUFADBDMRIwEAYDVQQDDAltYXR0
14
- am9uZXMxGDAWBgoJkiaJk/IsZAEZFgh5aWVsZGJvdDETMBEGCgmSJomT8ixkARkW
15
- A2NvbTAeFw0xNTAxMjgyMTAyNTFaFw0xNjAxMjgyMTAyNTFaMEMxEjAQBgNVBAMM
16
- CW1hdHRqb25lczEYMBYGCgmSJomT8ixkARkWCHlpZWxkYm90MRMwEQYKCZImiZPy
17
- LGQBGRYDY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyTSzVYnO
18
- CLgyrIyT1mBQakArQyW8xhi6MlDqyzXHJGeERT790U6EgoBVeS4XoK0ptFZNR8Tf
19
- zko0w+Nv47TarSCgkPOaxY+mxWnAVR10dOmfeLr7huiMyps+YD56/EF2FqQ3jf/+
20
- qohENfKD91qy1ieEy+Fn7Pf74ltbNKUdkb9a9eFXQ0DQ4ip5vik7DzjQkUTj4lca
21
- k6ArwnmHX4YDhZoYtrQJ8jVktN0/+NtA40M5qkCYHNe5tUW25b/tKVYuioxG6b2Z
22
- oIzaZxRLxf6HVAWpCVRT/F5+/yjigkX4u++eYacfLGleXQzoK7BL65vHGMJygWEE
23
- 0TKGqFOrl/L0AQIDAQABo38wfTAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNV
24
- HQ4EFgQUEf6a8Td7MrSZc8ImbLFZAENPbz0wIQYDVR0RBBowGIEWbWF0dGpvbmVz
25
- QHlpZWxkYm90LmNvbTAhBgNVHRIEGjAYgRZtYXR0am9uZXNAeWllbGRib3QuY29t
26
- MA0GCSqGSIb3DQEBBQUAA4IBAQBbzXAYA3BVGw8DZ0YYoY1VHPNEcH5qPIApmHO8
27
- rvSmuUT0yMEi7u00H/5uHRFf4LleGT/+sTdyXKsNPGT9kdRuQEgwi+vf7Zfvd8aX
28
- UF/+4VkEYf/8rV8Ere6u2QaWPgApdMV6JjKr1fAwCTd8AuGXNaWItiPPMseSQzLJ
29
- JKP4hVvbc1d+oS925B1lcBiqn2aYvElbyNAVmQPywNNqkWmvtlqj9ZVJfV5HQLdu
30
- 8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
31
- HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
32
- -----END CERTIFICATE-----
33
- date: 2015-07-23 00:00:00.000000000 Z
10
+ cert_chain: []
11
+ date: 2016-03-17 00:00:00.000000000 Z
34
12
  dependencies:
35
13
  - !ruby/object:Gem::Dependency
36
14
  name: sensu-plugin
37
15
  requirement: !ruby/object:Gem::Requirement
38
16
  requirements:
39
- - - '='
17
+ - - ~>
40
18
  - !ruby/object:Gem::Version
41
- version: 1.2.0
19
+ version: '1.2'
42
20
  type: :runtime
43
21
  prerelease: false
44
22
  version_requirements: !ruby/object:Gem::Requirement
45
23
  requirements:
46
- - - '='
24
+ - - ~>
47
25
  - !ruby/object:Gem::Version
48
- version: 1.2.0
26
+ version: '1.2'
49
27
  - !ruby/object:Gem::Dependency
50
28
  name: bundler
51
29
  requirement: !ruby/object:Gem::Requirement
52
30
  requirements:
53
- - - "~>"
31
+ - - ~>
54
32
  - !ruby/object:Gem::Version
55
33
  version: '1.7'
56
34
  type: :development
57
35
  prerelease: false
58
36
  version_requirements: !ruby/object:Gem::Requirement
59
37
  requirements:
60
- - - "~>"
38
+ - - ~>
61
39
  - !ruby/object:Gem::Version
62
40
  version: '1.7'
63
41
  - !ruby/object:Gem::Dependency
64
42
  name: codeclimate-test-reporter
65
43
  requirement: !ruby/object:Gem::Requirement
66
44
  requirements:
67
- - - "~>"
45
+ - - ~>
68
46
  - !ruby/object:Gem::Version
69
47
  version: '0.4'
70
48
  type: :development
71
49
  prerelease: false
72
50
  version_requirements: !ruby/object:Gem::Requirement
73
51
  requirements:
74
- - - "~>"
52
+ - - ~>
75
53
  - !ruby/object:Gem::Version
76
54
  version: '0.4'
77
55
  - !ruby/object:Gem::Dependency
78
56
  name: github-markup
79
57
  requirement: !ruby/object:Gem::Requirement
80
58
  requirements:
81
- - - "~>"
59
+ - - ~>
82
60
  - !ruby/object:Gem::Version
83
61
  version: '1.3'
84
62
  type: :development
85
63
  prerelease: false
86
64
  version_requirements: !ruby/object:Gem::Requirement
87
65
  requirements:
88
- - - "~>"
66
+ - - ~>
89
67
  - !ruby/object:Gem::Version
90
68
  version: '1.3'
91
69
  - !ruby/object:Gem::Dependency
92
70
  name: pry
93
71
  requirement: !ruby/object:Gem::Requirement
94
72
  requirements:
95
- - - "~>"
73
+ - - ~>
96
74
  - !ruby/object:Gem::Version
97
75
  version: '0.10'
98
76
  type: :development
99
77
  prerelease: false
100
78
  version_requirements: !ruby/object:Gem::Requirement
101
79
  requirements:
102
- - - "~>"
80
+ - - ~>
103
81
  - !ruby/object:Gem::Version
104
82
  version: '0.10'
105
83
  - !ruby/object:Gem::Dependency
106
84
  name: rake
107
85
  requirement: !ruby/object:Gem::Requirement
108
86
  requirements:
109
- - - "~>"
87
+ - - ~>
110
88
  - !ruby/object:Gem::Version
111
89
  version: '10.0'
112
90
  type: :development
113
91
  prerelease: false
114
92
  version_requirements: !ruby/object:Gem::Requirement
115
93
  requirements:
116
- - - "~>"
94
+ - - ~>
117
95
  - !ruby/object:Gem::Version
118
96
  version: '10.0'
119
97
  - !ruby/object:Gem::Dependency
120
98
  name: redcarpet
121
99
  requirement: !ruby/object:Gem::Requirement
122
100
  requirements:
123
- - - "~>"
101
+ - - ~>
124
102
  - !ruby/object:Gem::Version
125
103
  version: '3.2'
126
104
  type: :development
127
105
  prerelease: false
128
106
  version_requirements: !ruby/object:Gem::Requirement
129
107
  requirements:
130
- - - "~>"
108
+ - - ~>
131
109
  - !ruby/object:Gem::Version
132
110
  version: '3.2'
133
111
  - !ruby/object:Gem::Dependency
134
112
  name: rspec
135
113
  requirement: !ruby/object:Gem::Requirement
136
114
  requirements:
137
- - - "~>"
115
+ - - ~>
138
116
  - !ruby/object:Gem::Version
139
117
  version: '3.1'
140
118
  type: :development
141
119
  prerelease: false
142
120
  version_requirements: !ruby/object:Gem::Requirement
143
121
  requirements:
144
- - - "~>"
122
+ - - ~>
145
123
  - !ruby/object:Gem::Version
146
124
  version: '3.1'
147
125
  - !ruby/object:Gem::Dependency
148
126
  name: rubocop
149
127
  requirement: !ruby/object:Gem::Requirement
150
128
  requirements:
151
- - - '='
129
+ - - ~>
152
130
  - !ruby/object:Gem::Version
153
- version: '0.30'
131
+ version: '0.37'
154
132
  type: :development
155
133
  prerelease: false
156
134
  version_requirements: !ruby/object:Gem::Requirement
157
135
  requirements:
158
- - - '='
136
+ - - ~>
159
137
  - !ruby/object:Gem::Version
160
- version: '0.30'
138
+ version: '0.37'
161
139
  - !ruby/object:Gem::Dependency
162
140
  name: yard
163
141
  requirement: !ruby/object:Gem::Requirement
164
142
  requirements:
165
- - - "~>"
143
+ - - ~>
166
144
  - !ruby/object:Gem::Version
167
145
  version: '0.8'
168
146
  type: :development
169
147
  prerelease: false
170
148
  version_requirements: !ruby/object:Gem::Requirement
171
149
  requirements:
172
- - - "~>"
150
+ - - ~>
173
151
  - !ruby/object:Gem::Version
174
152
  version: '0.8'
175
153
  description: Sensu plugins for strongswan
176
- email: "<sensu-users@googlegroups.com>"
154
+ email: <sensu-users@googlegroups.com>
177
155
  executables:
178
- - metrics-strongswan.rb
179
156
  - check-strongswan.rb
157
+ - metrics-strongswan.rb
180
158
  extensions: []
181
159
  extra_rdoc_files: []
182
160
  files:
@@ -191,7 +169,7 @@ homepage: https://github.com/sensu-plugins/sensu-plugins-strongswan
191
169
  licenses:
192
170
  - MIT
193
171
  metadata:
194
- maintainer: "@sensu-plugin"
172
+ maintainer: ! '@sensu-plugin'
195
173
  development_status: active
196
174
  production_status: unstable - testing recommended
197
175
  release_draft: 'false'
@@ -203,17 +181,17 @@ require_paths:
203
181
  - lib
204
182
  required_ruby_version: !ruby/object:Gem::Requirement
205
183
  requirements:
206
- - - ">="
184
+ - - ! '>='
207
185
  - !ruby/object:Gem::Version
208
186
  version: 1.9.3
209
187
  required_rubygems_version: !ruby/object:Gem::Requirement
210
188
  requirements:
211
- - - ">="
189
+ - - ! '>='
212
190
  - !ruby/object:Gem::Version
213
191
  version: '0'
214
192
  requirements: []
215
193
  rubyforge_project:
216
- rubygems_version: 2.4.6
194
+ rubygems_version: 2.4.5
217
195
  signing_key:
218
196
  specification_version: 4
219
197
  summary: Sensu plugins for strongswan
checksums.yaml.gz.sig DELETED
@@ -1,2 +0,0 @@
1
- 9io���C��9~�}�e�&���ԛ
2
- l_k5���v{�\x2�n�^�F�D���*���۳ٴ9N�.7���#w����N�^�����#}�JⲘܮGm�ZTbcj��u+ޔ�^T���;0?�c��Sp;���>�=72�/yƲ��F��k����h95�L��J�ͼ�2�Xk2�tϼM?X������vj�·o��=���<^+,���:�DeBC�=�E ^�#� ��]+xwk�o��v��C�mr��k�����F
data.tar.gz.sig DELETED
Binary file
metadata.gz.sig DELETED
Binary file