Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-18519

Zabbix agent2 return wrong ping value in Template DB MySQL by Zabbix agent 2

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • None
    • Agent2 plugin (N)
    • Centos 7
      Mariadb 10.5.6
      Zabbix Server 5.0.2
      Zabbix Agent 5.0.2

      Steps to reproduce:

      1. Install Mariadb 10.5.6
      2. Create zabbix monitor user and grant privileges
      3. Add Template DB MySQL by Zabbix agent 2
      4. Set macros

      Result:

      Every time that we restart mariadb we should restart zabbix-agent2 to get corret values for ping and other items values.

       

      ~ zabbix_get -s 10.x.x.x -p 100x -k mysql.ping["tcp://x.x.x.x:xxxx","username","passowrd"]
      0
      
      

       

      zabbix-agent2.log:

      [1] created direct exporter task for plugin 'Mysql' itemid:0 key 'mysql.ping[x,x,x]'
      sending passive check response: '0.000000' to 'x.x.x.x'
      [Mysql] func Start, closeUnused()

      Expected:

      1

       

            neogan Andrei Gushchin (Inactive)
            yzdann Yazdan Mohammadi
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: