Class: Cloudscale::Monitor::GeneralPreop
- Inherits:
-
Preops::Preop
- Object
- Preops::Preop
- Cloudscale::Monitor::GeneralPreop
- 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 }, :host => { :argument => "--host", :description => "The host endpoint for the agent registration", :required => false, :value => nil }, :port => { :argument => "--port", :description => "The port of the endpoint for the agent registration", :required => false, :value => nil } }
Instance Attribute Summary
Attributes inherited from Preops::Preop
Instance Method Summary collapse
-
#initialize ⇒ GeneralPreop
constructor
A new instance of GeneralPreop.
- #options ⇒ Object
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
#initialize ⇒ GeneralPreop
Returns a new instance of GeneralPreop.
40 41 42 |
# File 'lib/cloudscale/monitor/agent/preops/general_preop.rb', line 40 def initialize self.init end |
Instance Method Details
#options ⇒ Object
36 37 38 |
# File 'lib/cloudscale/monitor/agent/preops/general_preop.rb', line 36 def @@options end |