[GH-ISSUE #39] getRrd on PVE 9.0 #28

Closed
opened 2026-02-26 17:32:11 +03:00 by kerem · 10 comments
Owner

Originally created by @eurohoster on GitHub (Aug 27, 2025).
Original GitHub issue: https://github.com/Corsinvest/cv4pve-api-php/issues/39

What happened?

$rdd_cpu = $pve->getNodes()->get($node)->getQemu()->get($HostingID)->getRrd()->rrd('cpu','day'); $rdd_cpu->getResponse()
Doesn't return an image on PVE 9.0

Expected behavior

Should return base64 image, as on previous versions.

Relevant log output


PHP Version

8.3

Proxmox VE Version

9.0.5

Version (bug)

8.4.1

Version (working)

No response

On what operating system are you experiencing the issue?

Linux

Pull Request

  • I would like to do a Pull Request
Originally created by @eurohoster on GitHub (Aug 27, 2025). Original GitHub issue: https://github.com/Corsinvest/cv4pve-api-php/issues/39 ### What happened? `$rdd_cpu = $pve->getNodes()->get($node)->getQemu()->get($HostingID)->getRrd()->rrd('cpu','day'); $rdd_cpu->getResponse()` Doesn't return an image on PVE 9.0 ### Expected behavior Should return base64 image, as on previous versions. ### Relevant log output ```shell ``` ### PHP Version 8.3 ### Proxmox VE Version 9.0.5 ### Version (bug) 8.4.1 ### Version (working) _No response_ ### On what operating system are you experiencing the issue? Linux ### Pull Request - [x] I would like to do a Pull Request
kerem 2026-02-26 17:32:11 +03:00
Author
Owner

@franklupo commented on GitHub (Aug 28, 2025):

Hi,
Did it work before? Is it still the same library version?

best regards

<!-- gh-comment-id:3232190956 --> @franklupo commented on GitHub (Aug 28, 2025): Hi, Did it work before? Is it still the same library version? best regards
Author
Owner

@eurohoster commented on GitHub (Aug 28, 2025):

Hi,

All my servers used the Proxmox v8. Yesterday I have installed a new version 9 of proxmox. I saw that your last version of library was updated before released v9 was published.
Probably your library doesn’t support new proxmox yet.

->getResponse() return only data:image/png;base64,

On Aug 28, 2025, at 9:57 AM, Daniele Corsini @.***> wrote:

franklupo
left a comment
(Corsinvest/cv4pve-api-php#39)
https://github.com/Corsinvest/cv4pve-api-php/issues/39#issuecomment-3232190956
Hi,
Did it work before? Is it still the same library version?

best regards


Reply to this email directly, view it on GitHub https://github.com/Corsinvest/cv4pve-api-php/issues/39#issuecomment-3232190956, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFLW72JONPI4SFBJ4HPIZD3P2R65AVCNFSM6AAAAACE6BB6PSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTEMZSGE4TAOJVGY.
You are receiving this because you authored the thread.


Best regards,
Andrii Balytskyi
EuroHoster Ltd. https://eurohoster.org/

<!-- gh-comment-id:3232226600 --> @eurohoster commented on GitHub (Aug 28, 2025): Hi, All my servers used the Proxmox v8. Yesterday I have installed a new version 9 of proxmox. I saw that your last version of library was updated before released v9 was published. Probably your library doesn’t support new proxmox yet. ->getResponse() return only data:image/png;base64, > On Aug 28, 2025, at 9:57 AM, Daniele Corsini ***@***.***> wrote: > > > franklupo > left a comment > (Corsinvest/cv4pve-api-php#39) > <https://github.com/Corsinvest/cv4pve-api-php/issues/39#issuecomment-3232190956> > Hi, > Did it work before? Is it still the same library version? > > best regards > > — > Reply to this email directly, view it on GitHub <https://github.com/Corsinvest/cv4pve-api-php/issues/39#issuecomment-3232190956>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADFLW72JONPI4SFBJ4HPIZD3P2R65AVCNFSM6AAAAACE6BB6PSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTEMZSGE4TAOJVGY>. > You are receiving this because you authored the thread. > --- Best regards, Andrii Balytskyi EuroHoster Ltd. <https://eurohoster.org/>
Author
Owner

@franklupo commented on GitHub (Aug 28, 2025):

Have you tried calling the API URL manually? What do you get back?
/nodes/{node}/qemu/{vmid}/rrd

<!-- gh-comment-id:3232252857 --> @franklupo commented on GitHub (Aug 28, 2025): Have you tried calling the API URL manually? What do you get back? /nodes/{node}/qemu/{vmid}/rrd
Author
Owner

@eurohoster commented on GitHub (Aug 28, 2025):

@.***:~# pvesh get /nodes/{node}/qemu/18891/rrd --timeframe day --ds cpu
┌──────────┬─────────────────────────────────────────────┐
│ key │ value │
╞══════════╪═════════════════════════════════════════════╡
│ filename │ /var/lib/rrdcached/db/pve-vm-9.0/18891_.png │
└──────────┴─────────────────────────────────────────────┘

On Aug 28, 2025, at 10:20 AM, Daniele Corsini @.***> wrote:

franklupo
left a comment
(Corsinvest/cv4pve-api-php#39)
https://github.com/Corsinvest/cv4pve-api-php/issues/39#issuecomment-3232252857
Have you tried calling the API URL manually? What do you get back?
/nodes/{node}/qemu/{vmid}/rrd


Reply to this email directly, view it on GitHub https://github.com/Corsinvest/cv4pve-api-php/issues/39#issuecomment-3232252857, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFLW767HENFY7ICGXDAYG33P2UUNAVCNFSM6AAAAACE6BB6PSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTEMZSGI2TEOBVG4.
You are receiving this because you authored the thread.


Best regards,
Andrii Balytskyi
EuroHoster Ltd. https://eurohoster.org/

<!-- gh-comment-id:3232258179 --> @eurohoster commented on GitHub (Aug 28, 2025): ***@***.***:~# pvesh get /nodes/{node}/qemu/18891/rrd --timeframe day --ds cpu ┌──────────┬─────────────────────────────────────────────┐ │ key │ value │ ╞══════════╪═════════════════════════════════════════════╡ │ filename │ /var/lib/rrdcached/db/pve-vm-9.0/18891_.png │ └──────────┴─────────────────────────────────────────────┘ > On Aug 28, 2025, at 10:20 AM, Daniele Corsini ***@***.***> wrote: > > > franklupo > left a comment > (Corsinvest/cv4pve-api-php#39) > <https://github.com/Corsinvest/cv4pve-api-php/issues/39#issuecomment-3232252857> > Have you tried calling the API URL manually? What do you get back? > /nodes/{node}/qemu/{vmid}/rrd > > — > Reply to this email directly, view it on GitHub <https://github.com/Corsinvest/cv4pve-api-php/issues/39#issuecomment-3232252857>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADFLW767HENFY7ICGXDAYG33P2UUNAVCNFSM6AAAAACE6BB6PSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTEMZSGI2TEOBVG4>. > You are receiving this because you authored the thread. > --- Best regards, Andrii Balytskyi EuroHoster Ltd. <https://eurohoster.org/>
Author
Owner

@franklupo commented on GitHub (Aug 28, 2025):

execute in browser
https://host:8006/api2/json/nodes/nl-165005/qemu/18891/rrd?timeframe=day&ds=cpu

<!-- gh-comment-id:3232280767 --> @franklupo commented on GitHub (Aug 28, 2025): execute in browser https://host:8006/api2/json/nodes/nl-165005/qemu/18891/rrd?timeframe=day&ds=cpu
Author
Owner

@eurohoster commented on GitHub (Aug 28, 2025):

{"data":{"filename":"/var/lib/rrdcached/db/pve-vm-9.0/18891_.png","image":null}}

On Aug 28, 2025, at 10:29 AM, Daniele Corsini @.***> wrote:

franklupo
left a comment
(Corsinvest/cv4pve-api-php#39)
https://github.com/Corsinvest/cv4pve-api-php/issues/39#issuecomment-3232280767
execute in browser
https://host:8006/api2/json/nodes/nl-165005/qemu/18891/rrd?timeframe=day&ds=cpu


Reply to this email directly, view it on GitHub https://github.com/Corsinvest/cv4pve-api-php/issues/39#issuecomment-3232280767, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFLW7ZKX7KGBEK5OA6DXRD3P2VVXAVCNFSM6AAAAACE6BB6PSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTEMZSGI4DANZWG4.
You are receiving this because you authored the thread.


Best regards,
Andrii Balytskyi
EuroHoster Ltd. https://eurohoster.org/

<!-- gh-comment-id:3232285322 --> @eurohoster commented on GitHub (Aug 28, 2025): {"data":{"filename":"/var/lib/rrdcached/db/pve-vm-9.0/18891_.png","image":null}} > On Aug 28, 2025, at 10:29 AM, Daniele Corsini ***@***.***> wrote: > > > franklupo > left a comment > (Corsinvest/cv4pve-api-php#39) > <https://github.com/Corsinvest/cv4pve-api-php/issues/39#issuecomment-3232280767> > execute in browser > https://host:8006/api2/json/nodes/nl-165005/qemu/18891/rrd?timeframe=day&ds=cpu > > — > Reply to this email directly, view it on GitHub <https://github.com/Corsinvest/cv4pve-api-php/issues/39#issuecomment-3232280767>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADFLW7ZKX7KGBEK5OA6DXRD3P2VVXAVCNFSM6AAAAACE6BB6PSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTEMZSGI4DANZWG4>. > You are receiving this because you authored the thread. > --- Best regards, Andrii Balytskyi EuroHoster Ltd. <https://eurohoster.org/>
Author
Owner

@eurohoster commented on GitHub (Aug 28, 2025):

I saw. It’s a proxmox issue, not your library.

On Aug 28, 2025, at 10:29 AM, Daniele Corsini @.***> wrote:

franklupo
left a comment
(Corsinvest/cv4pve-api-php#39)
https://github.com/Corsinvest/cv4pve-api-php/issues/39#issuecomment-3232280767
execute in browser
https://host:8006/api2/json/nodes/nl-165005/qemu/18891/rrd?timeframe=day&ds=cpu


Reply to this email directly, view it on GitHub https://github.com/Corsinvest/cv4pve-api-php/issues/39#issuecomment-3232280767, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFLW7ZKX7KGBEK5OA6DXRD3P2VVXAVCNFSM6AAAAACE6BB6PSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTEMZSGI4DANZWG4.
You are receiving this because you authored the thread.


Best regards,
Andrii Balytskyi
EuroHoster Ltd. https://eurohoster.org/

<!-- gh-comment-id:3232290573 --> @eurohoster commented on GitHub (Aug 28, 2025): I saw. It’s a proxmox issue, not your library. > On Aug 28, 2025, at 10:29 AM, Daniele Corsini ***@***.***> wrote: > > > franklupo > left a comment > (Corsinvest/cv4pve-api-php#39) > <https://github.com/Corsinvest/cv4pve-api-php/issues/39#issuecomment-3232280767> > execute in browser > https://host:8006/api2/json/nodes/nl-165005/qemu/18891/rrd?timeframe=day&ds=cpu > > — > Reply to this email directly, view it on GitHub <https://github.com/Corsinvest/cv4pve-api-php/issues/39#issuecomment-3232280767>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADFLW7ZKX7KGBEK5OA6DXRD3P2VVXAVCNFSM6AAAAACE6BB6PSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTEMZSGI4DANZWG4>. > You are receiving this because you authored the thread. > --- Best regards, Andrii Balytskyi EuroHoster Ltd. <https://eurohoster.org/>
Author
Owner

@franklupo commented on GitHub (Aug 28, 2025):

try /api2/png
https://host:8006/api2/png/nodes/nl-165005/qemu/18891/rrd?timeframe=day&ds=cpu

<!-- gh-comment-id:3232293393 --> @franklupo commented on GitHub (Aug 28, 2025): try **/api2/png** https://host:8006/api2/png/nodes/nl-165005/qemu/18891/rrd?timeframe=day&ds=cpu
Author
Owner

@franklupo commented on GitHub (Aug 28, 2025):

I've always used GET /api2/json/nodes/{node}/qemu/{vmid}/rrddata and I create my own graph.

<!-- gh-comment-id:3232297166 --> @franklupo commented on GitHub (Aug 28, 2025): I've always used GET /api2/json/nodes/{node}/qemu/{vmid}/rrddata and I create my own graph.
Author
Owner

@eurohoster commented on GitHub (Aug 28, 2025):

Now there is a very long delay and strange answer.

<!-- gh-comment-id:3232299899 --> @eurohoster commented on GitHub (Aug 28, 2025): Now there is a very long delay and strange answer.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cv4pve-api-php#28
No description provided.