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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +4 -3
- data/README.md +1 -1
- data/bin/check-log.rb +2 -2
- data/lib/sensu-plugins-logs/version.rb +1 -1
- metadata +13 -10
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0834fd1e60534a1b4b603bf9e375a80eb27fa430
|
4
|
+
data.tar.gz: 5374abbd9f62ad74c3921e53b1c7e1402e8c899b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
6
|
+
## Unreleased
|
7
|
+
- nothing
|
7
8
|
|
8
|
-
## [0.0.3] - 2015-
|
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
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|
|
184
|
-
bytes_read += line.
|
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
|
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.
|
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-
|
33
|
+
date: 2015-10-22 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
|
-
name:
|
36
|
+
name: fileutils
|
37
37
|
requirement: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - '='
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version:
|
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:
|
48
|
+
version: '0.7'
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
|
-
name:
|
50
|
+
name: sensu-plugin
|
51
51
|
requirement: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - '='
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
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:
|
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:
|
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.
|
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
|