net.tcp.listen does not work with EL 7.x

XMLWordPrintable

    • Type: Incident report
    • Resolution: Duplicate
    • Priority: Major
    • None
    • Affects Version/s: 3.0.0
    • Component/s: Agent (G)
    • None
    • Environment:
      Zabbix Server 3.0.1 on CentOS 7.2
      Zabbix Agent 3.0.0 on CentOS 7.2

      net.tcp.listen[] reports 0 on CentOS 7.2 even if a process is listening

      This is with agent on CentOS 6.7
      [root@srvzabbix ~]# /opt/zabbix/bin/zabbix_get -s srvzabbixdb -k 'net.tcp.listen[22]'
      1

      This is with agent on CentOS 7.2
      [root@srvzabbix ~]# /opt/zabbix/bin/zabbix_get -s srvzabbix -k 'net.tcp.listen[22]'
      0

      [root@srvzabbix ~]# netstat -ntl | grep ':22'
      tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
      tcp6 0 0 :::22 :::* LISTEN

            Assignee:
            Unassigned
            Reporter:
            Cristian Mammoli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: