Class: IControl::LocalLB::Monitor::CommonAttributes
- Inherits:
-
Base::Struct
- Object
- Base::Struct
- IControl::LocalLB::Monitor::CommonAttributes
- Defined in:
- lib/icontrol/local_lb/monitor.rb,
lib/icontrol/local_lb/monitor.rb
Overview
A struct that describes some common attributes of a monitor template.
Instance Attribute Summary collapse
-
#dest_ipport ⇒ IControl::LocalLB::MonitorIPPort
The destination IP:port of this monitor template.
-
#interval ⇒ Numeric
The interval specifying how frequently the monitor instance of this template will run.
-
#is_directly_usable ⇒ Object
The flag indicating whether this template is directly usable, or the user has to derive from this template before being able to use the derived template.
-
#is_read_only ⇒ Object
The flag indicating whether this template is read-only.
-
#parent_template ⇒ String
The parent template of this monitor template.
-
#timeout ⇒ Numeric
The number of seconds in which the node or service must respond to the monitor request.
Instance Attribute Details
#dest_ipport ⇒ IControl::LocalLB::MonitorIPPort
The destination IP:port of this monitor template.
406 407 408 |
# File 'lib/icontrol/local_lb/monitor.rb', line 406 def dest_ipport @dest_ipport end |
#interval ⇒ Numeric
The interval specifying how frequently the monitor instance of this template will run.
406 407 408 |
# File 'lib/icontrol/local_lb/monitor.rb', line 406 def interval @interval end |
#is_directly_usable ⇒ Object
The flag indicating whether this template is directly usable, or the user has to derive from this template before being able to use the derived template.
406 407 408 |
# File 'lib/icontrol/local_lb/monitor.rb', line 406 def is_directly_usable @is_directly_usable end |
#is_read_only ⇒ Object
The flag indicating whether this template is read-only.
406 407 408 |
# File 'lib/icontrol/local_lb/monitor.rb', line 406 def is_read_only @is_read_only end |
#parent_template ⇒ String
The parent template of this monitor template.
406 407 408 |
# File 'lib/icontrol/local_lb/monitor.rb', line 406 def parent_template @parent_template end |
#timeout ⇒ Numeric
The number of seconds in which the node or service must respond to the monitor request. If the target responds within the set time period, it is considered up. If the target does not respond within the set time period, it is considered down. You can change this number to any number you want, however, it should be 3 times the interval number of seconds plus 1 second.
406 407 408 |
# File 'lib/icontrol/local_lb/monitor.rb', line 406 def timeout @timeout end |