Ad Widget

Collapse

Issue with Recent Alerts not showing up in the Zabbix Dashboard

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • K Shaun
    Junior Member
    • Apr 2022
    • 4

    #1

    Issue with Recent Alerts not showing up in the Zabbix Dashboard

    Respected All,

    It would be helpful if you could all help me since I am a newbie with Zabbix.

    As part of my work on the Zabbix Server, I have to monitor approx 600-700 servers hosted in the AWS cloud. The recent alerts have not been shown in the Zabbix dashboard for the last few days.

    In other words, the alerts are constantly getting delayed and appear too late on the dashboard. Also, I haven't set up any proxies or notifications (emails or SMS).

    Important Information:

    Zabbix Server version: 6.0
    Database used: MySQL 8
    Database size: Approx 10GB

    Both the Zabbix server configuration as well as the database is present on the same server.

    Server Specs: 4GB RAM / 70GB Disk / 1 vCPU

    Also, I have referred to some of the Forums for the same where I came to know about the tuning of the Zabbix server conf file.

    ~~~~~~~~~ Zabbix Server Configuration File contents ~~~~~~~

    StartPollers=100
    StartPreprocessors=15
    StartPollersUnreachable=50
    StartPingers=50
    StartDiscoverers=15
    StartHTTPPollers=5
    StartTimers=2
    StartEscalators=2
    StartAlerters=5
    MaxHousekeeperDelete=50000
    CacheSize=512M
    HistoryCacheSize=512M
    TrendCacheSize=32M
    ValueCacheSize=256M
    LogSlowQueries=3000

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


    Please guide me further with this issue as I am unable to resolve it.
  • vladimir_lv
    Senior Member
    • May 2022
    • 240

    #2
    Hmmm...4 Gb RAM is pretty small for Zabbix database, especially if MySQL running on the same server.
    Check slow queries in database.
    To enable the slow query log, type the following command at the mysql> prompt:
    Code:
    SET GLOBAL slow_query_log = 'ON';
    SET GLOBAL long_query_time = X; where X is time in seconds, for example, 5
    SET GLOBAL slow_query_log_file = '/path/filename'[I];[/I]

    Comment

    • K Shaun
      Junior Member
      • Apr 2022
      • 4

      #3
      Hello Sir,

      I am extremely thankful for your quick response.

      As per your guidance, I have enabled the slow query log. The value is set to 3 seconds.

      Also, could you please suggest the RAM size so that I can upgrade my instance size accordingly?

      In case, if you need any additional information (such as logs or configurations) then let me know so that I can share it.

      Thanking you all in advance.

      Comment

      • vladimir_lv
        Senior Member
        • May 2022
        • 240

        #4
        Also, could you please suggest the RAM size so that I can upgrade my instance size accordingly?
        What is your average number of items per 1 host and housekeeper's settings?

        As per your guidance, I have enabled the slow query log. The value is set to 3 seconds.
        Did you find some queries there?

        Comment

        • vladimir_lv
          Senior Member
          • May 2022
          • 240

          #5
          Share your screenshot of Reports->System information

          Comment

          • K Shaun
            Junior Member
            • Apr 2022
            • 4

            #6
            Hello Sir,

            Sorry for the delayed reply.

            What is your average number of items per 1 host and housekeeper's settings?
            On average, there are 30-34 items per host depending on the templates I have associated with the hosts. As per as housekeeper settings are concerned, I am unaware of exactly what you want. Could you please guide how do I check housekeeper settings?


            Did you find some queries there?
            Yes, there are logs with regard to slow queries. Shall I share it with you?

            Share your screenshot of Reports->System information
            I have attached the screenshot for the same.
            Click image for larger version

Name:	System Information.png
Views:	752
Size:	48.6 KB
ID:	448449

            Comment

            • vladimir_lv
              Senior Member
              • May 2022
              • 240

              #7
              By your NVPS would be nice to have at least 8 GB RAM

              Comment

              • K Shaun
                Junior Member
                • Apr 2022
                • 4

                #8
                Hello Sir,

                As per your suggestions, I will upgrade my Zabbix server instance to 8GB RAM.

                I hope it resolves my issue.

                Thank you for your valuable time and cooperation.

                Comment

                Working...