lib/sensu/server/tessen.rb
def schedule_data_reports
        send_data
        @timers << EM::PeriodicTimer.new(21600) do
          send_data
        end
      end
# Schedule data reports, sending data to the Tessen service
# immediately and then every 6 hours after that.
Schedule data reports, sending data to the Tessen service
immediately and then every 6 hours after that.
Schedule data reports sending data to the Tessen service immediately and then every 6 hours after that .
def schedule_data_reports
        send_data
        @timers << EM::PeriodicTimer.new(21600) do
          send_data
        end
      end
def schedule_data_reports send_data @timers << EM :: PeriodicTimer . new ( 21600 ) do send_data end end
Schedule data reports, sending data to the Tessen service
immediately and then every 6 hours after that.
Schedule data reports sending data to the Tessen service immediately and then every 6 hours after that .