sensu-plugins-network-checks 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +4 -0
- data/bin/check-jsonwhois-domain-expiration.rb +1 -0
- data/bin/check-whois-domain-expiration-multi.rb +1 -0
- data/lib/sensu-plugins-network-checks/version.rb +1 -1
- data.tar.gz.sig +2 -3
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f95b52c29e06c36b04daac09ee044f8beb8ff696
|
|
4
|
+
data.tar.gz: 19130b94759f53b30dad024d3a746d37778fc706
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0748e9f294e4d066e36c086c2441ed527fba8b17fc5249a38b4a3a02611beff13e7fe4d86aadf9b67151c2c6702afbf32d8e01476b7e509b2e77b04922df94cd
|
|
7
|
+
data.tar.gz: b972c239580796e3e99b783a2dc164124b2c889f361229ee8602ef8a21ccd439076d279b0219b30037e78d66bcfe5ea48ba9ed07bb36541b7137ba1bedf02b70
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
|
5
5
|
|
|
6
6
|
## Unreleased
|
|
7
7
|
|
|
8
|
+
## [0.1.2] - 2016-01-08
|
|
9
|
+
### Fixed
|
|
10
|
+
- Bugfix for `check-whois-domain-expiration-multi` and `check-jsonwhois-domain-expiration`: return a warning-level response if there were any domains with expiration dates in the warning time period but none in the critical time period.
|
|
11
|
+
|
|
8
12
|
## [0.1.1] - 2015-12-21
|
|
9
13
|
### Added
|
|
10
14
|
- activesupport runtime dependency locked to 4.2.5 to ensure that we do not need ruby > 2.2
|
|
@@ -117,6 +117,7 @@ class JSONWhoisDomainExpirationCheck < Sensu::Plugin::Check::CLI
|
|
|
117
117
|
if !status['critical'].empty?
|
|
118
118
|
critical status['critical'].map { |u, v| "#{u} days left:#{v}" }.join(',')
|
|
119
119
|
elsif !status['warning'].empty?
|
|
120
|
+
warning status['warning'].map { |u, v| "#{u} days left:#{v}" }.join(',')
|
|
120
121
|
else
|
|
121
122
|
ok 'No domains expire in the near term'
|
|
122
123
|
end
|
|
@@ -91,6 +91,7 @@ class WhoisDomainExpirationCheck < Sensu::Plugin::Check::CLI
|
|
|
91
91
|
if !status['critical'].empty?
|
|
92
92
|
critical status['critical'].map { |u, v| "#{u} days left:#{v}" }.join(',')
|
|
93
93
|
elsif !status['warning'].empty?
|
|
94
|
+
warning status['warning'].map { |u, v| "#{u} days left:#{v}" }.join(',')
|
|
94
95
|
else
|
|
95
96
|
ok 'No domains expire in the near term'
|
|
96
97
|
end
|
data.tar.gz.sig
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
c�~�mg�
|
|
1
|
+
�˪�z9L�0���Ț��>'�9���
|
|
2
|
+
�
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sensu-plugins-network-checks
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sensu-Plugins and contributors
|
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
|
30
30
|
8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
|
|
31
31
|
HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
|
|
32
32
|
-----END CERTIFICATE-----
|
|
33
|
-
date:
|
|
33
|
+
date: 2016-01-09 00:00:00.000000000 Z
|
|
34
34
|
dependencies:
|
|
35
35
|
- !ruby/object:Gem::Dependency
|
|
36
36
|
name: dnsbl-client
|
metadata.gz.sig
CHANGED
|
Binary file
|