class Easymon::TrafficEnabledCheck

Public Instance Methods

check() click to toggle source
# File lib/easymon/checks/traffic_enabled_check.rb, line 3
def check
  check_status = semaphore_exists?
  if check_status
    message = "ENABLED"
  else
    message = "DISABLED"
  end
  [check_status, message]
end