[SOLVED] Clearing Graph History for VMs

jalict

New Member
Dec 2, 2022
16
1
3
Heya; Short version: How do I clear the graph data for a given VMID?

we have a bunch of build machines getting spun up and down here and there.
With that we might spin different "types" of VMs up on the same vmid after X time.

What occurs then is that we have "holes" in the graph data + some extra graph data from a previous VM that has no relation to the VM we just started.

I would like to know where this graph data is stored such that I can clear it after our VMs are finished.

Cheers!
 
Heya; Short version: How do I clear the graph data for a given VMID?

we have a bunch of build machines getting spun up and down here and there.
With that we might spin different "types" of VMs up on the same vmid after X time.

What occurs then is that we have "holes" in the graph data + some extra graph data from a previous VM that has no relation to the VM we just started.

I would like to know where this graph data is stored such that I can clear it after our VMs are finished.

Cheers!
Hi,
the data is stored in a rrd database located at /var/lib/rrdcached/db/<hostname>-vm/<vmid>. Should be enough to remove the database there.
 
Hi,
the data is stored in a rrd database located at /var/lib/rrdcached/db/<hostname>-vm/<vmid>. Should be enough to remove the database there.
Thanks fo the quick and precise answer! That solves it for me!
 

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!