[SOLVED] summary GRAPH

dav.ge

Active Member
Feb 26, 2019
27
3
43
41
Hi,
proxmox 5.3.-8
on 1 node summary graph doesn't show any graph (cpu usage, server load, memory usage etc.).
I try to use:
Code:
rrdcached -P FLUSHALL
but reports
Code:
rrdcached: can't create pid file '/var/run/rrdcached.pid' (File exists)
FATAL: Another rrdcached daemon is running?? (pid 1779)
rrdcached: daemonize failed, exiting.
so i delete /rrdcached.pid' and execute again rrdcached -P FLUSHALL.
Restarted node, cleaned browser cache but graph still not appear...
Any solution ?
 
does
Code:
pvesh get /nodes/NODEID/rrddata -timeframe hour --output-format json-pretty

return anything?
 
Code:
RRD error: rrdcached: rrd_fetch_r failed: opening '/var/lib/rrdcached/db/pve2-node/NODEID': No such file or directory
 
you have to replace 'NODEID' with your nodename
 
Code:
root@pm1-i1:/var/run# pvesh get /pm1-i1/rrddata -timeframe hour --output-format json-pretty
Unknown option: timeframe
400 unable to parse option
pvesh get <api_path> [OPTIONS] [FORMAT_OPTIONS]
 
please do
Code:
pvesh get /nodes/pm1-i1/rrddata -timeframe hour --output-format json-pretty
 
ok,
very long stream of
Code:
   {
      "cpu" : 0.0279074770258037,
      "iowait" : 0.00237949104409394,
      "loadavg" : 0.069,
      "maxcpu" : 8,
      "memtotal" : 16675135488,
      "memused" : 11891585297.0667,
      "netin" : 85417.2133333333,
      "netout" : 68881.49,
      "roottotal" : 100924641280,
      "rootused" : 1904461004.8,
      "swaptotal" : 7516188672,
      "swapused" : 198180864,
      "time" : 1554889380
   },
   {
      "cpu" : 0.0143754679354925,
      "iowait" : 0.00165239125937534,
      "loadavg" : 0.0866666666666667,
      "maxcpu" : 8,
      "memtotal" : 16675135488,
      "memused" : 11883881130.6667,
      "netin" : 61971.0166666667,
      "netout" : 36952.1433333333,
      "roottotal" : 100924641280,
      "rootused" : 1904473292.8,
      "swaptotal" : 7516188672,
      "swapused" : 198180864,
      "time" : 1554889440
   },
   {
      "cpu" : 0.0103655813721853,
      "iowait" : 0.0016307342568745,
      "loadavg" : 0.229,
      "maxcpu" : 8,
      "memtotal" : 16675135488,
      "memused" : 11861497856,
      "netin" : 15081.4733333333,
      "netout" : 27088.0833333333,
      "roottotal" : 100924641280,
      "rootused" : 1904485580.8,
      "swaptotal" : 7516188672,
      "swapused" : 198180864,
      "time" : 1554889500
   },
   {
      "cpu" : 0.0120992403017924,
      "iowait" : 0.00154787601624703,
      "loadavg" : 0.392333333333333,
      "maxcpu" : 8,
      "memtotal" : 16675135488,
      "memused" : 11835701111.4667,
      "netin" : 14131.9466666667,
      "netout" : 14781.5533333333,
      "roottotal" : 100924641280,
      "rootused" : 1904498278.4,
      "swaptotal" : 7516188672,
      "swapused" : 198180864,
      "time" : 1554889560
   },
   {
      "cpu" : 0.0300262545025088,
      "iowait" : 0.00195912124167748,
      "loadavg" : 0.174333333333333,
      "maxcpu" : 8,
      "memtotal" : 16675135488,
      "memused" : 11806341529.6,
      "netin" : 148426.32,
      "netout" : 34353.7233333333,
      "roottotal" : 100924641280,
      "rootused" : 1904514252.8,
      "swaptotal" : 7516188672,
      "swapused" : 198180864,
      "time" : 1554889620
   }
 
ok the data is there, did you maybe change the timeframe in the upper right corner to a too high one?
 
OK! changing timeframe graph comes back . Thank you very much. Now seems to be ok on all time frame ...
 
Hello everyone,

It can be fixed by deleting the folders or to prevent better, rename the folders that are inside "/var/lib/rrdcached/db"

Folders:
pve2-node
pve2-storage
pve2-vm

NOTE: all the counters will be reset and the previous graphs will be lost, if the failure is only for the "Node" they can only try with the "pve2-node" folder, if not all.

No need to reboot.

Greetings.
 

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!