lib/riemann/babbler/plugins/cuboxtemp.rb in riemann-babbler-1.0.5 vs lib/riemann/babbler/plugins/cuboxtemp.rb in riemann-babbler-1.0.5.1
- old
+ new
@@ -1,10 +1,10 @@
class Riemann::Babbler::Cuboxtemp < Riemann::Babbler
def init
plugin.set_default(:service, 'cuboxtemp')
plugin.set_default(:interval, 60)
- plugin.set_default(:cmd, 'sensors | grep "T-junction" | awk "{print $2}"')
+ plugin.set_default(:cmd, "sensors | grep 'T-junction' | awk '{print $2}'")
plugin.states.set_default(:warning, 90)
plugin.states.set_default(:critical, 100)
end
def run_plugin