I wonder how much RAM the server where you run Zabbix has and now much items you monitor.
I configured Zabbix for 256 MB ram since im testing it. Low resources on zabbix agents and servers was the reason i wanted it. But here i want to discuss the server resources and not the agents. I dont actually care how much the server requires if the agents stay low. Since the monitored machines are my main interested, the zabbix servers can be trown in ram and more power anytime.
My install just default, using passive checks. zabbix_agentd that would be.
I tuned the linux template to use 60 seconds on most items that had below 60 so its not so heavy on the server. Only the network /nic items i left below 1 minute. Other items i increased to 5 minues like check free space, etc.
After the second server monitored with the linux template it began to swap. I deactivated 10 items on the Linux template. Increased Ram to 300. I have 5 servers now monitoring with Zabbix and 1 web check (zabbix interface) and its swapping ram in disk at 50%. Im going to increase it to 350 MB ram now and so on to see when it stops swapping. What i figured out currently Zabbix requires more or less 75 MB ram per server. I have now items 440. The CPU is very powerfull im just limiting the ram.
I dont think it leaks memory but I want to know when adding Ram wil be enough so it stops swapping. I cant imagine if i monitor 50 servers. I would probably need 32 GB ram with this setup.
What I have noticed is that the web interface is the one hitting the server hard. When you are logged or load the webinterface the CPU and Ram increases allot on each single load. Im not sure if this my setup but when you leave the web interface it goes lower and its considerable what it goes down.
I also would appreciate what settings you guys tune in the mysql to fit zabbix more properly since besides mysql there isnt anything hitting the resources. All this without loading the web interface, since that ones hits it pretty hard as well. I suspect its mysql. Will tuned to see if this goes down.
I configured Zabbix for 256 MB ram since im testing it. Low resources on zabbix agents and servers was the reason i wanted it. But here i want to discuss the server resources and not the agents. I dont actually care how much the server requires if the agents stay low. Since the monitored machines are my main interested, the zabbix servers can be trown in ram and more power anytime.
My install just default, using passive checks. zabbix_agentd that would be.
I tuned the linux template to use 60 seconds on most items that had below 60 so its not so heavy on the server. Only the network /nic items i left below 1 minute. Other items i increased to 5 minues like check free space, etc.
After the second server monitored with the linux template it began to swap. I deactivated 10 items on the Linux template. Increased Ram to 300. I have 5 servers now monitoring with Zabbix and 1 web check (zabbix interface) and its swapping ram in disk at 50%. Im going to increase it to 350 MB ram now and so on to see when it stops swapping. What i figured out currently Zabbix requires more or less 75 MB ram per server. I have now items 440. The CPU is very powerfull im just limiting the ram.
I dont think it leaks memory but I want to know when adding Ram wil be enough so it stops swapping. I cant imagine if i monitor 50 servers. I would probably need 32 GB ram with this setup.
What I have noticed is that the web interface is the one hitting the server hard. When you are logged or load the webinterface the CPU and Ram increases allot on each single load. Im not sure if this my setup but when you leave the web interface it goes lower and its considerable what it goes down.
I also would appreciate what settings you guys tune in the mysql to fit zabbix more properly since besides mysql there isnt anything hitting the resources. All this without loading the web interface, since that ones hits it pretty hard as well. I suspect its mysql. Will tuned to see if this goes down.
Comment