Ad Widget

Collapse

Zabbix 6.4 OS-Ubunutu - VMware ESXI -Connection to Zabbix server localhost:10051

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tiaan.vdm@twkcom.co.za
    Junior Member
    • Mar 2022
    • 4

    #1

    Zabbix 6.4 OS-Ubunutu - VMware ESXI -Connection to Zabbix server localhost:10051

    Good Day,

    trust all is well,

    i need some assitance i have installed Zabbix 6.4 on VMware ESXI, all is working 100% except the service stops every 5-6 days with the following error.

    __________________________________________
    Connection to Zabbix server "localhost:10051" refused. Possible reasons:
    1. Incorrect "NodeAddress" or "ListenPort" in the "zabbix_server.conf" or server IP/DNS override in the "zabbix.conf.php";
    2. Security environment (for example, SELinux) is blocking the connection;
    3. Zabbix server daemon not running;
    4. Firewall is blocking TCP connection.
    Connection refused
    __________________________________________

    I have checked Node address its set to localhost:10051 i am not running HA mode.
    i have disable appAmor but only recently still need to monito for the week.
    i can still access the apache (web UI)

    what can i check is this because of VMware?

    Server specs:
    16 vCPU
    32 Gb Memory.

    when i check log:
    __________________________________________________ ___________________________
    LOG
    root@twk-cpt-zbx01:~# tail -f /var/log/zabbix/zabbix_server.log
    1297:20230507:161619.698 7: /usr/sbin/zabbix_server(free_database_cache+0x48) [0x564b94a3b2ec]
    1297:20230507:161619.698 6: /usr/sbin/zabbix_server(+0x81350) [0x564b94842350]
    1297:20230507:161619.698 5: /usr/sbin/zabbix_server(MAIN_ZABBIX_ENTRY+0x10e0) [0x564b948452f4]
    1297:20230507:161619.698 4: /usr/sbin/zabbix_server(zbx_daemon_start+0x443) [0x564b94bae439]
    1297:20230507:161619.698 3: /usr/sbin/zabbix_server(main+0x439) [0x564b948428dd]
    1297:20230507:161619.698 2: /lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7f8841627d90]
    1297:20230507:161619.698 1: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80) [0x7f8841627e40]
    1297:20230507:161619.698 0: /usr/sbin/zabbix_server(_start+0x25) [0x564b9483fd85]
    1297:20230507:161619.698 [file:dbcache.c,line:4962] __zbx_shmem_malloc(): out of memory (requested 72 bytes)
    1297:20230507:161619.698 [file:dbcache.c,line:4962] __zbx_shmem_malloc(): please increase TrendCacheSize configuration parameter
    __________________________________________________ ___________________________

  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4806

    #2
    That last line says, what you should do..." please increase TrendCacheSize configuration parameter"

    Comment

    • tiaan.vdm@twkcom.co.za
      Junior Member
      • Mar 2022
      • 4

      #3
      Thank you Cyber,

      i have increased this previously but didnt reboot. so i asume it only takes effect if you restart Zabbix or hard reboot Zabbix Server.

      Below configs what is the best practice value for trendCache based on 5000 hosts


      HistoryCacheSize=1024M

      HistoryIndexCacheSize=32M

      TrendCacheSize=128M

      ValueCacheSize=1G

      Comment

      • Hamardaban
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • May 2019
        • 2713

        #4
        Good day!
        Please tell me how you installed the agent on VMware ESX ?
        Perhaps there is an installation instruction somewhere?

        Comment

        • cyber
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Dec 2006
          • 4806

          #5
          TrendCache depends more on the item count, than host count. So if it dies again, increase some more. You should also see cache usage, if you monitor your server (official templates are available).

          Comment

          • tiaan.vdm@twkcom.co.za
            Junior Member
            • Mar 2022
            • 4

            #6
            Cyber,

            THank you currently its on 2.1%, so looks good so far, i will increase if this happens in the next week.

            Comment

            • tiaan.vdm@twkcom.co.za
              Junior Member
              • Mar 2022
              • 4

              #7
              cyber up until what will the usage climb as when i check it is currently on 7.3% in 10 Days, is there a way to clear this after say 1 month, will this climb until it reach 100% and then fail again

              Comment

              • cyber
                Senior Member
                Zabbix Certified SpecialistZabbix Certified Professional
                • Dec 2006
                • 4806

                #8
                I cannot tell that... Increase in usage is related to amount of hosts/triggers etc. Value, Trend and history caches contain data that is used for trigger calculations. It might stabilize at one point, but where I cannot predict... But in any case, If it starts to get close to 100% you should increase the size

                Comment

                Working...