From 8b574237e8d571e0873087bfd33ac207cf091c00 Mon Sep 17 00:00:00 2001 From: "Zane C. Bowers-Hadley" Date: Mon, 15 Aug 2022 12:46:19 -0500 Subject: [PATCH] add unassigned shards for opensearch #421 --- snmp/opensearch | 1 + 1 file changed, 1 insertion(+) diff --git a/snmp/opensearch b/snmp/opensearch index 8515136..2b13314 100755 --- a/snmp/opensearch +++ b/snmp/opensearch @@ -153,6 +153,7 @@ $to_return->{data}{c_act_shards} = $health_json->{active_shards}; $to_return->{data}{c_rel_shards} = $health_json->{relocating_shards}; $to_return->{data}{c_init_shards} = $health_json->{initializing_shards}; $to_return->{data}{c_delayed_shards} = $health_json->{delayed_unassigned_shards}; +$to_return->{data}{c_unass_shards} = $health_json->{unassigned_shards}; $to_return->{data}{c_pending_tasks} = $health_json->{number_of_pending_tasks}; $to_return->{data}{c_in_fl_fetch} = $health_json->{number_of_in_flight_fetch}; $to_return->{data}{c_task_max_in_time} = $health_json->{task_max_waiting_in_queue_millis};