Ad Widget

Collapse

About obtaining the full web page load time.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Van
    Junior Member
    • Nov 2023
    • 3

    #1

    About obtaining the full web page load time.

    Hello, I'm a newcomer to Zabbix, and I use English with translation, so please forgive me if there are any parts you don't understand.

    I mainly want to use Zabbix to monitor the complete web page load time (including HTML, CSS, images, etc.).

    I checked the official documentation, and it mentions using the "web.page.perf" item.

    I have received data, but the time values don't seem to be accurate because it takes about 6 seconds to load in a browser, but the data shows a web page load time of only 0.014-0.08 (Question 1: The Zabbix screenshot doesn't display units; is it in seconds or milliseconds?) [ATTACH=CONFIG]n473464[/ATTACH]

    Click image for larger version

Name:	image.png
Views:	638
Size:	5.5 KB
ID:	473466

    Whether it's seconds or milliseconds, it doesn't seem to be the complete web page load time and seems a bit too fast. Possible reasons could be: 1. It's only measuring HTML load time, 2. There might be an issue with my configuration. 3.response code is not 200

    Question 2: How can i check response code for item? I've searched for a long time and can't find it.

    Question 3: Is my configuration incorrect? If not, how can I use Zabbix to measure the complete web page load time? The image URLs are replaced with "xxxxxx," but in reality, they are not. I've tried "web.page.perf[www.cdxxxxxxxs.com,,443]" and "web.page.perf[www.cdxxxxxxxs.com,443]," but the results are consistently only in the range of 0.0x seconds.
    ​​



    Question 3: There is a section for Web scenarios that can also be used for web monitoring. What is the difference between Web scenarios and items? Because I have some websites that only need to monitor HTML. Should I use Web scenarios or items?

    The above questions, seeking advice from experienced individuals.

    Thanks

    ​​
  • Van
    Junior Member
    • Nov 2023
    • 3

    #2
    my zabbix server version is 7.0.0alpha6

    Can someone help?

    Thanks

    Comment

    • Hamardaban
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2019
      • 2713

      #3
      Try using this: https://www.zabbix.com/documentation...web_monitoring

      A1: The loading time of a full web page (in seconds).
      A2: no way
      A3 A4 : see documentation

      Comment


      • Van
        Van commented
        Editing a comment
        hi , thanks for your response.
        i use web scenario, get data is 314.09ms
        It still appears that he is only loading HTML
        response code is 200

        my config:
        enable follow redirects
        url : https://xxxxxx.com
        timeout: 60s
        agent: zabbix
        interval: 1m
    Working...