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_factory.rb,
lib/big_brother/cluster_collection.rb,
lib/big_brother/active_active_cluster.rb,
lib/big_brother/active_passive_cluster.rb
Defined Under Namespace
Classes: ActiveActiveCluster, ActivePassiveCluster, App, CLI, Cluster, ClusterCollection, ClusterFactory, Configuration, HealthFetcher, IPVS, Logger, Nagios, Node, ShellExecutor, StatusFile, Ticker
Constant Summary collapse
- VERSION =
"0.8.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.
34 35 36 |
# File 'lib/big_brother.rb', line 34 def clusters @clusters end |
.config_dir ⇒ Object
Returns the value of attribute config_dir.
34 35 36 |
# File 'lib/big_brother.rb', line 34 def config_dir @config_dir end |
.ipvs ⇒ Object
Returns the value of attribute ipvs.
34 35 36 |
# File 'lib/big_brother.rb', line 34 def ipvs @ipvs end |
.logger ⇒ Object
Returns the value of attribute logger.
34 35 36 |
# File 'lib/big_brother.rb', line 34 def logger @logger end |
.nagios ⇒ Object
Returns the value of attribute nagios.
34 35 36 |
# File 'lib/big_brother.rb', line 34 def nagios @nagios end |
Class Method Details
.configure(filename) ⇒ Object
42 43 44 45 |
# File 'lib/big_brother.rb', line 42 def self.configure(filename) @config_file = filename @clusters.config(BigBrother::Configuration.from_file(filename)) end |