Module: MysqlHealth

Defined in:
lib/mysql_health/version.rb,
lib/mysql_health.rb,
lib/mysql_health/health.rb,
lib/mysql_health/server.rb,
lib/mysql_health/command_line.rb

Overview

mysql_health - a service for monitoring MySQL and exposing its health through an HTTP interface Copyright © 2012 Erik Osterman <[email protected]>

This file is part of mysql_health.

mysql_health is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

mysql_health is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with mysql_health. If not, see <www.gnu.org/licenses/>.

Defined Under Namespace

Classes: ArgumentException, CommandLine, Health, Server

Constant Summary collapse

VERSION =
"0.5.7"
@@health =
nil
@@log =
nil

Class Method Summary collapse

Class Method Details

.healthObject



27
28
29
# File 'lib/mysql_health/command_line.rb', line 27

def self.health 
  @@health
end

.health=(health) ⇒ Object



31
32
33
# File 'lib/mysql_health/command_line.rb', line 31

def self.health=(health)
  @@health = health
end

.logObject



35
36
37
# File 'lib/mysql_health/command_line.rb', line 35

def self.log
  @@log
end

.log=(log) ⇒ Object



39
40
41
# File 'lib/mysql_health/command_line.rb', line 39

def self.log=(log)
  @@log = log
end