Ad Widget

Collapse

Help Graphic Seconds

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • monique_silva2016
    Junior Member
    • Jun 2016
    • 26

    #1

    Help Graphic Seconds

    Sorry, my english not god

    I need your help please. I configured web scenario and at graphic i used "Response time for step" and show up my statistc in milliseconds, but, i need what show in SECONDS

    My timeout at scenario i defined whit 120 seconds

    Please look image at anex

    Help me
    Last edited by monique_silva2016; 04-01-2017, 16:15.
  • guzzijason
    Senior Member
    • Dec 2015
    • 106

    #2
    What is the problem you're trying to solve?

    Internally, the web check response time is stored in seconds (not milliseconds). The display unit is variable ("ms" or "s", depending on the value). If your check takes >=1 second to return, then it will be displayed in seconds, otherwise, it will display ms.

    Your timeout setting has no bearing on this.

    If you really want to see this value in units of seconds only, you can create a new calculated item to display it, but it's not clear why you should want to do this.

    __Jason

    Comment

    • monique_silva2016
      Junior Member
      • Jun 2016
      • 26

      #3
      Hi, guzzijason

      Tks so much for response.

      So, first the item is create automatic, as can edit? "Response time for step" and i can create manually this item, but, as i do at expression for show at seconds?

      Before updanting our app, show at second, not problem, and my boss want to see in seconds the graph.

      For exemple: The user delay 10 seconds for log into, not 100ms for log into.

      I need to discover where alter expression for show at seconds.


      Tks for the attention

      Comment

      • guzzijason
        Senior Member
        • Dec 2015
        • 106

        #4
        There seems to be no way to modify the built-in web check to display seconds. However, if you want to create a new calculated item, you can do so using the source key of the type 'web.test.time[Scenario,Step,resp]'.

        As an example, I have a web check to monitor yum servers called "Yum Repo Healthcheck", and the step I want to measure is called "GET repodata". Based on that, my calculated item formula would be:

        last("web.test.time[Yum Repo Healthcheck,GET repodata,resp]")

        I've attached a screen shot of the item configuration, in case it helps.

        __Jason
        Attached Files

        Comment

        • monique_silva2016
          Junior Member
          • Jun 2016
          • 26

          #5
          Hi, guzzijason are you there?

          can you see my print, look error please.

          I have a lot nodes, and need create item for each one, but, look print, say "does not exist".

          i tried create at item on host and group too, but, not sucess.
          Attached Files

          Comment

          • guzzijason
            Senior Member
            • Dec 2015
            • 106

            #6
            It's best to do this in a template (my example was from a template). That way, it's automatically applied to all nodes that include that template.

            Also, if you set Unidades (Units) to "s", this will cause the exact same behavior as the standard web check - it will automatically convert fractional seconds to milliseconds, which you don't want. If you leave the unit it will report the raw unscaled value, whatever it is.

            __Jason

            Comment

            • monique_silva2016
              Junior Member
              • Jun 2016
              • 26

              #7
              Hi, Jason

              All right, i Understanding, but i have one doubt.

              What i put here between parenthesis. I think to be my nodes

              last("web.test.time[MY NODE?,GET MY NODE??,resp]")

              This is correcty?

              Tks so much. Sorry my english.

              Comment

              • guzzijason
                Senior Member
                • Dec 2015
                • 106

                #8
                No, you need to put in the name of your web check scenario, followed by the name of the specific web check step you are measuring.

                web.test.time[Web_Check_Scenario,Web_Check_Step,resp]

                More info here: https://www.zabbix.com/documentation...nitoring/items

                __Jason

                Comment

                Working...