sensu-plugins-switchvox 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: dc26e1d3821abaf30a66280ca97f3b2400d5163e
4
+ data.tar.gz: 9b31bbebcce7ca7ee9b78f6a003e2fe7891a4e4f
5
+ SHA512:
6
+ metadata.gz: cfd5e73d313454140a627749de2925639f85be1ea5ec56a5aef691dc79424c2b4dec0024b57504da3a19299cb9abc5a280cbabd0eb7c76fa30d5b01039b8a969
7
+ data.tar.gz: 0bbef92e351e88c001771bbc763f2a766645e2fe8bac98b18431b551f0e7e87e1ef717b696c595e859b7adfd4a576031028c18610ee9096db4910ae53544e392
data/CHANGELOG.md ADDED
@@ -0,0 +1,6 @@
1
+ #Change Log
2
+ This project adheres to [Semantic Versioning](http://semver.org/).
3
+
4
+ ## 0.0.1 - 2016-08-09
5
+ ### Added
6
+ - Initial release
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2016 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,60 @@
1
+ ## sensu-plugins-switchvox
2
+
3
+ [![Build Status](https://travis-ci.org/smbambling/sensu-plugins-switchvox.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-switchvox)
4
+ [![Gem Version](https://badge.fury.io/rb/sensu-plugins-switchvox.svg)](http://badge.fury.io/rb/sensu-plugins-switchvox)
5
+ [![Code Climate](https://codeclimate.com/github/smbambling/sensu-plugins-switchvox/badges/gpa.svg)](https://codeclimate.com/github/smbambling/sensu-plugins-switchvox)
6
+ [![Test Coverage](https://codeclimate.com/github/smbambling/sensu-plugins-switchvox/badges/coverage.svg)](https://codeclimate.com/github/smbambling/sensu-plugins-switchvox)
7
+ [![Dependency Status](https://gemnasium.com/smbambling/sensu-plugins-switchvox.svg)](https://gemnasium.com/smbambling/sensu-plugins-switchvox)
8
+
9
+ ## Functionality
10
+
11
+ **check-switchvox-disk-pcnt.rb**
12
+ Checks the reported SNMP disk usage percentage for Switchvox PBX
13
+
14
+ **check-switchvox-load.rb**
15
+ Checks the reported SNMP system load for Switchvox PBX
16
+
17
+ **check-switchvox-mem-pcnt.rb**
18
+ Checks the reported SNMP memory usage percentage for Switchvox PBX
19
+
20
+ **metrics-switchvox-pbx**
21
+
22
+ Collects Metrics via SNMP for a Switchvox PBX
23
+
24
+ - Disk
25
+ - Used
26
+ - Total
27
+ - Load
28
+ - Memory
29
+ - Used
30
+ - Total
31
+ - Swap
32
+ - Used
33
+ - Total
34
+ - Extentions
35
+ - Used
36
+ - Max
37
+ - Calls
38
+ - Total
39
+ - Agent login
40
+ - Agent logout
41
+ - IVR
42
+ - Parked
43
+ - Queued
44
+ - Ringing
45
+ - Talking
46
+ - Unknown
47
+ - Sucscription Days Left
48
+
49
+
50
+ ## Files
51
+ * check-switchvox-disk-pcnt.rb
52
+ * check-switchvox-load.rb
53
+ * check-switchvox-mem-pcnt.rb
54
+ * metrics-switchvox-pbx
55
+
56
+ ## Usage
57
+
58
+ ## Installation
59
+
60
+ [Installation and Setup](http://sensu-plugins.io/docs/installation_instructions.html)
@@ -0,0 +1,80 @@
1
+ #!/usr/bin/env ruby
2
+ # Switchvox PBX SNMP Disk Check
3
+ #
4
+ # Checks the reported SNMP disk usage percentage for Switchvox PBX
5
+ #
6
+ # DEPENDENCIES:
7
+ # gem: sensu-plugin
8
+ # gem: snmp
9
+ #
10
+ # USAGE:
11
+ #
12
+ # check-switchvox-pbx -h host -C community -p prefix
13
+ #
14
+
15
+ require 'sensu-plugin/check/cli'
16
+ require 'snmp'
17
+
18
+ class CheckSwitchvoxDisk < Sensu::Plugin::Check::CLI
19
+ option :host,
20
+ short: '-h host',
21
+ boolean: true,
22
+ default: '127.0.0.1',
23
+ required: true
24
+
25
+ option :community,
26
+ short: '-C snmp community',
27
+ boolean: true,
28
+ default: 'public'
29
+
30
+ option :snmp_version,
31
+ short: '-v version',
32
+ description: 'SNMP version to use (SNMPv1, SNMPv2c (default))',
33
+ default: 'SNMPv2c'
34
+
35
+ option :warn,
36
+ description: 'Warning disk usage percentage threshold',
37
+ short: '-w VALUE',
38
+ long: '--warning VALUE',
39
+ default: '70',
40
+ required: true
41
+
42
+ option :crit,
43
+ description: 'Critical disk usage percentage threshold',
44
+ short: '-c VALUE',
45
+ long: '--critical VALUE',
46
+ default: '80',
47
+ required: true
48
+
49
+ def run
50
+ metrics = {
51
+ '1.3.6.1.4.1.22736.10.3.2.2' => 'disk.total',
52
+ '1.3.6.1.4.1.22736.10.3.2.1' => 'disk.used'
53
+ }
54
+ response_hash = {}
55
+ metrics.each do |objectid, suffix|
56
+ begin
57
+ manager = SNMP::Manager.new(host: config[:host].to_s, community: config[:community].to_s, version: config[:snmp_version].to_sym)
58
+ response = manager.get([objectid.to_s])
59
+ rescue SNMP::RequestTimeout
60
+ unknown "#{config[:host]} not responding"
61
+ rescue => e
62
+ unknown "An unknown error occured: #{e.inspect}"
63
+ end
64
+ response.each_varbind do |vb|
65
+ response_hash[suffix.to_s] = vb.value.to_f
66
+ end
67
+ manager.close
68
+ end
69
+
70
+ pct_used = ((response_hash['disk.used'] / response_hash['disk.total']) * 100).round.to_i
71
+
72
+ if pct_used >= config[:crit].to_i
73
+ critical "Disk Usage #{pct_used}%"
74
+ elsif pct_used >= config[:warn].to_i
75
+ warning "Disk Usage #{pct_used}%"
76
+ else
77
+ ok "Disk Usage #{pct_used}%"
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,78 @@
1
+ #!/usr/bin/env ruby
2
+ # Switchvox PBX SNMP Load Check
3
+ # ===
4
+ #
5
+ # Checks the reported SNMP system load for Switchvox PBX
6
+ #
7
+ # DEPENDENCIES:
8
+ # gem: sensu-plugin
9
+ # gem: snmp
10
+ #
11
+ # USAGE:
12
+ #
13
+ # check-switchvox-pbx -h host -C community -p prefix
14
+ #
15
+
16
+ require 'sensu-plugin/check/cli'
17
+ require 'snmp'
18
+
19
+ class CheckSwitchvoxLoad < Sensu::Plugin::Check::CLI
20
+ option :host,
21
+ short: '-h host',
22
+ boolean: true,
23
+ default: '127.0.0.1',
24
+ required: true
25
+
26
+ option :community,
27
+ short: '-C snmp community',
28
+ boolean: true,
29
+ default: 'public'
30
+
31
+ option :snmp_version,
32
+ short: '-v version',
33
+ description: 'SNMP version to use (SNMPv1, SNMPv2c (default))',
34
+ default: 'SNMPv2c'
35
+
36
+ option :warn,
37
+ description: 'Warning load average threshold',
38
+ short: '-w VALUE',
39
+ long: '--warning VALUE',
40
+ default: '3',
41
+ required: true
42
+
43
+ option :crit,
44
+ description: 'Critical load average threshold',
45
+ short: '-c VALUE',
46
+ long: '--critical VALUE',
47
+ default: '5',
48
+ required: true
49
+
50
+ def run
51
+ metrics = {
52
+ '1.3.6.1.4.1.22736.10.3.3.1' => 'load'
53
+ }
54
+ response_hash = {}
55
+ metrics.each do |objectid, suffix|
56
+ begin
57
+ manager = SNMP::Manager.new(host: config[:host].to_s, community: config[:community].to_s, version: config[:snmp_version].to_sym)
58
+ response = manager.get([objectid.to_s])
59
+ rescue SNMP::RequestTimeout
60
+ unknown "#{config[:host]} not responding"
61
+ rescue => e
62
+ unknown "An unknown error occured: #{e.inspect}"
63
+ end
64
+ response.each_varbind do |vb|
65
+ response_hash[suffix.to_s] = vb.value.to_f
66
+ end
67
+ manager.close
68
+ end
69
+
70
+ if response_hash['load'] >= config[:crit].to_f
71
+ critical "Load average #{response_hash['load']}"
72
+ elsif response_hash['load'] >= config[:warn].to_f
73
+ warning "Load average #{response_hash['load']}"
74
+ else
75
+ ok "Load average #{response_hash['load']}"
76
+ end
77
+ end
78
+ end
@@ -0,0 +1,98 @@
1
+ #!/usr/bin/env ruby
2
+ # Switchvox PBX SNMP Memory Check
3
+ # ===
4
+ #
5
+ # Checks the reported SNMP memory usage percentage for Switchvox PBX
6
+ #
7
+ # DEPENDENCIES:
8
+ # gem: sensu-plugin
9
+ # gem: snmp
10
+ #
11
+ # USAGE:
12
+ #
13
+ # check-switchvox-pbx -h host -C community -p prefix
14
+ #
15
+
16
+ require 'sensu-plugin/check/cli'
17
+ require 'snmp'
18
+
19
+ class CheckSwitchvoxMemory < Sensu::Plugin::Check::CLI
20
+ option :host,
21
+ short: '-h host',
22
+ boolean: true,
23
+ default: '127.0.0.1',
24
+ required: true
25
+
26
+ option :community,
27
+ short: '-C snmp community',
28
+ boolean: true,
29
+ default: 'public'
30
+
31
+ option :snmp_version,
32
+ short: '-v version',
33
+ description: 'SNMP version to use (SNMPv1, SNMPv2c (default))',
34
+ default: 'SNMPv2c'
35
+
36
+ option :mem_warn,
37
+ description: 'Warning memory usage percentage threshold',
38
+ short: '-w VALUE',
39
+ long: '--mem_warning VALUE',
40
+ default: '85',
41
+ required: true
42
+
43
+ option :mem_crit,
44
+ description: 'Critical memory usage percentage threshold',
45
+ short: '-c VALUE',
46
+ long: '--mem_critical VALUE',
47
+ default: '90',
48
+ required: true
49
+
50
+ option :swap_warn,
51
+ description: 'Warning swap usage percentage threshold',
52
+ short: '-x VALUE',
53
+ long: '--swap_warning VALUE',
54
+ default: '20',
55
+ required: true
56
+
57
+ option :swap_crit,
58
+ description: 'Critical swap usage percentage threshold',
59
+ short: '-y VALUE',
60
+ long: '--swap_critical VALUE',
61
+ default: '30',
62
+ required: true
63
+
64
+ def run
65
+ metrics = {
66
+ '1.3.6.1.4.1.22736.10.3.1.1' => 'mem.used',
67
+ '1.3.6.1.4.1.22736.10.3.1.2' => 'mem.total',
68
+ '1.3.6.1.4.1.22736.10.3.1.3' => 'swap.used',
69
+ '1.3.6.1.4.1.22736.10.3.1.4' => 'swap.total'
70
+ }
71
+ response_hash = {}
72
+ metrics.each do |objectid, suffix|
73
+ begin
74
+ manager = SNMP::Manager.new(host: config[:host].to_s, community: config[:community].to_s, version: config[:snmp_version].to_sym)
75
+ response = manager.get([objectid.to_s])
76
+ rescue SNMP::RequestTimeout
77
+ unknown "#{config[:host]} not responding"
78
+ rescue => e
79
+ unknown "An unknown error occured: #{e.inspect}"
80
+ end
81
+ response.each_varbind do |vb|
82
+ response_hash[suffix.to_s] = vb.value.to_f
83
+ end
84
+ manager.close
85
+ end
86
+
87
+ mem_pct_used = ((response_hash['mem.used'] / response_hash['mem.total']) * 100).round.to_i
88
+ swap_pct_used = ((response_hash['swap.used'] / response_hash['swap.total']) * 100).to_i
89
+
90
+ if mem_pct_used >= config[:mem_crit].to_i || swap_pct_used >= config[:swap_crit].to_i
91
+ critical "Active Memory Usage: #{mem_pct_used}% -- Swap Usage: #{swap_pct_used}%"
92
+ elsif mem_pct_used >= config[:mem_warn].to_i || swap_pct_used >= config[:swap_warn].to_i
93
+ warning "Active Memory Usage: #{mem_pct_used}% -- Swap Usage: #{swap_pct_used}%"
94
+ else
95
+ ok "Active Memory Usage: #{mem_pct_used}% -- Swap Usage: #{swap_pct_used}%"
96
+ end
97
+ end
98
+ end
@@ -0,0 +1,129 @@
1
+ #!/usr/bin/env ruby
2
+ # Switchvox PBX SNMP Metrics
3
+ # ===
4
+ #
5
+ # Collects Metrics via SNMP for a Switchvox PBX
6
+ # - Disk
7
+ # - Used
8
+ # - Total
9
+ # - Load
10
+ # - Memory
11
+ # - Used
12
+ # - Total
13
+ # - Swap
14
+ # - Used
15
+ # - Total
16
+ # - Extentions
17
+ # - Used
18
+ # - Max
19
+ # - Calls
20
+ # - Total
21
+ # - Agent login
22
+ # - Agent logout
23
+ # - IVR
24
+ # - Parked
25
+ # - Queued
26
+ # - Ringing
27
+ # - Talking
28
+ # - Unknown
29
+ # - Sucscription Days Left
30
+ #
31
+ # DEPENDENCIES:
32
+ # gem: sensu-plugin
33
+ # gem: snmp
34
+ #
35
+ # USAGE:
36
+ #
37
+ # check-switchvox-pbx -h host -C community -p prefix
38
+ #
39
+
40
+ require 'sensu-plugin/metric/cli'
41
+ require 'snmp'
42
+
43
+ # Class that collects and outputs SNMP metrics in graphite format
44
+ class MetricsSwitchvox < Sensu::Plugin::Metric::CLI::Graphite
45
+ option :host,
46
+ short: '-h host',
47
+ boolean: true,
48
+ default: '127.0.0.1',
49
+ required: true
50
+
51
+ option :community,
52
+ short: '-C snmp community',
53
+ boolean: true,
54
+ default: 'public'
55
+
56
+ option :prefix,
57
+ short: '-p prefix',
58
+ description: 'prefix to attach to graphite path',
59
+ default: 'sensu'
60
+
61
+ option :snmp_version,
62
+ short: '-v version',
63
+ description: 'SNMP version to use (SNMPv1, SNMPv2c (default))',
64
+ default: 'SNMPv2c'
65
+
66
+ option :graphite,
67
+ short: '-g',
68
+ description: 'Replace dots with underscores in hostname',
69
+ boolean: true
70
+
71
+ option :mibdir,
72
+ short: '-d mibdir',
73
+ description: 'Full path to custom MIB directory.'
74
+
75
+ option :mibs,
76
+ short: '-l mib[,mib,mib...]',
77
+ description: 'Custom MIBs to load (from custom mib path).',
78
+ default: ''
79
+
80
+ def run
81
+ metrics = {
82
+ '1.3.6.1.4.1.22736.10.3.2.2' => 'disk.total',
83
+ '1.3.6.1.4.1.22736.10.3.2.1' => 'disk.used',
84
+ '1.3.6.1.4.1.22736.10.3.3.1' => 'load',
85
+ '1.3.6.1.4.1.22736.10.3.1.1' => 'mem.used',
86
+ '1.3.6.1.4.1.22736.10.3.1.2' => 'mem.total',
87
+ '1.3.6.1.4.1.22736.10.3.1.3' => 'swap.used',
88
+ '1.3.6.1.4.1.22736.10.3.1.4' => 'swap.total',
89
+ '1.3.6.1.4.1.22736.10.1.5' => 'extentions.used',
90
+ '1.3.6.1.4.1.22736.10.1.6' => 'extentions.max',
91
+ '1.3.6.1.4.1.22736.10.5.1' => 'calls.current.total',
92
+ '1.3.6.1.4.1.22736.10.5.2' => 'calls.agent.login',
93
+ '1.3.6.1.4.1.22736.10.5.3' => 'calls.agent.logout',
94
+ '1.3.6.1.4.1.22736.10.5.9' => 'calls.ivr',
95
+ '1.3.6.1.4.1.22736.10.5.10' => 'calls.leaving.voicemail',
96
+ '1.3.6.1.4.1.22736.10.5.12' => 'calls.parked',
97
+ '1.3.6.1.4.1.22736.10.5.13' => 'calls.queued',
98
+ '1.3.6.1.4.1.22736.10.5.15' => 'calls.ringing',
99
+ '1.3.6.1.4.1.22736.10.5.16' => 'calls.talking',
100
+ '1.3.6.1.4.1.22736.10.5.17' => 'calls.unknown',
101
+ '1.3.6.1.4.1.22736.10.7.2' => 'subscription.days.left'
102
+ }
103
+ metrics.each do |objectid, suffix|
104
+ mibs = config[:mibs].split(',')
105
+ begin
106
+ manager = SNMP::Manager.new(host: config[:host].to_s, community: config[:community].to_s, version: config[:snmp_version].to_sym)
107
+ if config[:mibdir] && !mibs.empty?
108
+ manager.load_modules(mibs, config[:mibdir])
109
+ end
110
+ response = manager.get([objectid.to_s])
111
+ rescue SNMP::RequestTimeout
112
+ unknown "#{config[:host]} not responding"
113
+ rescue => e
114
+ unknown "An unknown error occured: #{e.inspect}"
115
+ end
116
+ host = config[:host]
117
+ host = config[:host].tr('.', '_') if config[:graphite]
118
+ response.each_varbind do |vb|
119
+ if config[:prefix]
120
+ output "#{config[:prefix]}.#{host}.#{suffix}", vb.value.to_f
121
+ else
122
+ output "#{host}.#{suffix}", vb.value.to_f
123
+ end
124
+ end
125
+ manager.close
126
+ end
127
+ ok
128
+ end
129
+ end
@@ -0,0 +1 @@
1
+ require 'sensu-plugins-switchvox/version'
@@ -0,0 +1,9 @@
1
+ module SensuPluginsSwitchvox
2
+ module Version
3
+ MAJOR = 0
4
+ MINOR = 0
5
+ PATCH = 1
6
+
7
+ VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
+ end
9
+ end
metadata ADDED
@@ -0,0 +1,216 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sensu-plugins-switchvox
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
+ date: 2017-03-22 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: sensu-plugin
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: snmp
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 1.2.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 1.2.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '1.7'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '1.7'
55
+ - !ruby/object:Gem::Dependency
56
+ name: codeclimate-test-reporter
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '0.4'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '0.4'
69
+ - !ruby/object:Gem::Dependency
70
+ name: github-markup
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: '1.3'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ version: '1.3'
83
+ - !ruby/object:Gem::Dependency
84
+ name: pry
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ version: '0.10'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ~>
95
+ - !ruby/object:Gem::Version
96
+ version: '0.10'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rake
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ~>
102
+ - !ruby/object:Gem::Version
103
+ version: '10.5'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ~>
109
+ - !ruby/object:Gem::Version
110
+ version: '10.5'
111
+ - !ruby/object:Gem::Dependency
112
+ name: redcarpet
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ~>
116
+ - !ruby/object:Gem::Version
117
+ version: '3.2'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ~>
123
+ - !ruby/object:Gem::Version
124
+ version: '3.2'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rubocop
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ~>
130
+ - !ruby/object:Gem::Version
131
+ version: 0.40.0
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ~>
137
+ - !ruby/object:Gem::Version
138
+ version: 0.40.0
139
+ - !ruby/object:Gem::Dependency
140
+ name: rspec
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ~>
144
+ - !ruby/object:Gem::Version
145
+ version: '3.4'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ~>
151
+ - !ruby/object:Gem::Version
152
+ version: '3.4'
153
+ - !ruby/object:Gem::Dependency
154
+ name: yard
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ~>
158
+ - !ruby/object:Gem::Version
159
+ version: '0.8'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ~>
165
+ - !ruby/object:Gem::Version
166
+ version: '0.8'
167
+ description: Sensu plugins for Switchvox
168
+ email: <sensu-users@googlegroups.com>
169
+ executables:
170
+ - check-switchvox-disk-pcnt.rb
171
+ - check-switchvox-load.rb
172
+ - check-switchvox-mem-pcnt.rb
173
+ - metrics-switchvox-pbx.rb
174
+ extensions: []
175
+ extra_rdoc_files: []
176
+ files:
177
+ - bin/check-switchvox-disk-pcnt.rb
178
+ - bin/check-switchvox-load.rb
179
+ - bin/check-switchvox-mem-pcnt.rb
180
+ - bin/metrics-switchvox-pbx.rb
181
+ - lib/sensu-plugins-switchvox/version.rb
182
+ - lib/sensu-plugins-switchvox.rb
183
+ - LICENSE
184
+ - README.md
185
+ - CHANGELOG.md
186
+ homepage: https://github.com/sensu-plugins/sensu-plugins-switchvox
187
+ licenses:
188
+ - MIT
189
+ metadata:
190
+ maintainer: sensu-plugin
191
+ development_status: active
192
+ production_status: unstable - testing recommended
193
+ release_draft: 'false'
194
+ release_prerelease: 'false'
195
+ post_install_message: You can use the embedded Ruby by setting EMBEDDED_RUBY=true
196
+ in /etc/default/sensu
197
+ rdoc_options: []
198
+ require_paths:
199
+ - lib
200
+ required_ruby_version: !ruby/object:Gem::Requirement
201
+ requirements:
202
+ - - '>='
203
+ - !ruby/object:Gem::Version
204
+ version: 1.9.3
205
+ required_rubygems_version: !ruby/object:Gem::Requirement
206
+ requirements:
207
+ - - '>='
208
+ - !ruby/object:Gem::Version
209
+ version: '0'
210
+ requirements: []
211
+ rubyforge_project:
212
+ rubygems_version: 2.0.14
213
+ signing_key:
214
+ specification_version: 4
215
+ summary: Sensu plugins for Switchvox
216
+ test_files: []