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

Unable to add trigger with item that uses regex syntax inside the item

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.9.7 (beta)
    • Fix Version/s: 2.0.0
    • Component/s: Frontend (F)
    • Labels:
    • Environment:
      RedHat 5
      Php 5.3.5

      Description

      I have an web page regex item which includes a complex regex. When I try to create a trigger for this item, I get an error (either during template import or manual creation):

      Error:
      Unexpected symbol "." in trigger function. Check expression part starting from " ).([[:space:]].)+"].count(#1,event service = failed)}=1 " [CTrigger.create -> CTrigger.checkInput]

      Here is the trigger:
      {Template_App_CCWS:web.page.regexp[0.0.0.0,/ws-callcontrol-1.1/test,{$CCWS_PORT},"[Ss]moke [Tt]est = ([Ss]uccess|[Ww]arning|[Ff]ail).([[:space:]].)+"].count(#1,event service = failed)}=1

      I attached the template and screenshot as well.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              danrog Dan Rogers
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: