sensu-plugins-logs 0.0.2 → 0.0.3

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: f5c520e878b8476ca5538a7275429f6175b27d1d
4
- data.tar.gz: 1995735e9c0af4dbd947b2db35617e12ef8c5d4b
3
+ metadata.gz: 0834fd1e60534a1b4b603bf9e375a80eb27fa430
4
+ data.tar.gz: 5374abbd9f62ad74c3921e53b1c7e1402e8c899b
5
5
  SHA512:
6
- metadata.gz: 73d6c7ebd844a9781a86f2aaa9eb3dab634f7dfeac9d8520f08236b6b04fe7b36b459502f9c48fea91b5177d1e4c782f621172ca103f32839a32b730bea9bde9
7
- data.tar.gz: a5ca0fcd860ae2e8b61088bcd4837620d3f9344ecc5a92d3914780f1872d5f3c1680590debb2fe769e5699b163f8e9867a331ff50429696a3281c86383fee822
6
+ metadata.gz: d28a490d7c9cf33630aadfa9ac262183dcf3496929f52e3b752a99eea5f26606c37cb266db7cbd78324261eccaa14622467d79b7147ef1a8bf1db479d69c20b1
7
+ data.tar.gz: 2a22356b49aaa2f615e3ddfda2c13d7836be388eda80503829ca0e619afb582f8eeafacd80c353e5644e33bc15717b79e056d8b112f9790c79f95d98ce2c344e
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -3,11 +3,13 @@ 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
- ## Unreleased][unreleased]
6
+ ## Unreleased
7
+ - nothing
7
8
 
8
- ## [0.0.3] - 2015-07-14
9
+ ## [0.0.3] - 2015-10-22
9
10
  ### Changed
10
11
  - updated sensu-plugin gem to 1.2.0
12
+ - multibyte fix
11
13
 
12
14
  ### Removed
13
15
  - Remove JSON gem dep that is not longer needed with Ruby 1.9+
@@ -16,4 +18,3 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
16
18
 
17
19
  ### Added
18
20
  - initial release
19
-
data/README.md CHANGED
@@ -29,6 +29,6 @@
29
29
 
30
30
  ## Installation
31
31
 
32
- [Installation and Setup](https://github.com/sensu-plugins/documentation/blob/master/user_docs/installation_instructions.md)
32
+ [Installation and Setup](http://sensu-plugins.io/docs/installation_instructions.html)
33
33
 
34
34
  ## Notes
data/bin/check-log.rb CHANGED
@@ -180,8 +180,8 @@ class CheckLog < Sensu::Plugin::Check::CLI
180
180
 
181
181
  @log.seek(@bytes_to_skip, File::SEEK_SET) if @bytes_to_skip > 0
182
182
  # #YELLOW
183
- @log.each_line do |line| # rubocop:disable Style/Next
184
- bytes_read += line.size
183
+ @log.each_line do |line|
184
+ bytes_read += line.bytesize
185
185
  if config[:case_insensitive]
186
186
  m = line.downcase.match(config[:pattern].downcase) unless line.match(config[:exclude])
187
187
  else
@@ -2,7 +2,7 @@ module SensuPluginsLogs
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- PATCH = 2
5
+ PATCH = 3
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-logs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors
@@ -30,36 +30,36 @@ cert_chain:
30
30
  8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
31
31
  HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
32
32
  -----END CERTIFICATE-----
33
- date: 2015-07-14 00:00:00.000000000 Z
33
+ date: 2015-10-22 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
- name: sensu-plugin
36
+ name: fileutils
37
37
  requirement: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - '='
40
40
  - !ruby/object:Gem::Version
41
- version: 1.2.0
41
+ version: '0.7'
42
42
  type: :runtime
43
43
  prerelease: false
44
44
  version_requirements: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - '='
47
47
  - !ruby/object:Gem::Version
48
- version: 1.2.0
48
+ version: '0.7'
49
49
  - !ruby/object:Gem::Dependency
50
- name: fileutils
50
+ name: sensu-plugin
51
51
  requirement: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - '='
54
54
  - !ruby/object:Gem::Version
55
- version: '0.7'
55
+ version: 1.2.0
56
56
  type: :runtime
57
57
  prerelease: false
58
58
  version_requirements: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - '='
61
61
  - !ruby/object:Gem::Version
62
- version: '0.7'
62
+ version: 1.2.0
63
63
  - !ruby/object:Gem::Dependency
64
64
  name: bundler
65
65
  requirement: !ruby/object:Gem::Requirement
@@ -186,7 +186,10 @@ dependencies:
186
186
  - - "~>"
187
187
  - !ruby/object:Gem::Version
188
188
  version: '0.8'
189
- description: Sensu plugins for logs
189
+ description: |-
190
+ This plugin provides native log instrumentation
191
+ for monitoring, including: journald history, and
192
+ regex matching. Includes various log handlers.
190
193
  email: "<sensu-users@googlegroups.com>"
191
194
  executables:
192
195
  - handler-show-event-config.rb
@@ -231,7 +234,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
231
234
  version: '0'
232
235
  requirements: []
233
236
  rubyforge_project:
234
- rubygems_version: 2.4.6
237
+ rubygems_version: 2.4.8
235
238
  signing_key:
236
239
  specification_version: 4
237
240
  summary: Sensu plugins for logs
metadata.gz.sig CHANGED
Binary file