proxmox api get memory with cache?

mkay1905

New Member
May 2, 2016
2
1
3
36
hello,

I'm monitoring my proxmox lxc with Zabbix.
I got all information with proxmox api.
Everythink is ok but i have problem with used_memory.
This one give me used_memory with cache.

Is it a bug?

Thanks
 
Last edited:
  • Like
Reactions: belette_fr
I think you can't really check the memory, because this is how it is working. We check swap. If the swap is beginning to use, the we get a waring. So it's time to grow up memory. And it is a good idea to change sysctl to swapiness 10. https://en.wikipedia.org/wiki/Swappiness
 
hello,

I'm monitoring my proxmox lxc with Zabbix.
I got all information with proxmox api.
Everythink is ok but i have problem with used_memory.
This one give me used_memory with cache.

Is it a bug?

Thanks

Hello, could you tell me where to get info or software to monitor proxmox with that api ? Zabbix with Proxmox using the standard linux template works well , and I like to see if it can be better.
 
Hello, could you tell me where to get info or software to monitor proxmox with that api ? Zabbix with Proxmox using the standard linux template works well , and I like to see if it can be better.

Hello

You will see that all containers information on zabbix with original (linux template) will give you wrong information.

You need to create your own template on Zabbix (with LLD)
This one will do all request to proxmox.
I'm using Proxmoxia (python)

https://github.com/baseblack/Proxmoxia