[PVE-User] pvesh rrd option not working

Muhammad Yousuf Khan sirtcp at gmail.com
Mon Sep 22 14:21:04 CEST 2014


When i try to get the netin,netout graph it shows that image is created
(see xample below)

root at bull:/# pvesh get /nodes/bull/rrd -ds netin,netout -timeframe hour
200 OK

{
   "filename" : "/var/lib/rrdcached/db/pve2-node/bull_netin_netout.png",
   "image" :
"‰PNG\r\n\u001a\n...........................................................
.................


as the "filename" shows /var/lib/rrdcached/db/pve2-node/ must contain
bull_netin_netout.png image.
however when i "ls" the directory it is empty



root at bull:/# ls -l /var/lib/rrdcached/db/pve2-node/
total 84
-rw-r----- 1 root root 81016 Sep 22 17:14 bull

now when i force create the image file like this

pvesh get /nodes/bull/rrd -ds netin,netout -timeframe hour > image.png

it creates the image but image does not open all images viewers showing
error.

any idea please why it is happening. is this a bug or i am doing something
wrong?

Thanks,
MYK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20140922/b43694b0/attachment.htm>


More information about the pve-user mailing list