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

Docker plugin getting json error on non-running containers for get_info

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Cannot Reproduce
    • Icon: Trivial Trivial
    • None
    • None
    • Agent2 plugin (N)
    • None

      Steps to reproduce:

      1. Turn discovery on for non-running containers
      2. Execute get_info on non-running container

      Result:
      sudo -u zabbix zabbix_agent2 -t docker.container_stats["/MYCONAINER"]

      2022/05/25 15:32:37.002331 failed to execute direct exporter task for key 'docker.container_stats[/MYCONAINER]' error: 'Cannot marshal JSON: json: unsupported value: NaN.'
      docker.container_stats[/MYCONAINER]       [m|ZBX_NOTSUPPORTED] [Cannot marshal JSON: json: unsupported value: NaN.] 

       

      Running docker inspect on the non-running container still yields data.

            zabbix.support Zabbix Support Team
            minsis Dennis Whitney
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: