Ad Widget

Collapse

Trigger for Web Step response time

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lesliem
    Junior Member
    • Jul 2010
    • 4

    #1

    Trigger for Web Step response time

    Hi everyone,

    I need some help configuring a trigger for a Web Step response time check. I have been able to create a trigger if the web scenario test fails, but am struggling to get teh response time trigger sorted.
    I am using Zabbix 1.8.2 on Ubuntu.
    My trigger expression is as follows:
    {hostname:web.test.time[scenario name, Login].last(0)}>3

    This should raise an alert if the response time for the step is longer than 3 seconds. When I try and save teh trigger I get the following error:
    No such monitored parameter (web.test.time[scenario name, Login]) for host (hostname)
    When I view the monitoring/latest data page, I can see data and see the graph.

    Any help appreciated

    Regards,
    Leslie
  • ruswold
    Senior Member
    • Mar 2010
    • 210

    #2
    Originally posted by lesliem
    Hi everyone,

    I need some help configuring a trigger for a Web Step response time check. I have been able to create a trigger if the web scenario test fails, but am struggling to get teh response time trigger sorted.
    I am using Zabbix 1.8.2 on Ubuntu.
    My trigger expression is as follows:
    {hostname:web.test.time[scenario name, Login].last(0)}>3

    This should raise an alert if the response time for the step is longer than 3 seconds. When I try and save teh trigger I get the following error:
    No such monitored parameter (web.test.time[scenario name, Login]) for host (hostname)
    When I view the monitoring/latest data page, I can see data and see the graph.

    Any help appreciated

    Regards,
    Leslie
    Hi, try {hostname:web.test.time[scenario name, Login,resp].last(0)}>3

    Comment

    • lesliem
      Junior Member
      • Jul 2010
      • 4

      #3
      Originally posted by ruswold
      Hi, try {hostname:web.test.time[scenario name, Login,resp].last(0)}>3
      Hi,
      Thanks for the feedback. I am afraid that this still produces the same error

      Regards,
      Leslie

      Comment

      • lesliem
        Junior Member
        • Jul 2010
        • 4

        #4
        Hi,
        Ruswold - this did work! I just had to remove the space before 'Login'

        Thanks for the help!

        Comment

        • sue
          Member
          • Mar 2011
          • 41

          #5
          Originally posted by ruswold
          Hi, try {hostname:web.test.time[scenario name, Login,resp].last(0)}>3
          i want to ask. Suppose if when is longer than 3 it will show problem on map right? if less than 3 it will show ok . But now they show opposite. What is wrong?

          Comment

          • superdaigo
            Junior Member
            • Jun 2011
            • 1

            #6
            Originally posted by ruswold
            Hi, try {hostname:web.test.time[scenario name, Login,resp].last(0)}>3
            Hi,

            Thanks for great answer, Ruswold.
            It works fine in my environment (Zabbix 1.8.1).

            But, how do you find the third parameter 'resp'?
            I can't find it in online document...

            Regards,
            Superdaigo

            Comment

            • toddblake
              Junior Member
              Zabbix Certified Specialist
              • Jul 2011
              • 27

              #7
              I've been scratching my head for the past 3 hours on this, for the same reason, the online documentation doesn't have the "resp" part in it.

              From: http://www.zabbix.com/documentation/...web_monitoring

              Response time for step 'Step' of scenario 'Scenario'

              This item will collect information about response time of the step in seconds. Response time is counted from the beginning of the request until all information has been transferred.

              Item key: web.test.time[Scenario,Step]

              Type: float

              Example 1

              Trigger “Zabbix GUI login is too slow”

              The trigger expression can be defined as:

              {zabbix: web.test.time[ZABBIX GUI,Login].last(0)}>3

              Comment

              Working...