Collect aggregate efficiency data for ONTAP 9.8 and below through Harvest Rest Collector #1057
rahulguptajss
started this conversation in
Show and tell
Replies: 1 comment
-
updated custom_agg_efficiency template as below and in above post also. name: Aggregate
query: api/storage/aggregates
object: aggr
counters:
- ^name => aggr
- ^^uuid => uuid
- ^home_node.name => node
- ^state => state
- ^block_storage.primary.disk_type => type
- ^block_storage.primary.raid_type => raid_type
- space.efficiency_without_snapshots.logical_used => logical_used_wo_snapshots
- space.efficiency_without_snapshots.savings => efficiency_savings_wo_snapshots
- hidden_fields:
- space
plugins:
- LabelAgent:
compute_metric:
- physical_used_wo_snapshots SUBTRACT space.efficiency_without_snapshots.logical_used space.efficiency_without_snapshots.savings |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
ONTAP 9.8 and below does not expose efficiency fields through Zapi. There is a way to collect the same through Rest collector. Harvest Rest collector is officially supported from ONTAP 9.12 so sugestion here is just a workaround. Below are the required template changes.
4: Create a new file custom_aggr_efficiency here with below contents
updated custom_agg_efficiency template as below.
5: Restart harvest/relevant pollers.
Note: During upgrade, rollback above changes and redo post upgrade.
Beta Was this translation helpful? Give feedback.
All reactions