#qos workload detail volume
1 messages · Page 1 of 1 (latest)
@timber pebble workload detail volume is only collected for volumes with workload-class autovolume. Could you share output of below command
bin/zapi -p POLLERNAME show data --api qos-workload-get-iter
Hi @ripe fox do you know how I can do this inside the NABox? 🙂
Can you try ssh to nabox machine with root user and run below
docker run --entrypoint "bin/zapi" --volume /opt/harvest2-conf/harvest.yml:/opt/harvest/harvest.yml rahulguptajss/harvest -p POLLERNAME show data --api qos-workload-get-iter
thank for you answer. I receive the error docker: Error response from daemon: failed to create shim: OCI runtime create failed: runc create failed: unable to start container process: exec: "bin/zapi": stat bin/zapi: no such file or directory: unknown.
ERRO[0000] error waiting for container: context canceled
hmm let's try different image cr.netapp.io/harvest:latest. How about below?
docker run --entrypoint "bin/zapi" --volume /opt/harvest2-conf/harvest.yml:/opt/harvest/harvest.yml cr.netapp.io/harvest:latest -p POLLERNAME show data --api qos-workload-get-iter
hmm still the same
Ok. We can try Rest API way. Could you let me know the ONTAP version?
sure currently it is ONTAP 9.9.1 P6
Okay, Let's check the output of below URL. You'll need to pass user:pass for the poller
https://IP_ADDRESS/api/private/cli/qos/workload?fields=class,vserver,volume,lun,qtree,wid,workload&class=autovolume
with curl I only see 8 records and only the root volumes
"records": [
{
"workload": "<volume>_root-wid27591",
"class": "autovolume",
"wid": 27591,
"vserver": "<vserver>",
"volume": "<volume>_root"
},
{
"workload": "<volume>_root-wid10923",
"class": "autovolume",
"wid": 10923,
"vserver": "<vserver>",
"volume": "<volume>_root"
}
],
"num_records": 8
that is the reason you see root volumes only. What other workload-classes you want to collect?
ahhh I see. our Volumes would be user-defined class
okay that would need a code change. Could you open a github issue for this. Thanks.
yes sure 🙂 Are we the only one which are requesting for that?
so far yes 🙂
sorry for that 😇