Hi all,
i am New here hello community :-) . Currently, I have a problem with "High swap space usage ( less than 50% free)" after update last agents on my LXC containers.
Here a short information:
- I fixed this issue with a UserParameter on the local machines)
- UserParameter=ct.swap.size[*],free -b | awk '$ 1 == "Swap:" {total=$ 2; used=$ 3; free=$ 4; pfree=($ 4*100/$ 2); pused=($ 3*100/$ 2); if("$1" == "") {printf("%.0f", free )} else {printf("%.0f", $1 "" )} }'
After installing the last update from Zabbix a few days ago, I become the same swap warnings that I have before the workaround. I don't know why.
Here are the workaround sources:
https://medium.com/@kvaps/zabbix-sol...s-98ddf191051c
I hope anyone can help me.
-- EDIT more information --
System clients:
- LXC Container Debian Buster/Stretch - Agents 4.4.4
- enough ram 4GB & 4GB Swap
- Swap 0 percent used - 100% free (but i have peaks from 100 to 0) see attachments (screenshots)
- In Proxmox i do not have this peaks from swap
- in compare the free space & free space in percent, i have in one of them peaks? What is going wrong?
System Zabbix host:
- Zabbix 4.4.4 - LXC Container Debian Buster
Thanks and kind regards,
Chris
i am New here hello community :-) . Currently, I have a problem with "High swap space usage ( less than 50% free)" after update last agents on my LXC containers.
Here a short information:
- I fixed this issue with a UserParameter on the local machines)
- UserParameter=ct.swap.size[*],free -b | awk '$ 1 == "Swap:" {total=$ 2; used=$ 3; free=$ 4; pfree=($ 4*100/$ 2); pused=($ 3*100/$ 2); if("$1" == "") {printf("%.0f", free )} else {printf("%.0f", $1 "" )} }'
After installing the last update from Zabbix a few days ago, I become the same swap warnings that I have before the workaround. I don't know why.
Here are the workaround sources:
https://medium.com/@kvaps/zabbix-sol...s-98ddf191051c
I hope anyone can help me.
-- EDIT more information --
System clients:
- LXC Container Debian Buster/Stretch - Agents 4.4.4
- enough ram 4GB & 4GB Swap
- Swap 0 percent used - 100% free (but i have peaks from 100 to 0) see attachments (screenshots)
- In Proxmox i do not have this peaks from swap
- in compare the free space & free space in percent, i have in one of them peaks? What is going wrong?
System Zabbix host:
- Zabbix 4.4.4 - LXC Container Debian Buster
Thanks and kind regards,
Chris
Comment