zabbix7 web.page.get Monitoring item, stored data is truncated, resulting in abnormal trigger judgment and incorrect acquisition of complete data for judgment operation

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Trivial
    • None
    • Affects Version/s: 7.0.0
    • Component/s: None
    • None
    • Environment:
      Server OS :CentOS7.9 mysql8.0.36 php8.x nginx1.24
      client windows10 x64 chrome126

      Reproduction steps:

      Create a new template,

      Template, create monitoring items, key values

      web.page.get[http://{HOST.NAME}] 

      Type HTTP proxy,

      Template, create trigger, expression

      find(/jquery/web.page.get[http://{HOST.NAME}],,,"友情链接")=0

      The host name is www.58408.com , and the host application template can be used to reproduce this issue by checking the latest data

      www.58408.com 

      The problem is :

      zabbix_get -s 8.8.8.8 -p 10050 -k web.page.get[https://www.58408.com ]
      zabbix_agentd -t web.page.get[https://www.58408.com ] 

      Both of these testing methods returned complete content exceeding 64K in length, but it was truncated to 64K before being stored in the database

      I have reviewed the following documents and have not found a solution

      https://support.zabbix.com/browse/ZBX-16558
      https://support.zabbix.com/browse/ZBX-11117
      https://support.zabbix.com/browse/ZBX-6590
      https://support.zabbix.com/browse/ZBXNEXT-6109
      https://www.zabbix.com/documentation/current/en/manual/config/items/item#text_data_limits

      The value type of the field in table history_text has been set to longtext

      CREATE TABLE `history_text` (
        `itemid` bigint unsigned NOT NULL,
        `clock` int NOT NULL DEFAULT '0',
        `value` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
        `ns` int NOT NULL DEFAULT '0',
        PRIMARY KEY (`itemid`,`clock`,`ns`)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin; 

      However, when checking the data stored in the latest monitoring items, it has still been truncated to 64K. Please help me, I need to solve this problem

        1. html.txt
          65 kB
        2. 主机的,测试监控项测试结果.png
          主机的,测试监控项测试结果.png
          435 kB
        3. 主机的最新数据.png
          主机的最新数据.png
          269 kB
        4. 主机监控项.png
          主机监控项.png
          384 kB
        5. 主机触发器.png
          主机触发器.png
          555 kB
        6. 数据库储存的被截断的数据.png
          数据库储存的被截断的数据.png
          110 kB
        7. 数据库数据体积.png
          数据库数据体积.png
          45 kB
        8. 模版.png
          模版.png
          127 kB
        9. 模版监控项.png
          模版监控项.png
          191 kB

            Assignee:
            Arkadiusz Zyla (Inactive)
            Reporter:
            c32
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified