Class: Riemann::Tools::Opensearch::Health
- Inherits:
-
JsonMapper
- Object
- JsonMapper
- Riemann::Tools::Opensearch::Health
- Defined in:
- lib/riemann/tools/opensearch.rb
Defined Under Namespace
Classes: Node
Instance Attribute Summary collapse
-
#active_shards_percent ⇒ Object
Returns the value of attribute active_shards_percent.
-
#cluster ⇒ Object
Returns the value of attribute cluster.
-
#discovered_cluster_manager ⇒ Object
Returns the value of attribute discovered_cluster_manager.
-
#epoch ⇒ Object
Returns the value of attribute epoch.
-
#init ⇒ Object
Returns the value of attribute init.
-
#max_task_wait_time ⇒ Object
Returns the value of attribute max_task_wait_time.
-
#node ⇒ Object
Returns the value of attribute node.
-
#pending_tasks ⇒ Object
Returns the value of attribute pending_tasks.
-
#pri ⇒ Object
Returns the value of attribute pri.
-
#relo ⇒ Object
Returns the value of attribute relo.
-
#shards ⇒ Object
Returns the value of attribute shards.
-
#status ⇒ Object
Returns the value of attribute status.
-
#timestamp ⇒ Object
Returns the value of attribute timestamp.
-
#unassign ⇒ Object
Returns the value of attribute unassign.
Instance Method Summary collapse
-
#initialize(values) ⇒ Health
constructor
A new instance of Health.
Methods inherited from JsonMapper
Constructor Details
Instance Attribute Details
#active_shards_percent ⇒ Object
Returns the value of attribute active_shards_percent.
54 55 56 |
# File 'lib/riemann/tools/opensearch.rb', line 54 def active_shards_percent @active_shards_percent end |
#cluster ⇒ Object
Returns the value of attribute cluster.
54 55 56 |
# File 'lib/riemann/tools/opensearch.rb', line 54 def cluster @cluster end |
#discovered_cluster_manager ⇒ Object
Returns the value of attribute discovered_cluster_manager.
54 55 56 |
# File 'lib/riemann/tools/opensearch.rb', line 54 def discovered_cluster_manager @discovered_cluster_manager end |
#epoch ⇒ Object
Returns the value of attribute epoch.
54 55 56 |
# File 'lib/riemann/tools/opensearch.rb', line 54 def epoch @epoch end |
#init ⇒ Object
Returns the value of attribute init.
54 55 56 |
# File 'lib/riemann/tools/opensearch.rb', line 54 def init @init end |
#max_task_wait_time ⇒ Object
Returns the value of attribute max_task_wait_time.
54 55 56 |
# File 'lib/riemann/tools/opensearch.rb', line 54 def max_task_wait_time @max_task_wait_time end |
#node ⇒ Object
Returns the value of attribute node.
54 55 56 |
# File 'lib/riemann/tools/opensearch.rb', line 54 def node @node end |
#pending_tasks ⇒ Object
Returns the value of attribute pending_tasks.
54 55 56 |
# File 'lib/riemann/tools/opensearch.rb', line 54 def pending_tasks @pending_tasks end |
#pri ⇒ Object
Returns the value of attribute pri.
54 55 56 |
# File 'lib/riemann/tools/opensearch.rb', line 54 def pri @pri end |
#relo ⇒ Object
Returns the value of attribute relo.
54 55 56 |
# File 'lib/riemann/tools/opensearch.rb', line 54 def relo @relo end |
#shards ⇒ Object
Returns the value of attribute shards.
54 55 56 |
# File 'lib/riemann/tools/opensearch.rb', line 54 def shards @shards end |
#status ⇒ Object
Returns the value of attribute status.
54 55 56 |
# File 'lib/riemann/tools/opensearch.rb', line 54 def status @status end |
#timestamp ⇒ Object
Returns the value of attribute timestamp.
54 55 56 |
# File 'lib/riemann/tools/opensearch.rb', line 54 def @timestamp end |
#unassign ⇒ Object
Returns the value of attribute unassign.
54 55 56 |
# File 'lib/riemann/tools/opensearch.rb', line 54 def unassign @unassign end |