Class: Cloudscale::Monitor::GeneralPreop

Inherits:
Preops::Preop show all
Includes:
Singleton
Defined in:
lib/cloudscale/monitor/agent/preops/general_preop.rb

Constant Summary collapse

@@options =
{
  :token => {
    :argument => "--token",
    :description => "The Token, which is automatically generated in your Account for Monitoring",
    :required => true,
    :value => nil
  },
}

Instance Attribute Summary

Attributes inherited from Preops::Preop

#log, #registry

Instance Method Summary collapse

Methods inherited from Preops::Preop

#clear_options, #get_option, #get_option_value, #init, #init_charts, #init_menus, #init_options, #save_options, #set_option_value

Constructor Details

#initializeGeneralPreop

Returns a new instance of GeneralPreop.



28
29
30
# File 'lib/cloudscale/monitor/agent/preops/general_preop.rb', line 28

def initialize
  self.init
end

Instance Method Details

#optionsObject



24
25
26
# File 'lib/cloudscale/monitor/agent/preops/general_preop.rb', line 24

def options
  @@options
end