Ad Widget

Collapse

Create trigger on Web monitoring with error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hzl1984
    Junior Member
    • Dec 2009
    • 4

    #1

    Create trigger on Web monitoring with error

    Hi, all,

    I have a problem with creating a trigger on any web monitor item.
    When I created the trigger, the Expression table always tells me that "Unknown host item, no such item in selected host". However, I created it just following the instruction (http://www.zabbix.com/documentation/...web_monitoring). My expression is "{Zabbix Server:web.test.time[Zabbix fronted,Log in,resp].last(1,1)}>12".

    But any other trigger I created works fine. e.g. "{Zabbix Server:system.cpu.num.last(0)}=12".

    P.S. I am using Zabbix version 1.8.4.

    Can anyone help me? Thank you very much!
  • hzl1984
    Junior Member
    • Dec 2009
    • 4

    #2
    somebody helps me?

    Comment

    • JBo
      Senior Member
      • Jan 2011
      • 310

      #3
      Hi,
      Your trigger expression is
      Code:
      {Zabbix Server:web.test.time[Zabbix fronted,Log in,resp].last(1,1)}>12
      Are you sure that it is "Zabbix fronted " and not "Zabbix frontend" ?
      What are you trying to evaluate with "last(1,1)" ?
      Why don't you use last(0) ?

      Regards,
      JBo

      Comment

      • hzl1984
        Junior Member
        • Dec 2009
        • 4

        #4
        Originally posted by JBo
        Hi,
        Your trigger expression is
        Code:
        {Zabbix Server:web.test.time[Zabbix fronted,Log in,resp].last(1,1)}>12
        Are you sure that it is "Zabbix fronted " and not "Zabbix frontend" ?
        What are you trying to evaluate with "last(1,1)" ?
        Why don't you use last(0) ?

        Regards,
        JBo
        Hi JBo,

        Great thanks for your reply.
        The name "Zabbix fronted" maybe my typo. But the trigger expression item is not written by me, it is selected in the item list. I think it would not be mismatch.
        On the other hand, I used last(0) to replace, while the expression still tells me the same error above.

        The attach file shows the error I encountered. FYI
        Attached Files

        Comment

        • JBo
          Senior Member
          • Jan 2011
          • 310

          #5
          Hi,

          I have set up an Web test that closely match yours.
          I get the same error message in popup (see first attached screenshot).

          However, if I save it and check in Monitoring/Triggers the trigger is OK (see second screenshot).

          Probably a bug in PHP frontend.
          I think you can ignore it, your trigger should work.

          Feel free to report it on bugtracker.

          Regards,
          JBo
          Attached Files

          Comment

          • hzl1984
            Junior Member
            • Dec 2009
            • 4

            #6
            Originally posted by JBo
            Hi,

            I have set up an Web test that closely match yours.
            I get the same error message in popup (see first attached screenshot).

            However, if I save it and check in Monitoring/Triggers the trigger is OK (see second screenshot).

            Probably a bug in PHP frontend.
            I think you can ignore it, your trigger should work.

            Feel free to report it on bugtracker.

            Regards,
            JBo
            Hi JBo,

            Got it! Thank you very much!

            Best Regards

            Comment

            Working...