Module: Deadpool

Defined in:
lib/deadpool/monitor/mysql.rb,
lib/deadpool.rb,
lib/deadpool/admin.rb,
lib/deadpool/state.rb,
lib/deadpool/helper.rb,
lib/deadpool/server.rb,
lib/deadpool/handler.rb,
lib/deadpool/options.rb,
lib/deadpool/generator.rb,
lib/deadpool/daemonizer.rb,
lib/deadpool/admin_server.rb,
lib/deadpool/monitor/base.rb,
lib/deadpool/monitor/redis.rb,
lib/deadpool/state_snapshot.rb,
lib/deadpool/failover_protocol.rb,
lib/deadpool/command_line_server.rb,
lib/deadpool/monitor/generic_nagios.rb,
lib/deadpool/failover_protocol/etc_hosts.rb,
lib/deadpool/failover_protocol/exec_remote_command.rb

Overview

Assumes at a minimum the following config: – primary_host: ‘127.0.0.1’ secondary_host: ‘127.0.0.1’ monitor_config:

nagios_plugin_path: '/usr/lib/nagios/plugins/check_something'

Defined Under Namespace

Modules: AdminServer, Daemonizer, FailoverProtocol, Monitor, Options Classes: Admin, CommandLineServer, DeadpoolError, Generator, Handler, Helper, Server, State, StateSnapshot

Constant Summary collapse

OK =
0
WARNING =
1
CRITICAL =
2
UNKNOWN =
3