sensu-plugins-network-checks 3.2.0 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/bin/check-whois-domain-expiration.rb +2 -2
- data/lib/sensu-plugins-network-checks/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70aa80422dce93c55e1839498e469eb06ad61f8733867eb4e0d8dd6ade6b53a9
|
4
|
+
data.tar.gz: 2045bca6248840cef0fb966a8093065c6f401ec0bdd254b4a9c6fb9969869037
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c1da81bcc07e2292bdc44a3010dd4ee178622e44d1e906ecd529804a47fd7246cd64211b15d3c0ec6b3c0466e9efe055a22c8ccd458afa7a69f77bc2615549f
|
7
|
+
data.tar.gz: 7e31f007b36d6ac4162829145e481a629ae48c2724275c4d3600e8f13a955c60af939a6614acad7f24b0b45eaa2e63c76f91e5e3466eaebde49065983b67ce76
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
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[:
|
73
|
+
if num_days <= config[:critical].to_i
|
74
74
|
critical
|
75
|
-
elsif num_days <= config[:
|
75
|
+
elsif num_days <= config[:warning].to_i
|
76
76
|
warning
|
77
77
|
else
|
78
78
|
ok
|
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.
|
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-
|
11
|
+
date: 2018-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-plugin
|