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

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.0.0
    • 1.9.7 (beta)
    • Frontend (F)
    • RedHat 5
      Php 5.3.5

      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.

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

              Created:
              Updated:
              Resolved: