Ad Widget

Collapse

Zabbix 7 Website by Browser Template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gsmith
    Member
    • Mar 2015
    • 56

    #1

    Zabbix 7 Website by Browser Template

    All,
    Testing out the new template on Zabbix 7 called Website by Browser. I have install Selenium/webdriver-manager/ChromeDriver.
    Still unable to trend any data and was wondering if any one here was able to get it to work.
    Only error I get is the following.

    HTML Code:
    {"error":"Error: cannot open webriver session: cannot open webdriver response: cannot parse as a valid JSON object: invalid object format, expected opening character
    '{' or '[' at: '<!DOCTYPE html>\n
    <html lang="en">\n
    <head>\n
    <meta charset="UTF-8">\n
    <link rel="stylesheet" type="text/css" href="/assets/displayhelpservlet.css" media="."}
    Any help or advice would be appreciated.
    Thank in advance.
  • Gsmith
    Member
    • Mar 2015
    • 56

    #2
    Running Ubuntu22.0.4 server, no GUI with MySQL, Zabbix 7.0.1 and Nginx.

    I did some more testing. Now I receive a new error.

    HTML Code:
    {"error":"Error: cannot open webriver session: session not created\n
    from unknown error: cannot find Chrome binary\n
    Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'\n
    System info: host: 'zabbix', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.15.0-112-generic', java.version: '17.0.11'\n
    Driver info: driver.version: unknown\nremote stacktrace: #0 0x55711f9fa6aa <unknown>\n
    #1 0x55711f6dd0dc <unknown>\n
    #2 0x55711f7102cf <unknown>\n
    #3 0x55711f70e43b <unknown>\n
    #4 0x55711f758ef9 <unknown>\n
    #5 0x55711f74c613 <unknown>\n
    #6 0x55711f71c4f7 <unknown>\n
    #7 0x55711f71ce4e <unknown>\n
    #8 0x55711f9c087b <unknown>\n
    #9 0x55711f9c4921 <unknown>\n
    #10 0x55711f9ac36e <unknown>\n
    #11 0x55711f9c5482 <unknown>\n
    #12 0x55711f990ccf <unknown>\n
    #13 0x55711f9ea0a8 <unknown>\n
    #14 0x55711f9ea280 <unknown>\n
    #15 0x55711f9f97dc <unknown>\n
    #16 0x7fb43887fac3 <unknown>\n."}

    Comment

    • ITOMDave
      Member
      • Nov 2018
      • 53

      #3
      I'm having issues with getting the correct configuration running as well. I know it doen't help you, other than to say you're not alone.

      In my case, it's related to getting headless chrome, selenium server and the webdriver all playing together.

      Comment

      • Gsmith
        Member
        • Mar 2015
        • 56

        #4
        Originally posted by ITOMDave
        I'm having issues with getting the correct configuration running as well. I know it doen't help you, other than to say you're not alone.
        In my case, it's related to getting headless chrome, selenium server and the webdriver all playing together.
        I appreciate your reply and thank you. I was following this install.
        HTML Code:
        https://github.com/password123456/setup-selenium-with-chrome-driver-on-ubuntu_debian
        Everything seams to start correctly but when I test the item called "Website {$WEBSITE.DOMAIN} Get data" . I receive errors. Now I get the following error.
        HTML Code:
        Error: cannot open webriver session: unknown error: Chrome failed to start: exited abnormally.
        (unknown error: DevToolsActivePort file doesn't exist)
        (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDrive
        From my understand this error might be form versions of Chrome/ChromeDriver. When I execute .
        HTML Code:
        /webdriver-manager  start
        it writes over the new version to chromedriver_114.0.5735.90.zip.

        I also went here and here

        Comment

        • Gsmith
          Member
          • Mar 2015
          • 56

          #5
          Originally posted by ITOMDave
          I'm having issues with getting the correct configuration running as well. I know it doen't help you, other than to say you're not alone.

          In my case, it's related to getting headless chrome, selenium server and the webdriver all playing together.
          I found my solution, it took a couple minutes.

          In this guide, we will show you how to install and configure Zabbix so that it is able to use the potential of the new "Browser" item.

          Comment

          Working...