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

Agent2 crashes upon parsing non-UTF-8 file in zabbix_agentd.d

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 6.0.4
    • Agent (G)
    • None
    • Ubuntu + Docker

      Zabbix agent2 (in Docker, using official containers) is crashing/exiting when it cannot parse a file in the zabbix_agentd.d folder.

      The error shown in the Docker container:

      zabbix_agent2 [7]: ERROR: Cannot read configuration: cannot include "/etc/zabbix/zabbix_agentd.d/.terragrunt-source-manifest": cannot parse configuration at line 1: not a valid UTF-8 character found
      

      This is a binary file, generated by Terragrunt which we have no control over unfortunately.

      This causes the container to constantly restart. I would make more sense throwing a warning and continuing with the next file(s) in the folder rather than exiting whenever an error has occurred.

            zabbix.dev Zabbix Development Team
            frank Frank
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: