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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 237e3065455a0bd6cab3a7af2d16483e752c523d
4
- data.tar.gz: 5fd811428dc51bf2699852829e42cf602529b288
3
+ metadata.gz: f95b52c29e06c36b04daac09ee044f8beb8ff696
4
+ data.tar.gz: 19130b94759f53b30dad024d3a746d37778fc706
5
5
  SHA512:
6
- metadata.gz: 20a62bab68e404c1c4e5d748d1fcd1b0808816eb326c55cbc14a903e7a24db71f709bef7c0768c1d4b1af5b59b4a31997873a0c2603c4300e7839bbf09c8428c
7
- data.tar.gz: e75d949a29347226a91997e8b698e882ce8c479149b53523dfe2fb4d099be34cc20fc0816708155e9245a159a8112249571cefbbbb8171245abbec1ee37737bf
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
@@ -2,7 +2,7 @@ module SensuPluginsNetworkChecks
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- PATCH = 1
5
+ PATCH = 2
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
data.tar.gz.sig CHANGED
@@ -1,3 +1,2 @@
1
- H dDz�v;=�U��pBJ4�%��1�P�^j��~�D�h$�/�j�@|ݒ-�ct�ꧏ]�BkG���)և��/�{�Q�+[�eВ��kg�,
2
- ve ���I�qKRE�#a���Z��nI�=e�@�@���4��5x�@��4)jԋ��*�X�6���ˮ�$�M�z��ʀP/,>iF�
3
- c�~�mg�
1
+ �˪�z9L0���Ț��>'�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.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: 2015-12-22 00:00:00.000000000 Z
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