Ad Widget

Collapse

Zabbix Web Scenario - failed: Couldn't connect to server:

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • llomnasan
    Junior Member
    • May 2022
    • 7

    #1

    Zabbix Web Scenario - failed: Couldn't connect to server:

    Hello,

    I have a strange situation.
    I try to make a Web Scenario check on an URL with a nonstandart port: https://website.com:8423/path/to/status and i get failed: Couldn't connect to server.
    I can make a curl request from both Zabbix Server and host server with wanted output; i stopped firewall, added port to firewall. Telnet working on same port (if it's related)


    If i make same test with https://www.google.com/ everything works fine.

    Any ideas?

    EDIT:

    Added another test with port 8080, same error.
    Last edited by llomnasan; 19-07-2022, 15:23.
  • dimir
    Zabbix developer
    • Apr 2011
    • 1080

    #2
    Could it be SELinux not allowing outbound connections for user zabbix to non-80 port?

    Comment

    • llomnasan
      Junior Member
      • May 2022
      • 7

      #3
      SELinux not enabled.

      Comment

      • llomnasan
        Junior Member
        • May 2022
        • 7

        #4
        Enabled selinux, allowed ports and everything works.

        Thanks.

        Comment

        Working...