Ad Widget

Collapse

net.tcp.service not working with ports different than 80,443

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • darkrigel
    Junior Member
    • Jun 2022
    • 2

    #1

    net.tcp.service not working with ports different than 80,443

    Hi

    Zabbix 6
    Red Hat. Firewall off for testing


    This simple check is not working, it always return 0.
    net.tcp.service[https,x.x.x.x,10443] or net.tcp.service[tcp,x.x.x.x,10443]

    There is a web in that port that is up and working. I have try other ports (6443, 5443...) with same result.

    This configuration is working, it's returning 1.
    net.tcp.service[https,x.x.x.x,443] or net.tcp.service[tcp,x.x.x.x,443]

    From the host I can ping the ip, telnet ports, and curl both webs.

    There is nothing on zabbix logs related to port 10443, it's like zabbix is not doing anything.

    Do I need to make an special configuration on zabbix6 to monitor "non-standard" ports?

    Thanks!


  • Answer selected by darkrigel at 22-06-2022, 10:45.
    cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    Security-Enhanced Linux secures the zabbix processes via flexible mandatory access control. The zabbix processes execute with the zabbix_t SELinux type. You can

    If you want to determine whether zabbix can connect to all TCP ports, you must turn on the zabbix_can_network boolean. Disabled by default.

    setsebool -P zabbix_can_network 1

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #2
      Security-Enhanced Linux secures the zabbix processes via flexible mandatory access control. The zabbix processes execute with the zabbix_t SELinux type. You can

      If you want to determine whether zabbix can connect to all TCP ports, you must turn on the zabbix_can_network boolean. Disabled by default.

      setsebool -P zabbix_can_network 1

      Comment

      • darkrigel
        Junior Member
        • Jun 2022
        • 2

        #3
        Resolved, thank you so much!!

        Comment

        Working...