lib/sensu/utilities.rb
def check_subdued?(check)
      if check[:subdue]
        in_time_windows?(check[:subdue])
      else
        false
      end
    end
# Determine if a check is subdued, by conditions set in the check
# definition. If any of the conditions are true, without an
# exception, the check is subdued.
#
# @param check [Hash] definition.
# @return [TrueClass, FalseClass]
Determine if a check is subdued, by conditions set in the check
definition. If any of the conditions are true, without an
exception, the check is subdued.
Determine if a check is subdued by conditions set in the check definition . If any of the conditions are true without an exception the check is subdued .
def check_subdued?(check)
      if check[:subdue]
        in_time_windows?(check[:subdue])
      else
        false
      end
    end
def check_subdued? ( check ) if check [ :subdue ] in_time_windows? ( check [ :subdue ] ) else false end end
Determine if a check is subdued, by conditions set in the check
definition.
Determine if a check is subdued by conditions set in the check definition .
None
TrueClass, FalseClass
check
None