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

Zabbix server does not send regexps (builder regexps) to agent

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.1
    • Fix Version/s: 1.8.2, 1.9.0 (alpha)
    • Component/s: Server (S)
    • Labels:
      None

      Description

      Due to bug in trapper/active.c add_regexp_name() server does not send builder regexps to agent.
      Therefore agent is not able to do regexp based on expression in form @expression_name

      Fix is actually simple:
      zabbix_server/trapper/active.c:

      • *regexp[*regexp_num++] = strdup(regexp_name);
        + *regexp[(*regexp_num)++] = strdup(regexp_name);

      Please fix it in future releases.

      Thank you for good piece of code, anyway.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            martlaak Märt Laak
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: