Class: Ring::SQA
- Inherits:
-
Object
- Object
- Ring::SQA
- Defined in:
- lib/ring/sqa.rb,
lib/ring/sqa/cfg.rb,
lib/ring/sqa/cli.rb,
lib/ring/sqa/log.rb,
lib/ring/sqa/mtr.rb,
lib/ring/sqa/core.rb,
lib/ring/sqa/alarm.rb,
lib/ring/sqa/nodes.rb,
lib/ring/sqa/paste.rb,
lib/ring/sqa/poller.rb,
lib/ring/sqa/analyzer.rb,
lib/ring/sqa/database.rb,
lib/ring/sqa/alarm/cfg.rb,
lib/ring/sqa/alarm/exec.rb,
lib/ring/sqa/alarm/email.rb,
lib/ring/sqa/alarm/message.rb,
lib/ring/sqa/alarm/udp2irc.rb,
lib/ring/sqa/poller/sender.rb,
lib/ring/sqa/database/model.rb,
lib/ring/sqa/alarm/collector.rb,
lib/ring/sqa/poller/receiver.rb,
lib/ring/sqa/poller/responder.rb
Defined Under Namespace
Classes: Alarm, AnalyzeBuffer, Analyzer, CLI, Database, InvalidConfig, MTR, NoConfig, Nodes, Paste, Poller, Receiver, Responder, Sender, StandardError
Constant Summary collapse
- Directory =
'/etc/ring-sqa'- Config =
Asetus.new name: 'sqa', load: false, usrdir: Directory, cfgfile: 'main.conf'
- CFG =
Config.cfg
- Log =
Logger.new STDERR
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/ring/sqa/core.rb', line 11 def run Thread.abort_on_exception = true Thread.new { Responder.new } Thread.new { Sender.new @database, @nodes } Thread.new { Receiver.new @database } Analyzer.new(@database, @nodes).run end |