Ad Widget

Collapse

Web Scenario Page Load TImes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TheDuke
    Junior Member
    • Apr 2018
    • 6

    #1

    Web Scenario Page Load TImes

    Hi,

    I'm new to Zabbix and hoping someone may assist. I have a web scenario running successfully abut the page load times are incorrect and the find text errors. I've tracked it down to when the page loads I receive a 200 response very quickly when i inspect the page using chrome. But there is still data loading on the page and once that is complete i see the text I am looking for. Is there any way I can script to wait until all components of the page are loaded????

    Robert
  • kernbug
    Senior Member
    • Feb 2013
    • 330

    #2
    Originally posted by TheDuke
    Hi,

    I'm new to Zabbix and hoping someone may assist. I have a web scenario running successfully abut the page load times are incorrect and the find text errors. I've tracked it down to when the page loads I receive a 200 response very quickly when i inspect the page using chrome. But there is still data loading on the page and once that is complete i see the text I am looking for. Is there any way I can script to wait until all components of the page are loaded????

    Robert
    Hi

    Option Timeout in Web Scenario settings:


    Also you can use steps in web scenario to check different stages of the page loading:



    Comment

    • TheDuke
      Junior Member
      • Apr 2018
      • 6

      #3
      Hi kernbug, thanks for that. The login steps work fine. I am abl to validate this when looking at the application server and can see a successful login. so all the post transactions are working fine. Where it is not workin as expected is when i navigate to a page that i know is taking about 12 seconds to render and display. When I inspect this activity in chrome is see the following.


      Click image for larger version  Name:	Capture.PNG Views:	1 Size:	26.7 KB ID:	360232 Click image for larger version

Name:	Capture1.PNG
Views:	2739
Size:	64.6 KB
ID:	360235

      I think that the step is seeing the first connect and reporting on that. What I want is to wait until the page is fully loaded and I can report on the real response times. This is where I'm stuck.

      any ideas?

      Robert.
      Attached Files
      Last edited by TheDuke; 13-06-2018, 11:44.

      Comment

      • kernbug
        Senior Member
        • Feb 2013
        • 330

        #4
        In steps you can specify what page to check, not only the login/logout steps.

        Also you can use Zabbix Agent with web.page.perf[host,<path>,<port>] - "Loading time of full web page (in seconds)".

        Comment

        • TheDuke
          Junior Member
          • Apr 2018
          • 6

          #5
          does that mean i need the zabbix agent installed on the host?

          Comment

          • kernbug
            Senior Member
            • Feb 2013
            • 330

            #6
            Originally posted by TheDuke
            does that mean i need the zabbix agent installed on the host?
            This items measures load time between Zabbix agent host and web server. If Zabbix Server is monitored by Zabbix Agent you can add item to Zabbix Server host like this web.page.perf[www.zabbix.com,index.php,80].

            Comment

            • TheDuke
              Junior Member
              • Apr 2018
              • 6

              #7
              unfortunately i cannot install the agent on the host......

              Comment

              • kernbug
                Senior Member
                • Feb 2013
                • 330

                #8
                Originally posted by TheDuke
                unfortunately i cannot install the agent on the host......
                If your Zabbix server is monitored, you have already Zabbix agent installed. This type of check is built-in for Zabbix Agent, you can add such items.

                Comment

                • TheDuke
                  Junior Member
                  • Apr 2018
                  • 6

                  #9
                  oh. ok. then i am still stuck with measuring the load time of the web page I am trying to measure. This site is on another host that does not have an agent installed. any suggestions for this?

                  Comment

                  • kernbug
                    Senior Member
                    • Feb 2013
                    • 330

                    #10
                    Originally posted by TheDuke
                    oh. ok. then i am still stuck with measuring the load time of the web page I am trying to measure. This site is on another host that does not have an agent installed. any suggestions for this?
                    "1 minute" schema (please don't laugh at me), you need to setup one active check on Zabbix Server (with installed Zabbix Agent on it), no changes needed on the remote web server:

                    Click image for larger version  Name:	Untitled Diagram.png Views:	1 Size:	16.8 KB ID:	360377

                    Click image for larger version  Name:	Снимок экрана 2018-06-14 в 16.16.52.png Views:	2 Size:	122.7 KB ID:	360379


                    Click image for larger version  Name:	Снимок экрана 2018-06-14 в 16.17.09.png Views:	1 Size:	113.0 KB ID:	360380

                    Click image for larger version  Name:	Снимок экрана 2018-06-14 в 16.19.04.png Views:	1 Size:	81.7 KB ID:	360381
                    Attached Files

                    Comment

                    • TheDuke
                      Junior Member
                      • Apr 2018
                      • 6

                      #11
                      Hi, still no go......

                      Comment

                      Working...