pvesh rrd RRD PNG File is not exist

Discussion in 'Proxmox VE: Installation and configuration' started by Linyu, Jun 14, 2019 at 16:17.

  1. Linyu

    Linyu New Member

    Joined:
    Friday
    Messages:
    3
    Likes Received:
    0
    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?
     
  2. Linyu

    Linyu New Member

    Joined:
    Friday
    Messages:
    3
    Likes Received:
    0
    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
     
  3. dietmar

    dietmar Proxmox Staff Member
    Staff Member

    Joined:
    Apr 28, 2005
    Messages:
    16,445
    Likes Received:
    304
    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...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Linyu

    Linyu New Member

    Joined:
    Friday
    Messages:
    3
    Likes Received:
    0
    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?
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice