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

XMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 6.0.4
    • Component/s: Agent (G)
    • None
    • Environment:
      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.

            Assignee:
            Zabbix Development Team
            Reporter:
            Frank
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: