Module: BigBrother
- Defined in:
- lib/big_brother.rb,
lib/big_brother/app.rb,
lib/big_brother/cli.rb,
lib/big_brother/ipvs.rb,
lib/big_brother/node.rb,
lib/big_brother/logger.rb,
lib/big_brother/nagios.rb,
lib/big_brother/ticker.rb,
lib/big_brother/cluster.rb,
lib/big_brother/version.rb,
lib/big_brother/status_file.rb,
lib/big_brother/configuration.rb,
lib/big_brother/health_fetcher.rb,
lib/big_brother/shell_executor.rb,
lib/big_brother/cluster_collection.rb
Defined Under Namespace
Classes: App, CLI, Cluster, ClusterCollection, Configuration, HealthFetcher, IPVS, Logger, Nagios, Node, ShellExecutor, StatusFile, Ticker
Constant Summary collapse
- VERSION =
"0.6.7"
Class Attribute Summary collapse
-
.clusters ⇒ Object
Returns the value of attribute clusters.
-
.config_dir ⇒ Object
Returns the value of attribute config_dir.
-
.ipvs ⇒ Object
Returns the value of attribute ipvs.
-
.logger ⇒ Object
Returns the value of attribute logger.
-
.nagios ⇒ Object
Returns the value of attribute nagios.
Class Method Summary collapse
Class Attribute Details
.clusters ⇒ Object
Returns the value of attribute clusters.
30 31 32 |
# File 'lib/big_brother.rb', line 30 def clusters @clusters end |
.config_dir ⇒ Object
Returns the value of attribute config_dir.
30 31 32 |
# File 'lib/big_brother.rb', line 30 def config_dir @config_dir end |
.ipvs ⇒ Object
Returns the value of attribute ipvs.
30 31 32 |
# File 'lib/big_brother.rb', line 30 def ipvs @ipvs end |
.logger ⇒ Object
Returns the value of attribute logger.
30 31 32 |
# File 'lib/big_brother.rb', line 30 def logger @logger end |
.nagios ⇒ Object
Returns the value of attribute nagios.
30 31 32 |
# File 'lib/big_brother.rb', line 30 def nagios @nagios end |
Class Method Details
.configure(filename) ⇒ Object
38 39 40 41 |
# File 'lib/big_brother.rb', line 38 def self.configure(filename) @config_file = filename @clusters.config(BigBrother::Configuration.from_file(filename)) end |