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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!