diff --git a/AppImage/ProxMenux-1.2.2.2-beta.AppImage b/AppImage/ProxMenux-1.2.2.2-beta.AppImage index 96e5c515..5f7a3191 100755 Binary files a/AppImage/ProxMenux-1.2.2.2-beta.AppImage and b/AppImage/ProxMenux-1.2.2.2-beta.AppImage differ diff --git a/AppImage/ProxMenux-Monitor.AppImage.sha256 b/AppImage/ProxMenux-Monitor.AppImage.sha256 index 1eebf612..f0986472 100644 --- a/AppImage/ProxMenux-Monitor.AppImage.sha256 +++ b/AppImage/ProxMenux-Monitor.AppImage.sha256 @@ -1 +1 @@ -375863dcab1afad9aed9e57a04016c29212f3cc8a543af386c5ed933944bec7d ProxMenux-1.2.2.2-beta.AppImage +0a8d1bf1c81a9f60926d5a4af1a570c4acfcd1b41581ce02377600b2b84bf749 ProxMenux-1.2.2.2-beta.AppImage diff --git a/AppImage/scripts/flask_server.py b/AppImage/scripts/flask_server.py index e110539f..82364ea4 100644 --- a/AppImage/scripts/flask_server.py +++ b/AppImage/scripts/flask_server.py @@ -10086,11 +10086,18 @@ def api_node_metrics(): if rrd_result.returncode == 0: rrd_data = json.loads(rrd_result.stdout) - if zfs_arc_size > 0: - for item in rrd_data: - # If zfsarc field is missing or 0, add current value - if 'zfsarc' not in item or item.get('zfsarc', 0) == 0: - item['zfsarc'] = zfs_arc_size + # PVE 9.x exposes the actual ARC history as `arcsize` in RRD; + # the previous code ignored it and stamped every point with + # the live ARC size, producing a flat band at the current + # value (issue: ZFS ARC line painted full-bar). Use the real + # series when present so the chart matches Proxmox's own + # Summary view. On older PVE that doesn't expose `arcsize`, + # fall back to the live value as a constant placeholder. + for item in rrd_data: + if 'arcsize' in item: + item['zfsarc'] = item['arcsize'] + elif zfs_arc_size > 0 and ('zfsarc' not in item or item.get('zfsarc', 0) == 0): + item['zfsarc'] = zfs_arc_size # 24h downsampling: RRD returns ~1440 minute-level points which # plots as a dense thicket of vertical spikes. Group into 5-min