Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-19645

Official HAPROXY template issue

    XMLWordPrintable

Details

    • Problem report
    • Status: READY TO DEVELOP
    • Trivial
    • Resolution: Unresolved
    • 5.0.12
    • Templates (T)
    • None
    • docker image zabbix 5.0.12
      haproxy version 2.0.19-1~bpo10+1
    • Sprint 81 (Oct 2021), Sprint 82 (Nov 2021), Sprint 83 (Dec 2021), Sprint 84 (Jan 2022), Sprint 85 (Feb 2022), Sprint 86 (Mar 2022), Sprint 87 (Apr 2022), Sprint 88 (May 2022), Sprint 89 (Jun 2022), Sprint 90 (Jul 2022)
    • 0.125

    Description

      Hello ,

      The preprocessing of the HAProxy version is not working for version containing '~' sign 

      For example we are running HAProxy from debian buster backports version 2.0.19-1~bpo10+1 

      Adding a preprocessing step to replace '~' by '-' fixes the issue .

      Table collation and charset : 

      MariaDB [zabbixdb]> show create table history_str \G
      *************************** 1. row ***************************
       Table: history_str
      Create Table: CREATE TABLE `history_str` (
       `itemid` bigint(20) unsigned NOT NULL,
       `clock` int(11) NOT NULL DEFAULT 0,
       `value` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
       `ns` int(11) NOT NULL DEFAULT 0,
       KEY `history_str_1` (`itemid`,`clock`)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin
       PARTITION BY RANGE (`clock`)
      (PARTITION `p2021_06_30` VALUES LESS THAN (1625090400) ENGINE = InnoDB,
       PARTITION `p2021_07_01` VALUES LESS THAN (1625176800) ENGINE = InnoDB,
       PARTITION `p2021_07_02` VALUES LESS THAN (1625263200) ENGINE = InnoDB,
       PARTITION `p2021_07_03` VALUES LESS THAN (1625349600) ENGINE = InnoDB,
       PARTITION `p2021_07_04` VALUES LESS THAN (1625436000) ENGINE = InnoDB,
       PARTITION `p2021_07_05` VALUES LESS THAN (1625522400) ENGINE = InnoDB,
       PARTITION `p2021_07_06` VALUES LESS THAN (1625608800) ENGINE = InnoDB,
       PARTITION `p2021_07_07` VALUES LESS THAN (1625695200) ENGINE = InnoDB,
       PARTITION `p2021_07_08` VALUES LESS THAN (1625781600) ENGINE = InnoDB)

       

      Attachments

        Activity

          People

            asebiskveradze Aleksandre Sebiskveradze
            obouffet Olivier Bouffet
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: