pvesh rrd RRD PNG File is not exist

Linyu

Well-Known Member
Jun 14, 2019
43
2
48
25
Hello, I am trying to get the rrd png file through the pvesh command, but I can't find the file returned.

root@node-hk:~# pvesh get /nodes/node-hk/lxc/100/rrd --ds disk --timeframe hour
┌──────────┬────────────────────────────────────────────┐
│ key │ value │
├──────────┼────────────────────────────────────────────┤
│ filename │ /var/lib/rrdcached/db/pve2-vm/100_disk.png │
└──────────┴────────────────────────────────────────────┘

But I can't find the file in the dir, I can only find the file "100"

Here is my pveversion -v:

proxmox-ve: 5.4-1 (running kernel: 4.15.18-15-pve)
pve-manager: 5.4-6 (running version: 5.4-6/aa7856c5)
pve-kernel-4.15: 5.4-3
pve-kernel-4.15.18-15-pve: 4.15.18-40
corosync: 2.4.4-pve1
criu: 2.11.1-1~bpo90
glusterfs-client: 3.8.8-1
ksm-control-daemon: not correctly installed
libjs-extjs: 6.0.1-2
libpve-access-control: 5.1-10
libpve-apiclient-perl: 2.0-5
libpve-common-perl: 5.0-52
libpve-guest-common-perl: 2.0-20
libpve-http-server-perl: 2.0-13
libpve-storage-perl: 5.0-43
libqb0: 1.0.3-1~bpo9
lvm2: 2.02.168-pve6
lxc-pve: 3.1.0-3
lxcfs: 3.0.3-pve1
novnc-pve: 1.0.0-3
openvswitch-switch: 2.7.0-3
proxmox-widget-toolkit: 1.0-28
pve-cluster: 5.0-37
pve-container: 2.0-39
pve-docs: 5.4-2
pve-edk2-firmware: 1.20190312-1
pve-firewall: 3.0-22
pve-firmware: 2.0-6
pve-ha-manager: 2.0-9
pve-i18n: 1.1-4
pve-libspice-server1: 0.14.1-2
pve-qemu-kvm: 3.0.1-2
pve-xtermjs: 3.12.0-1
qemu-server: 5.0-52
smartmontools: 6.5+svn4324-1
spiceterm: 3.0-5
vncterm: 1.5-3

I am a beginner of Proxmox, can you tell me how to solve it, thank you very much?
 
As you can see:

root@node-hk:/var/lib/rrdcached/db/pve2-vm# pvesh get /nodes/node-hk/lxc/100/rrd --ds disk --timeframe hour
┌──────────┬────────────────────────────────────────────┐
│ key │ value │
├──────────┼────────────────────────────────────────────┤
│ filename │ /var/lib/rrdcached/db/pve2-vm/100_disk.png │
└──────────┴────────────────────────────────────────────┘
root@node-hk:/var/lib/rrdcached/db/pve2-vm# ls
100 101 10156 102 17630
 
sorry, but you cannot get that file using pvesh. It is only possible to download that via https. But you should be able to get the data using the rrddata entry point...
 
sorry, but you cannot get that file using pvesh. It is only possible to download that via https. But you should be able to get the data using the rrddata entry point...
Thank you, I got it, but I still want to get the image file stored in local disk, is there is any way to make it?
 
  • Like
Reactions: eugenevdm