Ad Widget

Collapse

Web scenario URL fails when different port is specified

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • froner
    Junior Member
    • Jul 2015
    • 1

    #1

    Web scenario URL fails when different port is specified

    When I specify a port in the URL for a step in the web scenario,
    for example http://testLB:8888

    the test fails and the log states:

    12116:20150722:185944.532 cannot process step "testWeb" of web scenario "testWeb" on host "TestIT": Couldn't connect to server

    In this case, network trace shows that zabbix does not make any connection attempt with the remote server.

    On the other hand, http://testLB works.

    Both URLs can be fetched with wget fromm the zabbix server.

    I only get the web scenario to work when I do not specify a different port than 80. Anyone else who experiences this?
    Last edited by froner; 22-07-2015, 21:10. Reason: More precise text.
  • fbasurte
    Junior Member
    • Jul 2013
    • 10

    #2
    I have the same issue
    did you get to solve it?

    I am now in zabbix 3.0.2
    Thanks in advance
    kiko.-

    Comment

    • LxP
      Junior Member
      • Jun 2016
      • 1

      #3
      Hello,
      Same issue in 2.4.8 and 3.0.2 version, but in 2.4.6 it's ok
      this is a bug or there is another way to do it.

      Comment

      • fbasurte
        Junior Member
        • Jul 2013
        • 10

        #4
        In my case it was the firewall and selinux. After that it worked fine

        Comment

        • aaanju.of
          Junior Member
          • Aug 2016
          • 1

          #5
          Web scenario URL fails when different port is specified

          For me, its same.
          not working for zabbix 3.
          i can successfully curl the given url
          ex: curl http://www.abc.com:8080

          but following error is given in zabbix

          Step "app1" [1 of 1] failed: Couldn't connect to server: Failed to connect to 10.10.10.10: Permission denied

          is there a way to use custom template for web scenario for non standard ports

          Comment

          • marco.mandricardo
            Junior Member
            • Jul 2022
            • 1

            #6
            Hi,
            same problem here,
            i have zabbix 6.0
            if i do a web scenario with 1 step to check availability with only require response code 200,
            i get the same error of aaanju.of
            some news after long time?

            Comment

            Working...