sensu-plugins-ipmi-sensors 0.0.1 → 0.0.2
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-ipmi-sensors.rb +2 -1
- data/lib/sensu-plugins-ipmi-sensors/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: 089ad99f64eb12371d689a57d8035e7a11e972cf
|
4
|
+
data.tar.gz: ff006120c18464e698b04bc0e283de856278e533
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67f39a6e10feb0e7bc78938a3563544ad5aada8a15a6f59e7bbaf65abfbe46a0036608e8bc37ae3a41ec280e124054c67104121d41911206264221bb1eeb545b
|
7
|
+
data.tar.gz: cf1d6dc581440b437a274e6c545f4315d7ebf1c5175039a43eb32c43cdf6afc210e77577f58ae12eca271476b7e08a82b5a1118596aafec40dd557671a349011
|
data/CHANGELOG.md
CHANGED
data/bin/check-ipmi-sensors.rb
CHANGED
@@ -150,6 +150,7 @@ class CheckIPMISensors < Sensu::Plugin::Check::CLI
|
|
150
150
|
case sensor[:unit].downcase
|
151
151
|
when "n/a", "nominal"
|
152
152
|
# life's good
|
153
|
+
send_ok(check_name, "IPMI sensor #{name} is healthy (State: #{sensor[:state]})")
|
153
154
|
next
|
154
155
|
|
155
156
|
when "warning"
|
@@ -161,7 +162,7 @@ class CheckIPMISensors < Sensu::Plugin::Check::CLI
|
|
161
162
|
problems += 1
|
162
163
|
|
163
164
|
else
|
164
|
-
|
165
|
+
send_unknown(check_name, "IPMI sensor #{name} is unknown (State: #{sensor[:state]})")
|
165
166
|
|
166
167
|
end
|
167
168
|
end
|