Skip to content

pve_memory_free_bytes is required #300

Open
@sTiKyt

Description

@sTiKyt

pve_memory_available_bytes is required because pve_memory_size_bytes shows the total memory size, and pve_memory_usage_bytes shows ALL used bytes, even the ones that are cached (which is a normal linux behavior), so this metric becomes useless for monitoring of free memory available

In pve_memory_available_bytes, I'd expect to see this:
image

As you can see it's only reporting 334M as free Memory, which is triggering all the alerts i have, because it thinkns all my RAM is used (while in reality 18G out of 31 are cached and will automatically release if some parts of the system require it)

Activity

znerol

znerol commented on Dec 2, 2024

@znerol
Member

Metrics for nodes, VMs and containers are gathered via the PVE API. See the docs for all the values which are available.

You can also check what is available from the API with the pvesh command line tool.

Thus, if you find the value in the API, then we can maybe add it as a metric. Also I'd recommend to try node_exporter to scrape platform specific metrics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

      Participants

      @znerol@sTiKyt

      Issue actions

        pve_memory_free_bytes is required · Issue #300 · prometheus-pve/prometheus-pve-exporter