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

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: