Ad Widget

Collapse

zabbix agent tcp check problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • farshad4472
    Junior Member
    • Apr 2021
    • 3

    #1

    zabbix agent tcp check problem

    Hello everybody

    I want to monitor x.x.x.x:3306 in Linux server with zabbix agent (zabbix agent item: net.tcp.port)
    but zabbix agent return 0

    I test this with telnet and connection is ok

    please help me
  • coffee
    Junior Member
    • Oct 2021
    • 15

    #2
    Have you solved your problem? I also encountered the same problem, ZABBIX Server 5.0 and ZABBIX agent 4.0 29.

    Comment

    • Hamardaban
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2019
      • 2713

      #3
      try use
      net.tcp.listen[port]
      Checks if this TCP port is in LISTEN state. 0 - it is not in LISTEN state

      1 - it is in LISTEN state
      port - TCP port number Example:
      => net.tcp.listen[80]

      Comment


      • coffee
        coffee commented
        Editing a comment
        think you!My problem has been solved. It is caused by SELinux of CentOS 7
    Working...