sensu-plugins-monit 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +10 -0
- data/LICENSE +22 -0
- data/README.md +82 -0
- data/bin/check-monit-email.rb +145 -0
- data/bin/check-monit-status.rb +97 -0
- data/lib/sensu-plugins-monit.rb +1 -0
- data/lib/sensu-plugins-monit/version.rb +9 -0
- metadata +248 -0
- metadata.gz.sig +1 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: fb0170fde188d11852195cdb45bab6938eb749ad
|
4
|
+
data.tar.gz: 6c5eac5208ecce01bd461e0ce7dd7e0d695faee3
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ea2af671a8d1267c8b0b19684218fda17f26b5582263fafbf80365e80a785d8c7617c72778ed28402045115af3fb2d384c5c8d1fb2ee4782884577a5a3f09b87
|
7
|
+
data.tar.gz: 2c9f1036ce50ed3c756d088e3900469653fca311879689e165eb68fd9909d20cb580fe94880035df8eea488e9bea926f82279cb6359e8449609c1379f8e3763c
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data.tar.gz.sig
ADDED
Binary file
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
#Change Log
|
2
|
+
This project adheres to [Semantic Versioning](http://semver.org/).
|
3
|
+
|
4
|
+
This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
|
5
|
+
|
6
|
+
## Unreleased][unreleased]
|
7
|
+
|
8
|
+
## [0.0.1] - 2015-06-04
|
9
|
+
### Added
|
10
|
+
- initial release
|
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2015 Sensu-Plugins
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,82 @@
|
|
1
|
+
## Sensu-Plugins-monit
|
2
|
+
|
3
|
+
[![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-monit.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-monit)
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/sensu-plugins-monit.svg)](http://badge.fury.io/rb/sensu-plugins-monit)
|
5
|
+
[![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-monit/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-monit)
|
6
|
+
[![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-monit/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-monit)
|
7
|
+
[![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-monit.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-monit)
|
8
|
+
[ ![Codeship Status for sensu-plugins/sensu-plugins-monit](https://codeship.com/projects/2ad2d5f0-e89c-0132-b8db-62885e5c211b/status?branch=master)](https://codeship.com/projects/82845)
|
9
|
+
|
10
|
+
## Functionality
|
11
|
+
|
12
|
+
## Files
|
13
|
+
* bin/check-monit-status.rb
|
14
|
+
* bin/check-monit-email.rb
|
15
|
+
|
16
|
+
## Usage
|
17
|
+
|
18
|
+
## Installation
|
19
|
+
|
20
|
+
[Installation and Setup](https://github.com/sensu-plugins/documentation/blob/master/user_docs/installation_instructions.md)
|
21
|
+
|
22
|
+
## Notes
|
23
|
+
|
24
|
+
Monit plugin for sensu
|
25
|
+
======================
|
26
|
+
|
27
|
+
Do you already have Monit running for your process monitoring and restarting but want to add sensu to your monitoring tool belt? Now you can have the best of both worlds and pipe in your Monit notifications in to sensu.
|
28
|
+
|
29
|
+
Notes
|
30
|
+
-----
|
31
|
+
|
32
|
+
I currently use an array of "Events" that monit produce to figure out if the alert should be critical or resolved. Also monit does not seem to have a warning level so I left that out. You can learn more about monit events [here](http://mmonit.com/monit/documentation/monit.html#alert_messages)
|
33
|
+
|
34
|
+
As with all open source projects this should be treated as alpha code and needs more TLC.
|
35
|
+
|
36
|
+
Requirements
|
37
|
+
-------------
|
38
|
+
You will need the mail gem to parse the monit email. We dont send any email but do receive it.
|
39
|
+
|
40
|
+
$ (sudo) gem install mail
|
41
|
+
|
42
|
+
Configuration
|
43
|
+
-------------
|
44
|
+
|
45
|
+
The setup is very different from other sensu plugins so RTFM.
|
46
|
+
|
47
|
+
* Place monit-email.rb in a location that postfix can access it and execute it. Recommended location is <sensu instal director>/plugins/
|
48
|
+
* Configure postfix to pipe messages from monit email address to monit-email.rb plugin
|
49
|
+
* Create/Modify postfix transport at /etc/postfix/transport
|
50
|
+
```
|
51
|
+
monit@domain.com monit:
|
52
|
+
```
|
53
|
+
* Create transport map db
|
54
|
+
$ postmap /etc/postfix/transport
|
55
|
+
* Add transport_map to main.cf
|
56
|
+
```
|
57
|
+
transport_maps = hash:/etc/postfix/transport
|
58
|
+
```
|
59
|
+
* Add the following to your master.cf
|
60
|
+
```
|
61
|
+
#==========================================================================
|
62
|
+
# service type private unpriv chroot wakeup maxproc command + args
|
63
|
+
# (yes) (yes) (yes) (never) (100)
|
64
|
+
#==========================================================================
|
65
|
+
|
66
|
+
monit unix - n n - - pipe
|
67
|
+
user=sensu argv=/etc/sensu/plugins/monit-email.rb
|
68
|
+
```
|
69
|
+
* Reload postifx
|
70
|
+
$ sudo service postfix reload
|
71
|
+
|
72
|
+
License
|
73
|
+
-----------
|
74
|
+
Copyright 2012 Atlassian, Inc. and contributors.
|
75
|
+
|
76
|
+
Released under the same terms as Sensu (the MIT license); see LICENSE for details.
|
77
|
+
|
78
|
+
[1]:[https://travis-ci.org/sensu-plugins/sensu-plugins-monit]
|
79
|
+
[2]:[http://badge.fury.io/rb/sensu-plugins-monit]
|
80
|
+
[3]:[https://codeclimate.com/github/sensu-plugins/sensu-plugins-monit]
|
81
|
+
[4]:[https://codeclimate.com/github/sensu-plugins/sensu-plugins-monit]
|
82
|
+
[5]:[https://gemnasium.com/sensu-plugins/sensu-plugins-monit]
|
@@ -0,0 +1,145 @@
|
|
1
|
+
#! /usr/bin/env ruby
|
2
|
+
#
|
3
|
+
# check-monit-email.rb
|
4
|
+
#
|
5
|
+
# DESCRIPTION:
|
6
|
+
# what is this thing supposed to do, monitor? How do alerts or
|
7
|
+
# alarms work?
|
8
|
+
#
|
9
|
+
# OUTPUT:
|
10
|
+
# plain text, metric data, etc
|
11
|
+
#
|
12
|
+
# PLATFORMS:
|
13
|
+
# Linux, Windows, BSD, Solaris, etc
|
14
|
+
#
|
15
|
+
# DEPENDENCIES:
|
16
|
+
# gem: sensu-plugin
|
17
|
+
# gem: mail
|
18
|
+
#
|
19
|
+
# USAGE:
|
20
|
+
# example commands
|
21
|
+
#
|
22
|
+
# NOTES:
|
23
|
+
# Does it behave differently on specific platforms, specific use cases, etc
|
24
|
+
#
|
25
|
+
# LICENSE:
|
26
|
+
# <your name> <your email>
|
27
|
+
# Released under the same terms as Sensu (the MIT license); see LICENSE
|
28
|
+
# for details.
|
29
|
+
#
|
30
|
+
|
31
|
+
# !/usr/bin/env ruby
|
32
|
+
require 'socket'
|
33
|
+
require 'mail'
|
34
|
+
require 'json'
|
35
|
+
|
36
|
+
class ParseEmail
|
37
|
+
def initialize
|
38
|
+
@email = ARGF.read
|
39
|
+
end
|
40
|
+
|
41
|
+
def token
|
42
|
+
@token ||= Mail.read_from_string(@email)
|
43
|
+
end
|
44
|
+
|
45
|
+
def body
|
46
|
+
return @body if @body
|
47
|
+
@body = "#{token.subject} ERROR BODY:#{token.body} ALERT:#{alert}"
|
48
|
+
end
|
49
|
+
|
50
|
+
def service
|
51
|
+
return @service if @service
|
52
|
+
service_string = token.body.match(/Service: .*/)
|
53
|
+
if service_string
|
54
|
+
@service = service_string.split(': ')[1]
|
55
|
+
else
|
56
|
+
@service = token.subject.sub(/([^ ]+) *.*/, '\1')
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
def alert
|
61
|
+
return @alert if @alert
|
62
|
+
alert_string = token.body.match(/Event: .*/)
|
63
|
+
if alert_string
|
64
|
+
@alert = alert_string.to_s.split(':')[1].strip
|
65
|
+
else
|
66
|
+
alert_string = token.body.to_s.split("\n")[0]
|
67
|
+
@alert = alert_string.split(':')[-1].strip
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
def failure?
|
72
|
+
array_failure = [
|
73
|
+
'Checksum failed',
|
74
|
+
'Connection failed',
|
75
|
+
'Content failed',
|
76
|
+
'Data access error',
|
77
|
+
'Execution failed',
|
78
|
+
'Filesystem flags failed',
|
79
|
+
'GID failed',
|
80
|
+
'ICMP failed',
|
81
|
+
'Monit instance changed',
|
82
|
+
'Invalid type',
|
83
|
+
'Does not exist',
|
84
|
+
'Permission failed',
|
85
|
+
'PID failed',
|
86
|
+
'PPID failed',
|
87
|
+
'Resource limit matched',
|
88
|
+
'Size failed',
|
89
|
+
'Status failed',
|
90
|
+
'Timeout',
|
91
|
+
'Timestamp failed',
|
92
|
+
'UID failed',
|
93
|
+
'Uptime failed',
|
94
|
+
'process is not running.'
|
95
|
+
]
|
96
|
+
array_failure.include?(alert)
|
97
|
+
end
|
98
|
+
|
99
|
+
def recover?
|
100
|
+
array_recovery = [
|
101
|
+
/^Checksum succeeded$/,
|
102
|
+
/^Connection succeeded$/,
|
103
|
+
/^Content succeeded$/,
|
104
|
+
/^Data access succeeded$/,
|
105
|
+
/^Execution succeeded$/,
|
106
|
+
/^Filesystem flags succeeded$/,
|
107
|
+
/^GID succeeded$/,
|
108
|
+
/^ICMP succeeded$/,
|
109
|
+
/^Monit instance changed not$/,
|
110
|
+
/^Type succeeded$/,
|
111
|
+
/^Exists$/,
|
112
|
+
/^Permission succeeded$/,
|
113
|
+
/^PID succeeded$/,
|
114
|
+
/^PPID succeeded$/,
|
115
|
+
/^Resource limit succeeded$/,
|
116
|
+
/^Size succeeded$/,
|
117
|
+
/^Status succeeded$/,
|
118
|
+
/^Timeout recovery$/,
|
119
|
+
/^Timestamp succeeded$/,
|
120
|
+
/^UID succeeded$/,
|
121
|
+
/^Uptime succeeded$/,
|
122
|
+
/^process is running with pid \d+.$/
|
123
|
+
]
|
124
|
+
!array_recovery.find { |r| alert.match r }.nil?
|
125
|
+
end
|
126
|
+
|
127
|
+
def to_json
|
128
|
+
{ 'output' => body, 'name' => service, 'status' => alert_level, 'type' => 'monit' }.to_json
|
129
|
+
end
|
130
|
+
|
131
|
+
def alert_level
|
132
|
+
if failure?
|
133
|
+
2
|
134
|
+
elsif recover?
|
135
|
+
0
|
136
|
+
else
|
137
|
+
3
|
138
|
+
end
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
email = ParseEmail.new
|
143
|
+
s = TCPSocket.new 'localhost', 3030
|
144
|
+
s.puts email.to_json
|
145
|
+
s.close
|
@@ -0,0 +1,97 @@
|
|
1
|
+
# !/usr/bin/env ruby
|
2
|
+
#
|
3
|
+
# Checks Monit Service Statuses
|
4
|
+
# ===
|
5
|
+
#
|
6
|
+
# DESCRIPTION:
|
7
|
+
# This plugin checks the status of monit
|
8
|
+
# servces via the monit HTTP API.
|
9
|
+
#
|
10
|
+
# OUTPUT:
|
11
|
+
# plain-text
|
12
|
+
#
|
13
|
+
# PLATFORMS:
|
14
|
+
# linux
|
15
|
+
# bsd
|
16
|
+
#
|
17
|
+
# DEPENDENCIES:
|
18
|
+
# gem: sensu-plugin
|
19
|
+
#
|
20
|
+
# USAGE:
|
21
|
+
# example commands
|
22
|
+
#
|
23
|
+
# LICENSE:
|
24
|
+
# Released under the same terms as Sensu (the MIT license); see LICENSE
|
25
|
+
# for details.
|
26
|
+
|
27
|
+
require 'sensu-plugin/check/cli'
|
28
|
+
require 'rexml/document'
|
29
|
+
require 'net/http'
|
30
|
+
|
31
|
+
class CheckMonit < Sensu::Plugin::Check::CLI
|
32
|
+
option :host,
|
33
|
+
short: '-h host',
|
34
|
+
default: '127.0.0.1'
|
35
|
+
|
36
|
+
option :port,
|
37
|
+
short: '-p port',
|
38
|
+
default: 2812
|
39
|
+
|
40
|
+
option :user,
|
41
|
+
short: '-U user'
|
42
|
+
|
43
|
+
option :pass,
|
44
|
+
short: '-P pass'
|
45
|
+
|
46
|
+
option :uri,
|
47
|
+
short: '-u uri',
|
48
|
+
default: '/_status?format=xml'
|
49
|
+
|
50
|
+
option :ignore,
|
51
|
+
short: '-i ignore',
|
52
|
+
default: ''
|
53
|
+
|
54
|
+
def run
|
55
|
+
status_doc = REXML::Document.new(monit_status)
|
56
|
+
ignored = config[:ignore].split(',')
|
57
|
+
|
58
|
+
status_doc.elements.each('monit/service') do |svc|
|
59
|
+
name = svc.elements['name'].text
|
60
|
+
monitored = svc.elements['monitor'].text
|
61
|
+
status = svc.elements['status'].text
|
62
|
+
|
63
|
+
next if ignored.include? name
|
64
|
+
|
65
|
+
# #YELLOW
|
66
|
+
unless %w( 1 5 ).include? monitored # rubocop:disable IfUnlessModifier
|
67
|
+
unknown "#{name} status unkown"
|
68
|
+
end
|
69
|
+
|
70
|
+
# #YELLOW
|
71
|
+
unless status == '0' # rubocop:disable IfUnlessModifier
|
72
|
+
critical "#{name} status failed"
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
ok 'All services OK'
|
77
|
+
end
|
78
|
+
|
79
|
+
def monit_status
|
80
|
+
res = Net::HTTP.start(config[:host], config[:port]) do |http|
|
81
|
+
req = Net::HTTP::Get.new(config[:uri])
|
82
|
+
|
83
|
+
# #YELLOW
|
84
|
+
unless config[:user].nil? # rubocop:disable IfUnlessModifier
|
85
|
+
req.basic_auth config[:user], config[:pass]
|
86
|
+
end
|
87
|
+
|
88
|
+
http.request(req)
|
89
|
+
end
|
90
|
+
|
91
|
+
unless res.code.to_i == 200
|
92
|
+
unknown "Failed to fetch status from #{config[:host]}:#{config[:port]}"
|
93
|
+
end
|
94
|
+
|
95
|
+
res.body
|
96
|
+
end
|
97
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'sensu-plugins-monit/version'
|
metadata
ADDED
@@ -0,0 +1,248 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sensu-plugins-monit
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Sensu-Plugins and contributors
|
8
|
+
autorequire:
|
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-06-28 00:00:00.000000000 Z
|
34
|
+
dependencies:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: sensu-plugin
|
37
|
+
requirement: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - '='
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: 1.1.0
|
42
|
+
type: :runtime
|
43
|
+
prerelease: false
|
44
|
+
version_requirements: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - '='
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: 1.1.0
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: json
|
51
|
+
requirement: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - '='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: 1.8.3
|
56
|
+
type: :runtime
|
57
|
+
prerelease: false
|
58
|
+
version_requirements: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - '='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 1.8.3
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
name: mail
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - '='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 2.6.3
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - '='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 2.6.3
|
77
|
+
- !ruby/object:Gem::Dependency
|
78
|
+
name: bundler
|
79
|
+
requirement: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - "~>"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '1.7'
|
84
|
+
type: :development
|
85
|
+
prerelease: false
|
86
|
+
version_requirements: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - "~>"
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '1.7'
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: codeclimate-test-reporter
|
93
|
+
requirement: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - "~>"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '0.4'
|
98
|
+
type: :development
|
99
|
+
prerelease: false
|
100
|
+
version_requirements: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - "~>"
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0.4'
|
105
|
+
- !ruby/object:Gem::Dependency
|
106
|
+
name: github-markup
|
107
|
+
requirement: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - "~>"
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '1.3'
|
112
|
+
type: :development
|
113
|
+
prerelease: false
|
114
|
+
version_requirements: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - "~>"
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '1.3'
|
119
|
+
- !ruby/object:Gem::Dependency
|
120
|
+
name: pry
|
121
|
+
requirement: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - "~>"
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0.10'
|
126
|
+
type: :development
|
127
|
+
prerelease: false
|
128
|
+
version_requirements: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - "~>"
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0.10'
|
133
|
+
- !ruby/object:Gem::Dependency
|
134
|
+
name: rubocop
|
135
|
+
requirement: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - '='
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '0.30'
|
140
|
+
type: :development
|
141
|
+
prerelease: false
|
142
|
+
version_requirements: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - '='
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '0.30'
|
147
|
+
- !ruby/object:Gem::Dependency
|
148
|
+
name: rspec
|
149
|
+
requirement: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - "~>"
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '3.1'
|
154
|
+
type: :development
|
155
|
+
prerelease: false
|
156
|
+
version_requirements: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - "~>"
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '3.1'
|
161
|
+
- !ruby/object:Gem::Dependency
|
162
|
+
name: rake
|
163
|
+
requirement: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - "~>"
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: '10.0'
|
168
|
+
type: :development
|
169
|
+
prerelease: false
|
170
|
+
version_requirements: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - "~>"
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: '10.0'
|
175
|
+
- !ruby/object:Gem::Dependency
|
176
|
+
name: redcarpet
|
177
|
+
requirement: !ruby/object:Gem::Requirement
|
178
|
+
requirements:
|
179
|
+
- - "~>"
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '3.2'
|
182
|
+
type: :development
|
183
|
+
prerelease: false
|
184
|
+
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
requirements:
|
186
|
+
- - "~>"
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: '3.2'
|
189
|
+
- !ruby/object:Gem::Dependency
|
190
|
+
name: yard
|
191
|
+
requirement: !ruby/object:Gem::Requirement
|
192
|
+
requirements:
|
193
|
+
- - "~>"
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: '0.8'
|
196
|
+
type: :development
|
197
|
+
prerelease: false
|
198
|
+
version_requirements: !ruby/object:Gem::Requirement
|
199
|
+
requirements:
|
200
|
+
- - "~>"
|
201
|
+
- !ruby/object:Gem::Version
|
202
|
+
version: '0.8'
|
203
|
+
description: Sensu monit plugins
|
204
|
+
email: "<sensu-users@googlegroups.com>"
|
205
|
+
executables:
|
206
|
+
- check-monit-status.rb
|
207
|
+
- check-monit-email.rb
|
208
|
+
extensions: []
|
209
|
+
extra_rdoc_files: []
|
210
|
+
files:
|
211
|
+
- CHANGELOG.md
|
212
|
+
- LICENSE
|
213
|
+
- README.md
|
214
|
+
- bin/check-monit-email.rb
|
215
|
+
- bin/check-monit-status.rb
|
216
|
+
- lib/sensu-plugins-monit.rb
|
217
|
+
- lib/sensu-plugins-monit/version.rb
|
218
|
+
homepage: https://github.com/sensu-plugins/sensu-plugins-monit
|
219
|
+
licenses:
|
220
|
+
- MIT
|
221
|
+
metadata:
|
222
|
+
maintainer: sensu-plugin
|
223
|
+
development_status: active
|
224
|
+
production_status: unstable - testing recommended
|
225
|
+
release_draft: 'false'
|
226
|
+
release_prerelease: 'false'
|
227
|
+
post_install_message: You can use the embedded Ruby by setting EMBEDDED_RUBY=true
|
228
|
+
in /etc/default/sensu
|
229
|
+
rdoc_options: []
|
230
|
+
require_paths:
|
231
|
+
- lib
|
232
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: 1.9.3
|
237
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
238
|
+
requirements:
|
239
|
+
- - ">="
|
240
|
+
- !ruby/object:Gem::Version
|
241
|
+
version: '0'
|
242
|
+
requirements: []
|
243
|
+
rubyforge_project:
|
244
|
+
rubygems_version: 2.4.6
|
245
|
+
signing_key:
|
246
|
+
specification_version: 4
|
247
|
+
summary: Sensu plugins for monit
|
248
|
+
test_files: []
|
metadata.gz.sig
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
�+y�!orO�^�T�1� 8�[���xMwfЯ`g�����v�$�O_�e��s�,�40�����e�ޚ�|��Wpfk�C�|4P"_��%����_��Q,sB�Fm��v�OO�_
|