sensu-plugins-network-checks 3.2.0 → 3.2.1

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
  SHA256:
3
- metadata.gz: 75dc1fbc317bd118f4c23b73c9f205252f45d172596908b550370ecfa14ec8b2
4
- data.tar.gz: e9b7b2a8bf61206636614c54e225f363ccf50df58d6060821ea5c8dd53daefbf
3
+ metadata.gz: 70aa80422dce93c55e1839498e469eb06ad61f8733867eb4e0d8dd6ade6b53a9
4
+ data.tar.gz: 2045bca6248840cef0fb966a8093065c6f401ec0bdd254b4a9c6fb9969869037
5
5
  SHA512:
6
- metadata.gz: b5075fbdc1d8d2b318be88ea2a1b606fdb3b8d4be30e38a01fb08b78d250eb46b9dff104ec0b619c86a73491e60c2c253ea504db51f69a83d1fffc8ecb50546f
7
- data.tar.gz: e1be3fb72df400fc60da02bc021b606a5af127b77c1162bd67c2e0710d22718e6bba0ec869d586dc67038f4056f5331b09010b6acb594644ba9f074b285ac09c
6
+ metadata.gz: 6c1da81bcc07e2292bdc44a3010dd4ee178622e44d1e906ecd529804a47fd7246cd64211b15d3c0ec6b3c0466e9efe055a22c8ccd458afa7a69f77bc2615549f
7
+ data.tar.gz: 7e31f007b36d6ac4162829145e481a629ae48c2724275c4d3600e8f13a955c60af939a6614acad7f24b0b45eaa2e63c76f91e5e3466eaebde49065983b67ce76
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugin
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [3.2.1] - 2018-08-31
9
+ ### Fixed
10
+ - check-whois-domain-expiration.rb: corrected warn and critical flag value parsing per: https://github.com/sensu-plugins/sensu-plugins-network-checks/issues/81 (@aww-yiss)
11
+
8
12
  ## [3.2.0] - 2018-08-06
9
13
  ### Added
10
14
  - metrics-net.rb: allow including only interfaces whos status is `up` (@johannagnarsson)
@@ -228,7 +232,8 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugin
228
232
 
229
233
  * initial release, same as community repo
230
234
 
231
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-network-checks/compare/3.2.0...HEAD
235
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-network-checks/compare/3.2.1...HEAD
236
+ [3.2.1]: https://github.com/sensu-plugins/sensu-plugins-network-checks/compare/3.2.0...3.2.1
232
237
  [3.2.0]: https://github.com/sensu-plugins/sensu-plugins-network-checks/compare/3.1.2...3.2.0
233
238
  [3.1.2]: https://github.com/sensu-plugins/sensu-plugins-network-checks/compare/3.1.1...3.1.2
234
239
  [3.1.1]: https://github.com/sensu-plugins/sensu-plugins-network-checks/compare/3.1.0...3.1.1
@@ -70,9 +70,9 @@ class WhoisDomainExpirationCheck < Sensu::Plugin::Check::CLI
70
70
 
71
71
  message "#{config[:domain]} expires on #{expires_on.strftime('%m-%d-%Y')} (#{num_days} days away)"
72
72
 
73
- if num_days <= config[:warning].to_i
73
+ if num_days <= config[:critical].to_i
74
74
  critical
75
- elsif num_days <= config[:critical].to_i
75
+ elsif num_days <= config[:warning].to_i
76
76
  warning
77
77
  else
78
78
  ok
@@ -4,7 +4,7 @@ module SensuPluginsNetworkChecks
4
4
  module Version
5
5
  MAJOR = 3
6
6
  MINOR = 2
7
- PATCH = 0
7
+ PATCH = 1
8
8
 
9
9
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-network-checks
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-07 00:00:00.000000000 Z
11
+ date: 2018-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin