Ad Widget

Collapse

Memory usage percent item prototype on proxmox ve http template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • asnrainbow
    Junior Member
    • Dec 2024
    • 2

    #1

    Memory usage percent item prototype on proxmox ve http template

    Hello,

    I've started to use the template to monitor my proxmox servers and its great except that i dont get RAM usage % just like CPU usage %
    So i tried to make a new item prototype for the node item prototypes and its been unsuccessful so far

    Im on Zabbix 7.0.6
    my latest attempt looks like this:

    I cloned the CPU prototype and modified it to look like this:

    Name: Node [{#NODE.NAME}]: Memory, usage percent
    Type: Calculated
    Key: proxmox.node.memory.percent[{#NODE.NAME}]
    Formula: last(/Proxmox VE by HTTP/proxmox.node.memused[{#NODE.NAME}]) / last(/Proxmox VE by HTTP/proxmox.node.memtotal[{#NODE.NAME}]) * 100
    Units : %
    Update Interval: 60s

    Tags:
    inherited:
    class software
    target proxmox

    new:
    Component Value memory
    node {#NODE.NAME}

    No Preprocessing

    Im ending up with this error on latest data check: "Cannot evaluate function: item "/Proxmox VE by HTTP/proxmox.node.memused[pve]" does not exist at "last(/Proxmox VE by HTTP/proxmox.node.memused[pve]) / last(/Proxmox VE by HTTP/proxmox.node.memtotal[pve]) * 100"."

    It seems i cant find the values im looking for and i don't know which path i should put in

    Thank you if you take time to try and help me


  • asnrainbow
    Junior Member
    • Dec 2024
    • 2

    #2
    ok i solved the issue changing the formula to this:
    100 * last(//proxmox.node.memused[{#NODE.NAME}]) / last(//proxmox.node.memtotal[{#NODE.NAME}])
    Last edited by asnrainbow; 27-12-2024, 11:09.

    Comment

    Working...