class Sensu::Extension::OnlyCheckOutput

Public Instance Methods

description() click to toggle source
# File lib/sensu/extensions/mutators/only_check_output.rb, line 10
def description
  "returns check output"
end
name() click to toggle source
# File lib/sensu/extensions/mutators/only_check_output.rb, line 6
def name
  "only_check_output"
end
run(event) { |event[:output], 0| ... } click to toggle source
# File lib/sensu/extensions/mutators/only_check_output.rb, line 14
def run(event)
  yield event[:check][:output], 0
end