sensu-plugins-logs 1.3.2 → 4.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +60 -3
- data/README.md +139 -8
- data/bin/check-journal.rb +2 -0
- data/bin/check-log.rb +11 -8
- data/bin/handler-logevent.rb +18 -4
- data/bin/handler-show-event-config.rb +2 -0
- data/lib/sensu-plugins-logs.rb +2 -0
- data/lib/sensu-plugins-logs/version.rb +5 -3
- metadata +40 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67528ab6e99c7b5ef3ee2c5d4aa5cc9089a26703fc2467999fb214abee536040
|
4
|
+
data.tar.gz: 5fc68d6402cf8217bb1375bc5bf13d02b2f7a240442bb7835ae0095ce3b6709d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69cb00dcb54dabfc3c3a2c6a6ee807c635d5822386575571552b5e022f48373475882a7e73a6e43fff187e4e01075811d8c208fdcfbd2e1f984f95237543dbad
|
7
|
+
data.tar.gz: 7e7d022acd84d97700bc81d3cfe5523f572801415ca807d5f4e44ade2e66aa5fbd0abd46ed24bb95c35f1bfaaf5394f2a49e8fc037107c2a852c831d66e5766b
|
data/CHANGELOG.md
CHANGED
@@ -4,9 +4,61 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
4
4
|
This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins/community/blob/master/HOW_WE_CHANGELOG.md)
|
5
5
|
|
6
6
|
## [Unreleased]
|
7
|
+
|
8
|
+
## [4.1.1] - 2020-11-13
|
9
|
+
### Fixed
|
10
|
+
- centos8 asset target
|
11
|
+
|
12
|
+
## [4.1.0] - 2020-07-02
|
13
|
+
### Changed
|
14
|
+
- Updated rubocop development dependency to '~= 0.81.0'
|
15
|
+
- Updated rake development dependency to '~= 13.0'
|
16
|
+
|
17
|
+
### Added
|
18
|
+
- Updated asset build targets to support centos6
|
19
|
+
- Removed centos from bonsai asset definition
|
20
|
+
|
21
|
+
### Fixed
|
22
|
+
- debian asset target
|
23
|
+
|
24
|
+
## [4.0.0] - 2019-05-07
|
25
|
+
### Breaking Changes
|
26
|
+
- Bump `sensu-plugin` dependency from `~> 3.0` to `~> 4.0` you can read the changelog entries for [4.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#400---2018-02-17), [3.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#300---2018-12-04), and [2.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#v200---2017-03-29)
|
27
|
+
|
28
|
+
### Added
|
29
|
+
- Travis build automation to generate Sensu Asset tarballs that can be used n conjunction with Sensu provided ruby runtime assets and the Bonsai Asset Index
|
30
|
+
- Require latest sensu-plugin for [Sensu Go support](https://github.com/sensu-plugins/sensu-plugin#sensu-go-enablement)
|
31
|
+
|
32
|
+
|
33
|
+
## [3.0.0] - 2018-12-15
|
34
|
+
### Breaking Changes
|
35
|
+
- updated to use sensu-plugin 3.0 with Sensu Go to Sensu Core 1.x migration option
|
36
|
+
|
37
|
+
### Changes
|
38
|
+
- Update handler-logevent.rb to gracefully handle missing check and client definitions in events. Missing attributes will use 'unknown' fallback strings so that malformed events will still be captured in the event logging directory structure instead of erroring out. Useful for diagnosing problems with malformed events when migrating to Sensu Go. (@jspaleta)
|
39
|
+
|
40
|
+
### Added
|
41
|
+
- add ruby 2.5.1 into travis automation (@jspaleta)
|
42
|
+
|
43
|
+
### Fixed
|
44
|
+
- add rdoc to development dependancy to fix rake task errors ruby 2.5.1 (@jspaleta) (@dependabot)
|
45
|
+
- update dev dep for github-markup (@jspaleta) (@dependabot)
|
46
|
+
- update dev dep for codeclimate-test-reporter (@jspaleta) (@dependabot)
|
47
|
+
- update dev dep for serverspec (@jspaleta) (@dependabot)
|
48
|
+
- update dev dep for mixlib-shellout (@jspaleta) (@dependabot)
|
49
|
+
- update dev dep for rubocop (@jspaleta) (@dependabot)
|
50
|
+
|
51
|
+
## [2.0.0] - 2018-09-30
|
52
|
+
### Breaking Changes
|
53
|
+
- remove support for ruby versions `< 2.3.0` (@jspaleta)
|
54
|
+
|
55
|
+
### Added
|
56
|
+
- updated to use sensu-plugin 2.7 with 2.x to 1.x migration option (@jspaleta)
|
57
|
+
|
58
|
+
|
7
59
|
### Fixed
|
8
|
-
- check-log.rb: pattern is now required via option config
|
9
|
-
- check-log.rb: update descriptions of crit and warn options
|
60
|
+
- check-log.rb: pattern is now required via option config (@cgeers)
|
61
|
+
- check-log.rb: update descriptions of crit and warn options (@cgeers)
|
10
62
|
|
11
63
|
## [1.3.1] - 2017-10-09
|
12
64
|
### Fixed
|
@@ -75,7 +127,12 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
|
|
75
127
|
### Added
|
76
128
|
- initial release
|
77
129
|
|
78
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-logs/compare/1.
|
130
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-logs/compare/4.1.0...HEAD
|
131
|
+
[4.1.0]: https://github.com/sensu-plugins/sensu-plugins-logs/compare/4.0.0...4.1.0
|
132
|
+
[4.0.0]: https://github.com/sensu-plugins/sensu-plugins-logs/compare/3.0.0...4.0.0
|
133
|
+
[3.0.0]: https://github.com/sensu-plugins/sensu-plugins-logs/compare/2.0.0...3.0.0
|
134
|
+
[3.0.0]: https://github.com/sensu-plugins/sensu-plugins-logs/compare/2.0.0...3.0.0
|
135
|
+
[2.0.0]: https://github.com/sensu-plugins/sensu-plugins-logs/compare/1.3.1...2.0.0
|
79
136
|
[1.3.1]: https://github.com/sensu-plugins/sensu-plugins-logs/compare/1.3.0...1.3.1
|
80
137
|
[1.3.0]: https://github.com/sensu-plugins/sensu-plugins-logs/compare/1.2.1...1.3.0
|
81
138
|
[1.2.1]: https://github.com/sensu-plugins/sensu-plugins-logs/compare/1.2.0...1.2.1
|
data/README.md
CHANGED
@@ -1,20 +1,114 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
[![Sensu Bonsai Asset](https://img.shields.io/badge/Bonsai-Download%20Me-brightgreen.svg?colorB=89C967&logo=sensu)](https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-logs)
|
3
2
|
[ ![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-logs.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-logs)
|
4
3
|
[![Gem Version](https://badge.fury.io/rb/sensu-plugins-logs.svg)](http://badge.fury.io/rb/sensu-plugins-logs)
|
5
4
|
[![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-logs/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-logs)
|
6
5
|
[![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-logs/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-logs)
|
7
6
|
[![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-logs.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-logs)
|
8
7
|
|
9
|
-
##
|
8
|
+
## Sensu Plugins Logs Plugin
|
9
|
+
|
10
|
+
- [Overview](#overview)
|
11
|
+
- [Files](#files)
|
12
|
+
- [Usage examples](#usage-examples)
|
13
|
+
- [Configuration](#configuration)
|
14
|
+
- [Sensu Go](#sensu-go)
|
15
|
+
- [Asset registration](#asset-registration)
|
16
|
+
- [Asset definition](#asset-definition)
|
17
|
+
- [Check definition](#check-definition)
|
18
|
+
- [Sensu Core](#sensu-core)
|
19
|
+
- [Check definition](#check-definition)
|
20
|
+
- [Installation from source](#installation-from-source)
|
21
|
+
- [Additional notes](#additional-notes)
|
22
|
+
- [Contributing](#contributing)
|
23
|
+
|
24
|
+
### Overview
|
10
25
|
|
11
|
-
|
26
|
+
This plugin provides native instrumentation for monitoring log files or system logs via journald for regular expressions and a Sensu handler for logging Sensu events to log files.
|
27
|
+
|
28
|
+
### Files
|
12
29
|
* bin/check-journal.rb
|
13
30
|
* bin/check-log.rb
|
14
31
|
* bin/handler-logevent.rb
|
15
32
|
* bin/handler-show-event-config.rb
|
33
|
+
|
34
|
+
**check-journal**
|
35
|
+
Checks the systemd journal (`journald`) for a pattern.
|
16
36
|
|
17
|
-
|
37
|
+
**check-log**
|
38
|
+
Checks a log file for a regular expression, skipping lines that have already been read. Stores the number of bytes read and seeks to that position next time (instead of making a backup copy of the whole log file).
|
39
|
+
|
40
|
+
**handler-logevent**
|
41
|
+
Logs last `settings['logevent']['keep']` JSON events in files as `settings['logevent']['eventdir']/client/check_name/timestamp.action`.
|
42
|
+
|
43
|
+
**handler-show-event-config**
|
44
|
+
Lists the handler's config and the event it read.
|
45
|
+
|
46
|
+
## Usage examples
|
47
|
+
|
48
|
+
### Help
|
49
|
+
|
50
|
+
**check-journal.rb**
|
51
|
+
```
|
52
|
+
Usage: check-journal.rb (options)
|
53
|
+
-c, --critical COUNT Number of matches to consider a critical issue.
|
54
|
+
-j "ARGS1 ARGS2 ...", Pass additional arguments to journalctl, eg: "-u nginx.service"
|
55
|
+
--journalctl_args
|
56
|
+
-q, --pattern PAT Pattern to search for
|
57
|
+
-s, --since TIMESPEC Query journal entries on or newer than the specified date/time.
|
58
|
+
-v Verbose output. Helpful for debugging the plugin.
|
59
|
+
-w, --warning COUNT Number of matches to consider a warning
|
60
|
+
```
|
61
|
+
|
62
|
+
**handler-logevent.rb**
|
63
|
+
```
|
64
|
+
Usage: handler-logevent.rb (options)
|
65
|
+
--map-go-event-into-ruby Enable Sensu Go to Sensu Ruby event mapping. Alternatively set envvar SENSU_MAP_GO_EVENT_INTO_RUBY=1.
|
66
|
+
|
67
|
+
```
|
68
|
+
|
69
|
+
## Configuration
|
70
|
+
### Sensu Go
|
71
|
+
#### Asset registration
|
72
|
+
|
73
|
+
Assets are the best way to make use of this plugin. If you're not using an asset, please consider doing so! If you're using sensuctl 5.13 or later, you can use the following command to add the asset:
|
74
|
+
|
75
|
+
`sensuctl asset add sensu-plugins/sensu-plugins-logs`
|
76
|
+
|
77
|
+
If you're using an earlier version of sensuctl, you can download the asset definition from [this project's Bonsai asset index page](https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-logs).
|
78
|
+
|
79
|
+
#### Asset definition
|
80
|
+
|
81
|
+
```yaml
|
82
|
+
---
|
83
|
+
type: Asset
|
84
|
+
api_version: core/v2
|
85
|
+
metadata:
|
86
|
+
name: sensu-plugins-logs
|
87
|
+
spec:
|
88
|
+
url: https://assets.bonsai.sensu.io/9ba6c6b27b5ca36538de3a13f014718ead3a1215/sensu-plugins-logs_4.0.0_centos_linux_amd64.tar.gz
|
89
|
+
sha512: 4e29c549924b5df01c7a8e0ed105659b3e9e81ca5c919548efd03a2ccaaf83d8605130ab80132e93db6f5e25c7acddbd7f6e8c6d185567eb5f73cd420dcc2f06
|
90
|
+
```
|
91
|
+
|
92
|
+
#### Check definition
|
93
|
+
|
94
|
+
```yaml
|
95
|
+
---
|
96
|
+
type: CheckConfig
|
97
|
+
spec:
|
98
|
+
command: "check-journal.rb"
|
99
|
+
handlers: []
|
100
|
+
high_flap_threshold: 0
|
101
|
+
interval: 10
|
102
|
+
low_flap_threshold: 0
|
103
|
+
publish: true
|
104
|
+
runtime_assets:
|
105
|
+
- sensu-plugins/sensu-plugins-logs
|
106
|
+
- sensu/sensu-ruby-runtime
|
107
|
+
subscriptions:
|
108
|
+
- linux
|
109
|
+
```
|
110
|
+
|
111
|
+
#### Handler definition
|
18
112
|
|
19
113
|
**handler-logevent**
|
20
114
|
```
|
@@ -26,8 +120,45 @@
|
|
26
120
|
}
|
27
121
|
```
|
28
122
|
|
29
|
-
|
123
|
+
### Sensu Core
|
124
|
+
|
125
|
+
#### Check definition
|
126
|
+
```json
|
127
|
+
{
|
128
|
+
"checks": {
|
129
|
+
"check-journal": {
|
130
|
+
"command": "check-journal.rb",
|
131
|
+
"subscribers": ["linux"],
|
132
|
+
"interval": 10,
|
133
|
+
"refresh": 10,
|
134
|
+
"handlers": ["influxdb"]
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
```
|
139
|
+
|
140
|
+
## Installation from source
|
141
|
+
|
142
|
+
### Sensu Go
|
143
|
+
|
144
|
+
See the instructions above for [asset registration](#asset-registration).
|
145
|
+
|
146
|
+
### Sensu Core
|
147
|
+
|
148
|
+
Install and setup plugins on [Sensu Core](https://docs.sensu.io/sensu-core/latest/installation/installing-plugins/).
|
149
|
+
|
150
|
+
## Additional notes
|
151
|
+
|
152
|
+
### Sensu Go Ruby Runtime Assets
|
153
|
+
|
154
|
+
The Sensu assets packaged from this repository are built against the Sensu Ruby runtime environment. When using these assets as part of a Sensu Go resource (check, mutator, or handler), make sure to include the corresponding [Sensu Ruby Runtime Asset](https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime) in the list of assets needed by the resource.
|
155
|
+
|
156
|
+
### Use this plugin with Sensu Go
|
157
|
+
|
158
|
+
To use the included handlers with Sensu Go, use the `--map-go-event-into-ruby` argument or set environment variable `SENSU_MAP_GO_EVENT_INTO_RUBY=1`.
|
159
|
+
|
160
|
+
Make sure the required handler configuration JSON exists under `/etc/sensu/conf.d/` or at a path in the colon-separated list of files in the environment variable `SENSU_CONFIG_FILES`.
|
30
161
|
|
31
|
-
|
162
|
+
## Contributing
|
32
163
|
|
33
|
-
|
164
|
+
See [CONTRIBUTING.md](https://github.com/sensu-plugins/sensu-plugins-logs/blob/master/CONTRIBUTING.md) for information about contributing to this plugin.
|
data/bin/check-journal.rb
CHANGED
data/bin/check-log.rb
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
|
+
# frozen_string_literal: false
|
3
|
+
|
2
4
|
#
|
3
5
|
# check-log
|
4
6
|
#
|
@@ -167,7 +169,7 @@ class CheckLog < Sensu::Plugin::Check::CLI
|
|
167
169
|
file_list.each do |log_file|
|
168
170
|
begin
|
169
171
|
open_log log_file
|
170
|
-
rescue => e
|
172
|
+
rescue StandardError => e
|
171
173
|
unknown "Could not open log file: #{e}"
|
172
174
|
end
|
173
175
|
n_warns, n_crits, accumulative_error = search_log
|
@@ -199,14 +201,15 @@ class CheckLog < Sensu::Plugin::Check::CLI
|
|
199
201
|
end
|
200
202
|
|
201
203
|
@state_file = File.join(state_dir, File.expand_path(log_file).sub(/^([A-Z]):\//, '\1/'))
|
202
|
-
@bytes_to_skip =
|
203
|
-
|
204
|
-
|
205
|
-
|
204
|
+
@bytes_to_skip =
|
205
|
+
begin
|
206
|
+
File.open(@state_file) do |file|
|
207
|
+
file.flock(File::LOCK_SH) unless Gem.win_platform?
|
208
|
+
file.readline.to_i
|
209
|
+
end
|
210
|
+
rescue StandardError
|
211
|
+
0
|
206
212
|
end
|
207
|
-
rescue
|
208
|
-
0
|
209
|
-
end
|
210
213
|
end
|
211
214
|
|
212
215
|
def search_log
|
data/bin/handler-logevent.rb
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: false
|
3
|
+
|
2
4
|
#
|
3
5
|
# This handler logs last settings['logevent']['keep'] json events in files as
|
4
6
|
# settings['logevent']['eventdir']/client/check_name/timestamp.action
|
@@ -13,16 +15,28 @@ require 'json'
|
|
13
15
|
|
14
16
|
class LogEvent < Sensu::Handler
|
15
17
|
def handle
|
16
|
-
|
18
|
+
event_action = @event['action']
|
19
|
+
event_action ||= 'unknown'
|
20
|
+
check_name = @event['check']['name'] if (@event.include? 'check') && (@event['check'].include? 'name')
|
21
|
+
check_name ||= 'unknown'
|
22
|
+
client_name = @event['client']['name'] if (@event.include? 'client') && (@event['client'].include? 'name')
|
23
|
+
client_name ||= 'unknown'
|
24
|
+
check_executed = @event['check']['executed'] if (@event.include? 'check') && (@event['check'].include? 'executed')
|
25
|
+
check_executed ||= 'unknown'
|
26
|
+
dir_stub = settings['logevent']['eventdir'] if (settings.include? 'logevent') && (settings['logevent'].include? 'eventdir')
|
27
|
+
puts settings
|
28
|
+
raise 'logevent eventdir setting is missing' unless dir_stub
|
29
|
+
|
30
|
+
eventdir = "#{settings['logevent']['eventdir']}/#{client_name}/#{check_name}"
|
17
31
|
FileUtils.mkdir_p(eventdir)
|
18
32
|
|
19
|
-
File.open("#{eventdir}/#{
|
33
|
+
File.open("#{eventdir}/#{check_executed}.#{event_action}", 'w') do |f|
|
20
34
|
f.write(JSON.pretty_generate(@event))
|
21
35
|
end
|
22
36
|
|
23
|
-
events = Dir.glob("#{eventdir}/*.#{
|
37
|
+
events = Dir.glob("#{eventdir}/*.#{event_action}")
|
24
38
|
# #YELLOW
|
25
|
-
if settings['logevent']['keep'] < events.length # rubocop:disable GuardClause
|
39
|
+
if settings['logevent']['keep'] < events.length # rubocop:disable Style/GuardClause
|
26
40
|
FileUtils.rm_f(events.sort.reverse.shift(settings['logevent']['keep']))
|
27
41
|
end
|
28
42
|
end
|
data/lib/sensu-plugins-logs.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-logs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 4.1.1
|
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:
|
11
|
+
date: 2020-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-plugin
|
@@ -16,56 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '4.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '4.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1
|
33
|
+
version: '2.1'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1
|
40
|
+
version: '2.1'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: codeclimate-test-reporter
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0
|
47
|
+
version: '1.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0
|
54
|
+
version: '1.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: github-markup
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '3.0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '3.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: kitchen-docker
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,22 +98,22 @@ dependencies:
|
|
98
98
|
name: mixlib-shellout
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "<"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: 2.3.0
|
104
101
|
- - "~>"
|
105
102
|
- !ruby/object:Gem::Version
|
106
103
|
version: '2.2'
|
104
|
+
- - "<"
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: 2.5.0
|
107
107
|
type: :development
|
108
108
|
prerelease: false
|
109
109
|
version_requirements: !ruby/object:Gem::Requirement
|
110
110
|
requirements:
|
111
|
-
- - "<"
|
112
|
-
- !ruby/object:Gem::Version
|
113
|
-
version: 2.3.0
|
114
111
|
- - "~>"
|
115
112
|
- !ruby/object:Gem::Version
|
116
113
|
version: '2.2'
|
114
|
+
- - "<"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: 2.5.0
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: pry
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -134,14 +134,28 @@ dependencies:
|
|
134
134
|
requirements:
|
135
135
|
- - "~>"
|
136
136
|
- !ruby/object:Gem::Version
|
137
|
-
version: '
|
137
|
+
version: '13.0'
|
138
138
|
type: :development
|
139
139
|
prerelease: false
|
140
140
|
version_requirements: !ruby/object:Gem::Requirement
|
141
141
|
requirements:
|
142
142
|
- - "~>"
|
143
143
|
- !ruby/object:Gem::Version
|
144
|
-
version: '
|
144
|
+
version: '13.0'
|
145
|
+
- !ruby/object:Gem::Dependency
|
146
|
+
name: rdoc
|
147
|
+
requirement: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - "~>"
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '6.0'
|
152
|
+
type: :development
|
153
|
+
prerelease: false
|
154
|
+
version_requirements: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - "~>"
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: '6.0'
|
145
159
|
- !ruby/object:Gem::Dependency
|
146
160
|
name: redcarpet
|
147
161
|
requirement: !ruby/object:Gem::Requirement
|
@@ -176,28 +190,28 @@ dependencies:
|
|
176
190
|
requirements:
|
177
191
|
- - "~>"
|
178
192
|
- !ruby/object:Gem::Version
|
179
|
-
version: 0.
|
193
|
+
version: 0.81.0
|
180
194
|
type: :development
|
181
195
|
prerelease: false
|
182
196
|
version_requirements: !ruby/object:Gem::Requirement
|
183
197
|
requirements:
|
184
198
|
- - "~>"
|
185
199
|
- !ruby/object:Gem::Version
|
186
|
-
version: 0.
|
200
|
+
version: 0.81.0
|
187
201
|
- !ruby/object:Gem::Dependency
|
188
202
|
name: serverspec
|
189
203
|
requirement: !ruby/object:Gem::Requirement
|
190
204
|
requirements:
|
191
205
|
- - "~>"
|
192
206
|
- !ruby/object:Gem::Version
|
193
|
-
version: 2.
|
207
|
+
version: 2.41.3
|
194
208
|
type: :development
|
195
209
|
prerelease: false
|
196
210
|
version_requirements: !ruby/object:Gem::Requirement
|
197
211
|
requirements:
|
198
212
|
- - "~>"
|
199
213
|
- !ruby/object:Gem::Version
|
200
|
-
version: 2.
|
214
|
+
version: 2.41.3
|
201
215
|
- !ruby/object:Gem::Dependency
|
202
216
|
name: test-kitchen
|
203
217
|
requirement: !ruby/object:Gem::Requirement
|
@@ -232,9 +246,9 @@ description: |-
|
|
232
246
|
regex matching. Includes various log handlers.
|
233
247
|
email: "<sensu-users@googlegroups.com>"
|
234
248
|
executables:
|
235
|
-
- handler-show-event-config.rb
|
236
|
-
- check-journal.rb
|
237
249
|
- check-log.rb
|
250
|
+
- check-journal.rb
|
251
|
+
- handler-show-event-config.rb
|
238
252
|
- handler-logevent.rb
|
239
253
|
extensions: []
|
240
254
|
extra_rdoc_files: []
|
@@ -266,15 +280,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
266
280
|
requirements:
|
267
281
|
- - ">="
|
268
282
|
- !ruby/object:Gem::Version
|
269
|
-
version: '2.
|
283
|
+
version: '2.3'
|
270
284
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
271
285
|
requirements:
|
272
286
|
- - ">="
|
273
287
|
- !ruby/object:Gem::Version
|
274
288
|
version: '0'
|
275
289
|
requirements: []
|
276
|
-
|
277
|
-
rubygems_version: 2.7.6
|
290
|
+
rubygems_version: 3.0.8
|
278
291
|
signing_key:
|
279
292
|
specification_version: 4
|
280
293
|
summary: Sensu plugins for logs
|