API Help probably just being stupid.

necsant

New Member
Jan 11, 2013
2
0
1
Hi Folks,

I have searched google top and bottom for the answer to this I cant help but get the feeling I am missing something stupid.

These work fine:
Code:
pvesh get /nodes/prox/rrd -ds cpu -timeframe hour
Code:
 pvesh get /nodes/prox/rrd -ds netin,netout -timeframe hour

These do not:
Code:
 pvesh get /nodes/prox/rrd -ds mem,maxmem -timeframe hour
Code:
 pvesh get /nodes/prox/rrd -ds diskread,diskwrite -timeframe hour


If I view the graphs in proxmox I can see the ds names are mem,maxmem , diskread,diskwrite , but the API returns the error:
Code:
RRD error: No DS called 'mem' in '/var/lib/rrdcached/db/pve2-node/prox'

Any assistance?

Thanks.
 
Use the following command to view the names:

# rrdtool dump /var/lib/rrdcached/db/pve2-node/prox |less