Class: CloudstackNagios::Base
- Inherits:
-
Thor
- Object
- Thor
- CloudstackNagios::Base
- Includes:
- Helper, Thor::Actions
- Defined in:
- lib/cloudstack-nagios/base.rb
Direct Known Subclasses
Capacity, Check, Cli, Icinga2Config, NagiosConfig, SnmpdConfig, SystemVm
Constant Summary
Constants included from Helper
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Class Method Summary collapse
-
.exit_on_failure? ⇒ Boolean
exit with return code 1 in case of a error.
Methods included from Helper
#check_data, #cs_routers, #cs_system_vms, #exit_with_failure, #load_template, #storage_pools
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
10 11 12 |
# File 'lib/cloudstack-nagios/base.rb', line 10 def config @config end |
Class Method Details
.exit_on_failure? ⇒ Boolean
exit with return code 1 in case of a error
19 20 21 |
# File 'lib/cloudstack-nagios/base.rb', line 19 def self.exit_on_failure? true end |