Class: CloudstackNagios::Base

Inherits:
Thor
  • Object
show all
Includes:
Helper, Thor::Actions
Defined in:
lib/cloudstack-nagios/base.rb

Direct Known Subclasses

Cli, NagiosConfig

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from Helper

#load_template, #routers

Instance Attribute Details

#config ⇒ Object (readonly)

Returns the value of attribute config.



9
10
11
# File 'lib/cloudstack-nagios/base.rb', line 9

def config
  @config
end

Class Method Details

.exit_on_failure? ⇒ Boolean

exit with return code 1 in case of a error

Returns:

  • (Boolean)


18
19
20
# File 'lib/cloudstack-nagios/base.rb', line 18

def self.exit_on_failure?
  true
end