Class: NtqTools::Monitors::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/ntq_tools/monitors/base.rb

Direct Known Subclasses

Database, Redis, Sidekiq

Class Method Summary collapse

Class Method Details

.checkObject



14
15
16
# File 'lib/ntq_tools/monitors/base.rb', line 14

def check
  "You must define the check method in your monitor class"
end

.is_installed?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/ntq_tools/monitors/base.rb', line 10

def is_installed?
  "You must define the is_installed? method in your monitor class"
end

.nameObject



6
7
8
# File 'lib/ntq_tools/monitors/base.rb', line 6

def name
  "You must define the name method in your monitor class and add it to the configuration class"
end