class NginxSystemWorker
Отвечает за сбор и отправку логов Nginx и системы
Public Instance Methods
perform()
click to toggle source
# File lib/hot_catch/nginx_system_worker.rb, line 6 def perform logs = get_system_metrics() sender = HotCatch::MakeHttpsRequest.new sender.system_g_log(logs) nginx_logs = ReceiveNginxLogs.new logs = nginx_logs.get_last_logs sender = HotCatch::MakeHttpsRequest.new sender.nginx_g_log(logs) end