sensu-plugins-azurerm 3.1.0 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -1
- data/README.md +10 -0
- data/bin/check-azurerm-core-usage.rb +3 -1
- data/bin/check-azurerm-cores-d-usage.rb +3 -1
- data/bin/check-azurerm-cores-ds-usage.rb +3 -1
- data/bin/check-azurerm-cores-dsv2-usage.rb +3 -1
- data/bin/check-azurerm-cores-dv2-usage.rb +3 -1
- data/bin/check-azurerm-cores-f-usage.rb +4 -1
- data/bin/check-azurerm-cores-fs-usage.rb +3 -1
- data/bin/check-azurerm-load-balancers-usage.rb +3 -1
- data/bin/check-azurerm-monitor-metric.rb +10 -8
- data/bin/check-azurerm-network-interfaces-usage.rb +3 -1
- data/bin/check-azurerm-network-security-groups-usage.rb +3 -1
- data/bin/check-azurerm-public-ip-addresses-usage.rb +3 -1
- data/bin/check-azurerm-route-tables-usage.rb +3 -1
- data/bin/check-azurerm-service-bus-subscription.rb +2 -0
- data/bin/check-azurerm-service-bus-topic-size.rb +3 -1
- data/bin/check-azurerm-static-public-ip-addresses-usage.rb +3 -1
- data/bin/check-azurerm-virtual-machines-usage.rb +3 -1
- data/bin/check-azurerm-virtual-network-gateway-connected.rb +2 -0
- data/bin/check-azurerm-virtual-network-gateway-failure-connected.rb +2 -0
- data/bin/check-azurerm-virtual-networks-usage.rb +3 -1
- data/bin/metric-azurerm-service-bus-subscription-message-count.rb +2 -0
- data/bin/metric-azurerm-virtual-network-gateway-usage.rb +2 -0
- data/lib/sensu-plugins-azurerm.rb +2 -0
- data/lib/sensu-plugins-azurerm/common.rb +2 -0
- data/lib/sensu-plugins-azurerm/compute_usage.rb +2 -0
- data/lib/sensu-plugins-azurerm/network_usage.rb +2 -0
- data/lib/sensu-plugins-azurerm/servicebus_usage.rb +2 -0
- data/lib/sensu-plugins-azurerm/version.rb +4 -2
- metadata +44 -57
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e6fb84ff6ba9d0566a53566feef63e2a6d07bd6c11957bb7ba42bacb19cd821
|
4
|
+
data.tar.gz: 69b3bd2502eeb7c069a0b1f4666075496add1de94be68b7ab49c7a9a1e2065d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ddea309f6c79db39b7fb477f7f411efbe2ef31ee5b5c69505eca8057c4cbbcaf0ca4692d42948bb100a3c19cc014d73eaf04b7810fce0bd5fc762b485cff1ce
|
7
|
+
data.tar.gz: 9aea60dd65f869171cf13538bd1df98c516315315fd48e0a8b89f7ba46f8bccc354e8b2cb1bde992aa3ede35f196b3ccbb12c9e29181c9b88cda5f2ab1299545
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,26 @@ This CHANGELOG follows the format located [here](https://github.com/sensu-plugin
|
|
5
5
|
|
6
6
|
## [Unreleased]
|
7
7
|
|
8
|
+
|
9
|
+
## [4.0.0] - 2020-03-09
|
10
|
+
### Added
|
11
|
+
- Added Bonsai pieces
|
12
|
+
- Added Assets to README
|
13
|
+
|
14
|
+
### Breaking Changes
|
15
|
+
- Bump `sensu-plugin` dependency 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)
|
16
|
+
|
17
|
+
### Changed
|
18
|
+
- Updated ms_rest_azure to ['>= 0.6.2', '< 0.12.0']
|
19
|
+
- Updated bundler to '~> 2.1'
|
20
|
+
- Updated codeclimate-test-reporter to '~> 1.0'
|
21
|
+
- Updated mixlib-shellout to ['~> 2.2', '< 3.1.0']
|
22
|
+
- Updated rdoc to '~> 6.2'
|
23
|
+
- Updated rubocop to '~> 0.80.1'
|
24
|
+
- Updated serverspec to '~> 2.41.5'
|
25
|
+
- Updated yard to '~> 0.9.20'
|
26
|
+
- Remediated any new warnings from updated rubocop
|
27
|
+
|
8
28
|
## [3.1.0] - 2019-03-04
|
9
29
|
### Added
|
10
30
|
- check-azurerm-monitor-metric.rb: added `--aggregate_results aggregation_type TYPE` option that allows users to aggregate results returned from Azure DB query @MrMisa93
|
@@ -98,7 +118,8 @@ This CHANGELOG follows the format located [here](https://github.com/sensu-plugin
|
|
98
118
|
### Added
|
99
119
|
- initial release
|
100
120
|
|
101
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-azurerm/compare/
|
121
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-azurerm/compare/4.0.0..HEAD
|
122
|
+
[4.0.0]: https://github.com/sensu-plugins/sensu-plugins-azurerm/compare/3.1.0..4.0.0
|
102
123
|
[3.1.0]: https://github.com/sensu-plugins/sensu-plugins-azurerm/compare/3.0.0..3.1.0
|
103
124
|
[3.0.0]: https://github.com/sensu-plugins/sensu-plugins-azurerm/compare/2.1.0..3.0.0
|
104
125
|
[2.1.0]: https://github.com/sensu-plugins/sensu-plugins-azurerm/compare/2.0.0...2.1.0
|
data/README.md
CHANGED
@@ -5,6 +5,16 @@
|
|
5
5
|
[![Code Climate](https://codeclimate.com/github/tombuildsstuff/sensu-plugins-azurerm/badges/gpa.svg)](https://codeclimate.com/github/tombuildsstuff/sensu-plugins-azurerm)
|
6
6
|
[![Test Coverage](https://codeclimate.com/github/tombuildsstuff/sensu-plugins-azurerm/badges/coverage.svg)](https://codeclimate.com/github/tombuildsstuff/sensu-plugins-azurerm)
|
7
7
|
[![Dependency Status](https://gemnasium.com/tombuildsstuff/sensu-plugins-azurerm.svg)](https://gemnasium.com/tombuildsstuff/sensu-plugins-azurerm)
|
8
|
+
[![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-azurerm)
|
9
|
+
|
10
|
+
## Sensu Asset
|
11
|
+
The Sensu assets packaged from this repository are built against the
|
12
|
+
Sensu Ruby runtime environment. When using these assets as part of a
|
13
|
+
Sensu Go resource (check, mutator or handler), make sure you include
|
14
|
+
the corresponding Sensu Ruby runtime asset in the list of assets
|
15
|
+
needed by the resource. The current ruby-runtime assets can be found
|
16
|
+
[here](https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime) in the
|
17
|
+
Bonsai Asset Index](bonsai.sensu.io).
|
8
18
|
|
9
19
|
## Functionality
|
10
20
|
|
@@ -1,4 +1,6 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
2
4
|
#
|
3
5
|
# check-azurerm-core-usage
|
4
6
|
#
|
@@ -104,7 +106,7 @@ class CheckAzureRMCoreUsage < Sensu::Plugin::Check::CLI
|
|
104
106
|
|
105
107
|
message = "Current usage: #{current_usage} of #{allowance} Cores"
|
106
108
|
|
107
|
-
percentage_used = (current_usage.to_f / allowance
|
109
|
+
percentage_used = (current_usage.to_f / allowance) * 100
|
108
110
|
|
109
111
|
if percentage_used >= critical_percentage
|
110
112
|
critical message
|
@@ -1,4 +1,6 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
2
4
|
#
|
3
5
|
# check-azurerm-cores-d-usage
|
4
6
|
#
|
@@ -104,7 +106,7 @@ class CheckAzureRMCoresDUsage < Sensu::Plugin::Check::CLI
|
|
104
106
|
|
105
107
|
message = "Current usage: #{current_usage} of #{allowance} D Family Cores"
|
106
108
|
|
107
|
-
percentage_used = (current_usage.to_f / allowance
|
109
|
+
percentage_used = (current_usage.to_f / allowance) * 100
|
108
110
|
|
109
111
|
if percentage_used >= critical_percentage
|
110
112
|
critical message
|
@@ -1,4 +1,6 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
2
4
|
#
|
3
5
|
# check-azurerm-cores-ds-usage
|
4
6
|
#
|
@@ -104,7 +106,7 @@ class CheckAzureRMCoresDSUsage < Sensu::Plugin::Check::CLI
|
|
104
106
|
|
105
107
|
message = "Current usage: #{current_usage} of #{allowance} DS Family Cores"
|
106
108
|
|
107
|
-
percentage_used = (current_usage.to_f / allowance
|
109
|
+
percentage_used = (current_usage.to_f / allowance) * 100
|
108
110
|
|
109
111
|
if percentage_used >= critical_percentage
|
110
112
|
critical message
|
@@ -1,4 +1,6 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
2
4
|
#
|
3
5
|
# check-azurerm-cores-dsv2-usage
|
4
6
|
#
|
@@ -104,7 +106,7 @@ class CheckAzureRMCoresDSv2Usage < Sensu::Plugin::Check::CLI
|
|
104
106
|
|
105
107
|
message = "Current usage: #{current_usage} of #{allowance} DSv2 Family Cores"
|
106
108
|
|
107
|
-
percentage_used = (current_usage.to_f / allowance
|
109
|
+
percentage_used = (current_usage.to_f / allowance) * 100
|
108
110
|
|
109
111
|
if percentage_used >= critical_percentage
|
110
112
|
critical message
|
@@ -1,4 +1,6 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
2
4
|
#
|
3
5
|
# check-azurerm-cores-dv2-usage
|
4
6
|
#
|
@@ -104,7 +106,7 @@ class CheckAzureRMCoresDv2Usage < Sensu::Plugin::Check::CLI
|
|
104
106
|
|
105
107
|
message = "Current usage: #{current_usage} of #{allowance} Dv2 Family Cores"
|
106
108
|
|
107
|
-
percentage_used = (current_usage.to_f / allowance
|
109
|
+
percentage_used = (current_usage.to_f / allowance) * 100
|
108
110
|
|
109
111
|
if percentage_used >= critical_percentage
|
110
112
|
critical message
|
@@ -1,4 +1,7 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
2
5
|
#
|
3
6
|
# check-azurerm-cores-f-usage
|
4
7
|
#
|
@@ -104,7 +107,7 @@ class CheckAzureRMCoresFUsage < Sensu::Plugin::Check::CLI
|
|
104
107
|
|
105
108
|
message = "Current usage: #{current_usage} of #{allowance} F Family Cores"
|
106
109
|
|
107
|
-
percentage_used = (current_usage.to_f / allowance
|
110
|
+
percentage_used = (current_usage.to_f / allowance) * 100
|
108
111
|
|
109
112
|
if percentage_used >= critical_percentage
|
110
113
|
critical message
|
@@ -1,4 +1,6 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
2
4
|
#
|
3
5
|
# check-azurerm-cores-fs-usage
|
4
6
|
#
|
@@ -104,7 +106,7 @@ class CheckAzureRMCoresFSUsage < Sensu::Plugin::Check::CLI
|
|
104
106
|
|
105
107
|
message = "Current usage: #{current_usage} of #{allowance} FS Family Cores"
|
106
108
|
|
107
|
-
percentage_used = (current_usage.to_f / allowance
|
109
|
+
percentage_used = (current_usage.to_f / allowance) * 100
|
108
110
|
|
109
111
|
if percentage_used >= critical_percentage
|
110
112
|
critical message
|
@@ -1,4 +1,6 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
2
4
|
#
|
3
5
|
# check-azurerm-load-balancers-usage
|
4
6
|
#
|
@@ -104,7 +106,7 @@ class CheckAzureRMLoadBalancersUsage < Sensu::Plugin::Check::CLI
|
|
104
106
|
|
105
107
|
message = "Current usage: #{current_usage} of #{allowance} Load Balancers"
|
106
108
|
|
107
|
-
percentage_used = (current_usage.to_f / allowance
|
109
|
+
percentage_used = (current_usage.to_f / allowance) * 100
|
108
110
|
|
109
111
|
if percentage_used >= critical_percentage
|
110
112
|
critical message
|
@@ -1,4 +1,6 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
2
4
|
#
|
3
5
|
# check-azurerm-core-usage
|
4
6
|
#
|
@@ -30,8 +32,8 @@ require 'net/http'
|
|
30
32
|
class CheckAzurermMonitorMetric < Sensu::Plugin::Check::CLI
|
31
33
|
include SensuPluginsAzureRM
|
32
34
|
|
33
|
-
AZURE_API_VER = '2017-05-01-preview'
|
34
|
-
DATE_FORMAT = '%Y-%m-%dT%H:%M:%S'
|
35
|
+
AZURE_API_VER = '2017-05-01-preview'
|
36
|
+
DATE_FORMAT = '%Y-%m-%dT%H:%M:%S'
|
35
37
|
|
36
38
|
option :tenant_id,
|
37
39
|
description: 'ARM Tenant ID. Either set ENV[\'ARM_TENANT_ID\'] or provide it as an option',
|
@@ -78,7 +80,7 @@ class CheckAzurermMonitorMetric < Sensu::Plugin::Check::CLI
|
|
78
80
|
default: ENV['ARM_SUBSCRIPTION_ID']
|
79
81
|
|
80
82
|
option :resource_name,
|
81
|
-
description:
|
83
|
+
description: 'The name of the resource. If given, the resource namespace/type/group along with subscription id are also required.',
|
82
84
|
short: '-e NAME',
|
83
85
|
long: '--resource-name NAME',
|
84
86
|
default: ''
|
@@ -111,24 +113,24 @@ class CheckAzurermMonitorMetric < Sensu::Plugin::Check::CLI
|
|
111
113
|
|
112
114
|
# example id: /subscriptions/576b7196-d42b-4b63-b696-af3ff33269a7/resourceGroups/test-group-1/providers/Microsoft.Network/virtualNetworkGateways/test-gateway
|
113
115
|
option :resource_id,
|
114
|
-
description:
|
116
|
+
description: 'The full id of the resource. If given, the resource namespace/type/group along with subscription id are ignored.',
|
115
117
|
short: '-r ID',
|
116
118
|
long: '--resource-id ID',
|
117
119
|
default: ''
|
118
120
|
|
119
121
|
option :metric,
|
120
|
-
description:
|
122
|
+
description: 'The name of the metric',
|
121
123
|
short: '-m ID',
|
122
124
|
long: '--metric ID',
|
123
125
|
required: true
|
124
126
|
|
125
127
|
option :filter,
|
126
|
-
description:
|
128
|
+
description: "The filter applied to the metric. See Azure docs for the syntax. Note: This can be used to segment the return by dimensions, so that the script checks each dimension separately. eg APIName eq '*'",
|
127
129
|
short: '-f FILTER',
|
128
130
|
long: '--filter FILTER'
|
129
131
|
|
130
132
|
option :request_aggregation,
|
131
|
-
description:
|
133
|
+
description: 'Used as a parameter to the HTTP request sent to Azure. This can be average, count, maximum, minimum, total',
|
132
134
|
short: '-a aggregation',
|
133
135
|
long: '--aggregation aggregation',
|
134
136
|
default: 'average',
|
@@ -172,7 +174,7 @@ class CheckAzurermMonitorMetric < Sensu::Plugin::Check::CLI
|
|
172
174
|
proc: proc { |val| val.chomp('/') }
|
173
175
|
|
174
176
|
option :lookback_period,
|
175
|
-
description:
|
177
|
+
description: 'The amount of time (in seconds) from the current time to look back when retrieving the metric. This should be long enough to capture the last value submitted.',
|
176
178
|
short: '-k PERIOD',
|
177
179
|
long: '--look-back-period PERIOD',
|
178
180
|
default: 600, # 10 min. This should generally be enough time to capture the last value, without wasting API credits
|
@@ -1,4 +1,6 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
2
4
|
#
|
3
5
|
# check-azurerm-network-interfaces-usage
|
4
6
|
#
|
@@ -104,7 +106,7 @@ class CheckAzureRMNetworkInterfacesUsage < Sensu::Plugin::Check::CLI
|
|
104
106
|
|
105
107
|
message = "Current usage: #{current_usage} of #{allowance} Network Interfaces"
|
106
108
|
|
107
|
-
percentage_used = (current_usage.to_f / allowance
|
109
|
+
percentage_used = (current_usage.to_f / allowance) * 100
|
108
110
|
|
109
111
|
if percentage_used >= critical_percentage
|
110
112
|
critical message
|
@@ -1,4 +1,6 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
2
4
|
#
|
3
5
|
# check-azurerm-network-security-groups-usage
|
4
6
|
#
|
@@ -104,7 +106,7 @@ class CheckAzureRMNetworkSecurityGroupsUsage < Sensu::Plugin::Check::CLI
|
|
104
106
|
|
105
107
|
message = "Current usage: #{current_usage} of #{allowance} Network Security Groups"
|
106
108
|
|
107
|
-
percentage_used = (current_usage.to_f / allowance
|
109
|
+
percentage_used = (current_usage.to_f / allowance) * 100
|
108
110
|
|
109
111
|
if percentage_used >= critical_percentage
|
110
112
|
critical message
|
@@ -1,4 +1,6 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
2
4
|
#
|
3
5
|
# check-azurerm-public-ip-addresses-usage
|
4
6
|
#
|
@@ -104,7 +106,7 @@ class CheckAzureRMPublicIPAddressesUsage < Sensu::Plugin::Check::CLI
|
|
104
106
|
|
105
107
|
message = "Current usage: #{current_usage} of #{allowance} Public IP Addresses"
|
106
108
|
|
107
|
-
percentage_used = (current_usage.to_f / allowance
|
109
|
+
percentage_used = (current_usage.to_f / allowance) * 100
|
108
110
|
|
109
111
|
if percentage_used >= critical_percentage
|
110
112
|
critical message
|
@@ -1,4 +1,6 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
2
4
|
#
|
3
5
|
# check-azurerm-route-tables-usage
|
4
6
|
#
|
@@ -104,7 +106,7 @@ class CheckAzureRMRouteTablesUsage < Sensu::Plugin::Check::CLI
|
|
104
106
|
|
105
107
|
message = "Current usage: #{current_usage} of #{allowance} Route Tables"
|
106
108
|
|
107
|
-
percentage_used = (current_usage.to_f / allowance
|
109
|
+
percentage_used = (current_usage.to_f / allowance) * 100
|
108
110
|
|
109
111
|
if percentage_used >= critical_percentage
|
110
112
|
critical message
|
@@ -1,4 +1,6 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
2
4
|
#
|
3
5
|
# check-azurerm-service-bus-topic-size
|
4
6
|
#
|
@@ -116,7 +118,7 @@ class CheckAzureRMServiceBusTopicSize < Sensu::Plugin::Check::CLI
|
|
116
118
|
|
117
119
|
max_size_in_bytes = result.max_size_in_megabytes * 1024 * 1024
|
118
120
|
current_size = result.size_in_bytes
|
119
|
-
percentage_used = (current_size.to_f / max_size_in_bytes
|
121
|
+
percentage_used = (current_size.to_f / max_size_in_bytes) * 100
|
120
122
|
|
121
123
|
message = "Current size of topic '#{topic_name}' is #{percentage_used}"
|
122
124
|
|
@@ -1,4 +1,6 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
2
4
|
#
|
3
5
|
# check-azurerm-static-public-ip-addresses-usage
|
4
6
|
#
|
@@ -104,7 +106,7 @@ class CheckAzureRMStaticPublicIPAddressesUsage < Sensu::Plugin::Check::CLI
|
|
104
106
|
|
105
107
|
message = "Current usage: #{current_usage} of #{allowance} Static IP Addresses"
|
106
108
|
|
107
|
-
percentage_used = (current_usage.to_f / allowance
|
109
|
+
percentage_used = (current_usage.to_f / allowance) * 100
|
108
110
|
|
109
111
|
if percentage_used >= critical_percentage
|
110
112
|
critical message
|
@@ -1,4 +1,6 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
2
4
|
#
|
3
5
|
# check-azurerm-virtual-machines-usage
|
4
6
|
#
|
@@ -104,7 +106,7 @@ class CheckAzureRMVMUsage < Sensu::Plugin::Check::CLI
|
|
104
106
|
|
105
107
|
message = "Current usage: #{current_usage} of #{allowance} VMs"
|
106
108
|
|
107
|
-
percentage_used = (current_usage.to_f / allowance
|
109
|
+
percentage_used = (current_usage.to_f / allowance) * 100
|
108
110
|
|
109
111
|
if percentage_used >= critical_percentage
|
110
112
|
critical message
|
@@ -1,4 +1,6 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
2
4
|
#
|
3
5
|
# check-azurerm-virtual-networks-usage
|
4
6
|
#
|
@@ -104,7 +106,7 @@ class CheckAzureRMVirtualNetworksUsage < Sensu::Plugin::Check::CLI
|
|
104
106
|
|
105
107
|
message = "Current usage: #{current_usage} of #{allowance} Virtual Networks"
|
106
108
|
|
107
|
-
percentage_used = (current_usage.to_f / allowance
|
109
|
+
percentage_used = (current_usage.to_f / allowance) * 100
|
108
110
|
|
109
111
|
if percentage_used >= critical_percentage
|
110
112
|
critical message
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-azurerm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Harvey
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: azure_mgmt_compute
|
@@ -56,58 +56,64 @@ dependencies:
|
|
56
56
|
name: ms_rest_azure
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 0.6.2
|
62
|
+
- - "<"
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: 0.12.0
|
62
65
|
type: :runtime
|
63
66
|
prerelease: false
|
64
67
|
version_requirements: !ruby/object:Gem::Requirement
|
65
68
|
requirements:
|
66
|
-
- - "
|
69
|
+
- - ">="
|
67
70
|
- !ruby/object:Gem::Version
|
68
71
|
version: 0.6.2
|
72
|
+
- - "<"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: 0.12.0
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
76
|
name: sensu-plugin
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
72
78
|
requirements:
|
73
79
|
- - "~>"
|
74
80
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
81
|
+
version: '4.0'
|
76
82
|
type: :runtime
|
77
83
|
prerelease: false
|
78
84
|
version_requirements: !ruby/object:Gem::Requirement
|
79
85
|
requirements:
|
80
86
|
- - "~>"
|
81
87
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
88
|
+
version: '4.0'
|
83
89
|
- !ruby/object:Gem::Dependency
|
84
90
|
name: bundler
|
85
91
|
requirement: !ruby/object:Gem::Requirement
|
86
92
|
requirements:
|
87
93
|
- - "~>"
|
88
94
|
- !ruby/object:Gem::Version
|
89
|
-
version: '1
|
95
|
+
version: '2.1'
|
90
96
|
type: :development
|
91
97
|
prerelease: false
|
92
98
|
version_requirements: !ruby/object:Gem::Requirement
|
93
99
|
requirements:
|
94
100
|
- - "~>"
|
95
101
|
- !ruby/object:Gem::Version
|
96
|
-
version: '1
|
102
|
+
version: '2.1'
|
97
103
|
- !ruby/object:Gem::Dependency
|
98
104
|
name: codeclimate-test-reporter
|
99
105
|
requirement: !ruby/object:Gem::Requirement
|
100
106
|
requirements:
|
101
107
|
- - "~>"
|
102
108
|
- !ruby/object:Gem::Version
|
103
|
-
version: '0
|
109
|
+
version: '1.0'
|
104
110
|
type: :development
|
105
111
|
prerelease: false
|
106
112
|
version_requirements: !ruby/object:Gem::Requirement
|
107
113
|
requirements:
|
108
114
|
- - "~>"
|
109
115
|
- !ruby/object:Gem::Version
|
110
|
-
version: '0
|
116
|
+
version: '1.0'
|
111
117
|
- !ruby/object:Gem::Dependency
|
112
118
|
name: github-markup
|
113
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -150,26 +156,6 @@ dependencies:
|
|
150
156
|
- - "~>"
|
151
157
|
- !ruby/object:Gem::Version
|
152
158
|
version: '0.3'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: mixlib-shellout
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - "~>"
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '2.2'
|
160
|
-
- - "<"
|
161
|
-
- !ruby/object:Gem::Version
|
162
|
-
version: 2.3.0
|
163
|
-
type: :development
|
164
|
-
prerelease: false
|
165
|
-
version_requirements: !ruby/object:Gem::Requirement
|
166
|
-
requirements:
|
167
|
-
- - "~>"
|
168
|
-
- !ruby/object:Gem::Version
|
169
|
-
version: '2.2'
|
170
|
-
- - "<"
|
171
|
-
- !ruby/object:Gem::Version
|
172
|
-
version: 2.3.0
|
173
159
|
- !ruby/object:Gem::Dependency
|
174
160
|
name: pry
|
175
161
|
requirement: !ruby/object:Gem::Requirement
|
@@ -204,14 +190,14 @@ dependencies:
|
|
204
190
|
requirements:
|
205
191
|
- - "~>"
|
206
192
|
- !ruby/object:Gem::Version
|
207
|
-
version: '
|
193
|
+
version: '6.2'
|
208
194
|
type: :development
|
209
195
|
prerelease: false
|
210
196
|
version_requirements: !ruby/object:Gem::Requirement
|
211
197
|
requirements:
|
212
198
|
- - "~>"
|
213
199
|
- !ruby/object:Gem::Version
|
214
|
-
version: '
|
200
|
+
version: '6.2'
|
215
201
|
- !ruby/object:Gem::Dependency
|
216
202
|
name: redcarpet
|
217
203
|
requirement: !ruby/object:Gem::Requirement
|
@@ -246,42 +232,42 @@ dependencies:
|
|
246
232
|
requirements:
|
247
233
|
- - "~>"
|
248
234
|
- !ruby/object:Gem::Version
|
249
|
-
version: 0.
|
235
|
+
version: 0.80.1
|
250
236
|
type: :development
|
251
237
|
prerelease: false
|
252
238
|
version_requirements: !ruby/object:Gem::Requirement
|
253
239
|
requirements:
|
254
240
|
- - "~>"
|
255
241
|
- !ruby/object:Gem::Version
|
256
|
-
version: 0.
|
242
|
+
version: 0.80.1
|
257
243
|
- !ruby/object:Gem::Dependency
|
258
244
|
name: serverspec
|
259
245
|
requirement: !ruby/object:Gem::Requirement
|
260
246
|
requirements:
|
261
247
|
- - "~>"
|
262
248
|
- !ruby/object:Gem::Version
|
263
|
-
version: 2.
|
249
|
+
version: 2.41.5
|
264
250
|
type: :development
|
265
251
|
prerelease: false
|
266
252
|
version_requirements: !ruby/object:Gem::Requirement
|
267
253
|
requirements:
|
268
254
|
- - "~>"
|
269
255
|
- !ruby/object:Gem::Version
|
270
|
-
version: 2.
|
256
|
+
version: 2.41.5
|
271
257
|
- !ruby/object:Gem::Dependency
|
272
258
|
name: test-kitchen
|
273
259
|
requirement: !ruby/object:Gem::Requirement
|
274
260
|
requirements:
|
275
261
|
- - "~>"
|
276
262
|
- !ruby/object:Gem::Version
|
277
|
-
version:
|
263
|
+
version: 1.25.0
|
278
264
|
type: :development
|
279
265
|
prerelease: false
|
280
266
|
version_requirements: !ruby/object:Gem::Requirement
|
281
267
|
requirements:
|
282
268
|
- - "~>"
|
283
269
|
- !ruby/object:Gem::Version
|
284
|
-
version:
|
270
|
+
version: 1.25.0
|
285
271
|
- !ruby/object:Gem::Dependency
|
286
272
|
name: webmock
|
287
273
|
requirement: !ruby/object:Gem::Requirement
|
@@ -302,39 +288,39 @@ dependencies:
|
|
302
288
|
requirements:
|
303
289
|
- - "~>"
|
304
290
|
- !ruby/object:Gem::Version
|
305
|
-
version: 0.9.
|
291
|
+
version: 0.9.20
|
306
292
|
type: :development
|
307
293
|
prerelease: false
|
308
294
|
version_requirements: !ruby/object:Gem::Requirement
|
309
295
|
requirements:
|
310
296
|
- - "~>"
|
311
297
|
- !ruby/object:Gem::Version
|
312
|
-
version: 0.9.
|
298
|
+
version: 0.9.20
|
313
299
|
description: This plugin provides checks for Microsoft Azure's Resource Manager service.
|
314
300
|
email: "<github@ibuildstuff.co.uk>"
|
315
301
|
executables:
|
316
|
-
- check-azurerm-
|
317
|
-
- check-azurerm-
|
302
|
+
- check-azurerm-cores-dsv2-usage.rb
|
303
|
+
- check-azurerm-network-security-groups-usage.rb
|
304
|
+
- check-azurerm-service-bus-subscription.rb
|
305
|
+
- check-azurerm-public-ip-addresses-usage.rb
|
306
|
+
- check-azurerm-service-bus-topic-size.rb
|
307
|
+
- check-azurerm-static-public-ip-addresses-usage.rb
|
318
308
|
- check-azurerm-cores-dv2-usage.rb
|
309
|
+
- check-azurerm-virtual-network-gateway-connected.rb
|
310
|
+
- check-azurerm-route-tables-usage.rb
|
319
311
|
- check-azurerm-monitor-metric.rb
|
320
|
-
-
|
312
|
+
- metric-azurerm-service-bus-subscription-message-count.rb
|
321
313
|
- check-azurerm-load-balancers-usage.rb
|
322
|
-
- check-azurerm-route-tables-usage.rb
|
323
|
-
- check-azurerm-cores-fs-usage.rb
|
324
|
-
- check-azurerm-virtual-machines-usage.rb
|
325
|
-
- check-azurerm-service-bus-topic-size.rb
|
326
|
-
- check-azurerm-virtual-networks-usage.rb
|
327
|
-
- check-azurerm-cores-d-usage.rb
|
328
314
|
- metric-azurerm-virtual-network-gateway-usage.rb
|
315
|
+
- check-azurerm-virtual-networks-usage.rb
|
329
316
|
- check-azurerm-virtual-network-gateway-failure-connected.rb
|
330
|
-
- check-azurerm-service-bus-subscription.rb
|
331
|
-
- check-azurerm-static-public-ip-addresses-usage.rb
|
332
|
-
- check-azurerm-cores-ds-usage.rb
|
333
|
-
- check-azurerm-cores-dsv2-usage.rb
|
334
|
-
- check-azurerm-public-ip-addresses-usage.rb
|
335
317
|
- check-azurerm-network-interfaces-usage.rb
|
336
|
-
-
|
337
|
-
- check-azurerm-
|
318
|
+
- check-azurerm-virtual-machines-usage.rb
|
319
|
+
- check-azurerm-cores-ds-usage.rb
|
320
|
+
- check-azurerm-core-usage.rb
|
321
|
+
- check-azurerm-cores-d-usage.rb
|
322
|
+
- check-azurerm-cores-f-usage.rb
|
323
|
+
- check-azurerm-cores-fs-usage.rb
|
338
324
|
extensions: []
|
339
325
|
extra_rdoc_files: []
|
340
326
|
files:
|
@@ -394,7 +380,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
394
380
|
- !ruby/object:Gem::Version
|
395
381
|
version: '0'
|
396
382
|
requirements: []
|
397
|
-
|
383
|
+
rubyforge_project:
|
384
|
+
rubygems_version: 2.7.7
|
398
385
|
signing_key:
|
399
386
|
specification_version: 4
|
400
387
|
summary: Sensu plugins for working with an Azure Resource Manager environment
|