Method: Sensu::Utilities#check_subdued?
- Defined in:
- lib/sensu/utilities.rb
#check_subdued?(check) ⇒ 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.
380 381 382 383 384 385 386 |
# File 'lib/sensu/utilities.rb', line 380 def check_subdued?(check) if check[:subdue] in_time_windows?(check[:subdue]) else false end end |