I just found your unity collector script which btw is pretty well written from a bash scripter perspective.
I've a question regarding your use of sp.*.storage.lun.*.totalIoTime and sp.*.storage.lun.*.currentIOCount.
My goal is to collect the data as shown in the picture below.
When I query on the sp.*.storage.lun.*.currentIOCount path all I get is mostly 0 and 1 per lun
though when I use the sp.*.storage.lun.*.totalCallsRate gives me the correct mean which is about 19k from the example.
About 'LUN RESPONSE TIME' one neither of them return me any value close to that.
So knowing it's unit is in uSec.
When using sp.*.storage.lun.*.totalIoTime all the values are way higher than expected (i tried with interval 5 and 60):
this is the total sum (uSecs) per sp
us sum {'spa': 55451448822569, 'spb': 52956953776637}
With sp.*.storage.lun.*.responseTime I get this:
{'spb': 247806.02390732957, 'spa': 192586.44338922366}
which is way far from 1000usecs ~1ms I'm expecting to find.
Actually I just realized I can also scrape it directly from the website /api/types/kpiValue/.
Anyways It would be better If I could use a documented API.
Hi @willnx,
I just found your unity collector script which btw is pretty well written from a bash scripter perspective.
I've a question regarding your use of
sp.*.storage.lun.*.totalIoTime
andsp.*.storage.lun.*.currentIOCount
.My goal is to collect the data as shown in the picture below.
When I query on the
sp.*.storage.lun.*.currentIOCount
path all I get is mostly 0 and 1 per lun though when I use thesp.*.storage.lun.*.totalCallsRate
gives me the correct mean which is about 19k from the example.About 'LUN RESPONSE TIME' one neither of them return me any value close to that. So knowing it's unit is in uSec.
When using
sp.*.storage.lun.*.totalIoTime
all the values are way higher than expected (i tried with interval 5 and 60): this is the total sum (uSecs) per sp us sum {'spa': 55451448822569, 'spb': 52956953776637}With
sp.*.storage.lun.*.responseTime
I get this: {'spb': 247806.02390732957, 'spa': 192586.44338922366}which is way far from 1000usecs ~1ms I'm expecting to find.
Can you help me?
Regards, C.