Ad Widget

Collapse

Vm for zabbix and another VM for database: for 50 monitored hosts ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mafonso
    Junior Member
    • Dec 2023
    • 4

    #1

    Vm for zabbix and another VM for database: for 50 monitored hosts ?

    Hi all,

    I have an idea of putting zabbix in one virtual machine and database in another virtual machine.
    The number of hosts being under monitorization will be around 50.

    1. Is this split of zabbix and database advisable?
    2. What are the impacts?
    3. Are there more risks?


    Thank you for your help

    Best regarsd
    Manuel
  • Mitchpeter
    Junior Member
    • Nov 2022
    • 8

    #2
    My first reaction would be not to. It would mean you are running your data through your networking software on both VMs and the virtual switch (assuming they on the same physical machine), and I can't see this improving performance. I would expect you would be better just to make sure the server VM has the resources to cope.
    That said, a backup of the database would be a very good thing, but I wouldn't expect your backup solution to affect Zabbix performance (as long as enough resources are supplied in the first instance).
    That said, I haven't tried it myself, and it would be interesting to hear if it does turn out to be more efficient.

    Comment


    • mafonso
      mafonso commented
      Editing a comment
      Hi Mitch

      Thanks for your answer.

      I saw in zabbix documentation: "Actual configuration depends on the number of active items and refresh rates very much (see database size section of this page for details). It is highly recommended to run the database on a separate box for large installations."

      So, as I will have around 50 hosts being monitored (<100 for small installations) it is not important to have DB in a separated virtual machine.

      The recommendation from zabbix is 2 CPUs.
      But what about RAM? Should I put 16GiB? Or 8GiB is should be enough as recommended?

      Also, for retention of 5 years for the trends and 1 month for individual history points... I have a calculation of ~300GiB for disk... do you have an idea on this?

      If you or someone here can give advice.

      Thank you Mitch and all others.

      Best regards
  • PeterZielony
    Senior Member
    • Nov 2022
    • 146

    #3
    Originally posted by mafonso
    Hi Mitch
    Thanks for your answer.

    I saw in zabbix documentation: "Actual configuration depends on the number of active items and refresh rates very much (see database size section of this page for details). It is highly recommended to run the database on a separate box for large installations."

    So, as I will have around 50 hosts being monitored (<100 for small installations) it is not important to have DB in a separated virtual machine.

    The recommendation from zabbix is 2 CPUs.
    But what about RAM? Should I put 16GiB? Or 8GiB is should be enough as recommended?

    Also, for retention of 5 years for the trends and 1 month for individual history points... I have a calculation of ~300GiB for disk... do you have an idea on this?

    If you or someone here can give advice.

    Thank you Mitch and all others.

    Best regards
    That really depends of usage and items, you can always change it later if you see it is struggling.

    I have about 50 hosts but tons of items (about 2-3k each host - application infrastructure).

    I have 4 cpu and 10gb ram and dB around 150GB (but i provisioned 400GB) but also most of my calculations/preprocessing are done by proxies (2x).

    So it really depends what you are planning to do in future - you can easly expand it later.

    Hiring in the UK? Drop a message

    Comment

    Working...