Adding NetApp CLI commands to collector #2198
Unanswered
JustinNet1
asked this question in
Q&A
Replies: 1 comment 6 replies
-
Hi @JustinNet1 give this a try. Summary
StepsAll of these commands are run from the Harvest install directory.
vi conf/zapiperf/cdot/9.8.0/custom_process.yaml
name: Process
query: process
object: process
instance_key: uuid
counters:
- instance_name => name
- node_name => node
- total_stat_period
plugins:
LabelAgent:
- include_equals:
- name `cifsKsmfUpCallThreadMain`
- name `mgwd`
- name `secd`
- name `vldb`
export_options:
instance_keys:
- name
- node
objects:
Process: custom_process.yaml
curl -s 'http://localhost:12990/metrics' | grep process_total_stat_period
process_total_stat_period{cluster="umeng-aff300-01-02",datacenter="dc-1",name="cifsKsmfUpCallThreadMain",node="umeng-aff300-02"} 1681817534
process_total_stat_period{cluster="umeng-aff300-01-02",datacenter="dc-1",name="cifsKsmfUpCallThreadMain",node="umeng-aff300-03"} 1680601455
process_total_stat_period{cluster="umeng-aff300-01-02",datacenter="dc-1",name="mgwd",node="umeng-aff300-02"} 1681819055
process_total_stat_period{cluster="umeng-aff300-01-02",datacenter="dc-1",name="mgwd",node="umeng-aff300-03"} 1680604456
process_total_stat_period{cluster="umeng-aff300-01-02",datacenter="dc-1",name="secd",node="umeng-aff300-02"} 1681822536
process_total_stat_period{cluster="umeng-aff300-01-02",datacenter="dc-1",name="secd",node="umeng-aff300-03"} 1680605967
process_total_stat_period{cluster="umeng-aff300-01-02",datacenter="dc-1",name="vldb",node="umeng-aff300-02"} 1681822105
process_total_stat_period{cluster="umeng-aff300-01-02",datacenter="dc-1",name="vldb",node="umeng-aff300-03"} 1680602381 |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey Team, I have a customer wondering how hard it would be to get the following NetApp CLI commands put into the collector:
Beta Was this translation helpful? Give feedback.
All reactions