Skip to content

Flexgroups support ? #697

Answered by rahulguptajss
wally007 asked this question in Q&A
Nov 25, 2021 · 6 comments · 2 replies
Discussion options

You must be logged in to vote

@wally007 you can ignore all flexvol style by adding a rule - style `flexvol in exclude_equals
Docs @ https://github.com/NetApp/harvest/blob/18d4b2105b385f953adb18adcd98300454464282/cmd/poller/plugin/README.md#exclude_equals
Example below.

plugins:
  LabelAgent:
    # metric label zapi_value rest_value `default_value`
    value_to_num:
      - new_status state online online `0`
    exclude_equals:
      - style `flexgroup_constituent`
      - style `flexvol`
    replace:
      - style style `flexgroup_constituent` `flexgroup`
  Aggregator:
    volume<style=flexgroup>volume node,svm,aggr,style

Replies: 6 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@wally007
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by rahulguptajss
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@wally007
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants