api rrd ds cpu return old graph

adafos

New Member
Oct 3, 2019
3
0
1
52
Hi
i am using api rrd to show cpu graphs to my customers

While i get the graph the graph is an old one

Here is the graph i get with api rrd cpu
image001.png

and here is what i see in proxmox admin
image (3).png

Totally different graphs, and i dont know what i am doing wrong

The command i use is the following
/nodes/{node}/qemu/{vmid}/rrd?ds=cpu,maxcpu&timeframe=month&cf=AVERAGE

Thanks
 
Hi,

Totally different graphs, and i dont know what i am doing wrong

I mean, the RRD image one goes over multiple weeks and the Proxmox VE webinterface one is selected for hours, I'd guess comparing the x-axis.
Change the timeframe to month (average) in the Promxox VE gui so that you can compare the same data..
 
Thank for your suggestion,

i tried rrd hour-average but no luck, the graph is the same old graph

The proxmox admin give CPU USAGE GRAPH while rrd gives CPU GRAPH (not usage i underastand well) and rrd data sources dont have any choice for cpu usage only for cpu
 
the graph in the gui is generated in the browser with extjs charts, the data is queried at

/nodes/{node}/qemu/{vmid}/rrddata

not

/nodes/{node}/qemu/{vmid}/rrd
 

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!