sensu-plugins-chrony 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/bin/check-chrony.rb +1 -1
- data/lib/sensu-plugins-chrony/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 588fd10b6c0a2e1c924718b25ef605cec5055c73
|
4
|
+
data.tar.gz: 832570b5d61689ee36981c76488b266bc6988784
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e36105f9debdd0fba525524a92f488b486a8fbf8e20f6521b351814068697c319676b6c2e17e536dc3a1773399144a9cce1e778ff73c8dc7640e3116d9ef3f7
|
7
|
+
data.tar.gz: 44f160369e84bf568f96c8a8cc6484746c66ba634b01deec56178cf82779870b3e52e326509007782fa980b367906a2e8f07f867faa1361bca33991b56969dfa
|
data/CHANGELOG.md
CHANGED
data/bin/check-chrony.rb
CHANGED
@@ -115,7 +115,7 @@ class CheckChrony < Sensu::Plugin::Check::CLI
|
|
115
115
|
|
116
116
|
if offset
|
117
117
|
check_name = "chrony-offset"
|
118
|
-
msg = "NTP offset is #{offset}ms"
|
118
|
+
msg = "NTP offset is #{offset.round(4)}ms"
|
119
119
|
|
120
120
|
if offset >= config[:crit_offset] or offset <= -config[:crit_offset]
|
121
121
|
msg += ", expected > -#{config[:crit_offset]} and < #{config[:crit_offset]}"
|