Agent2 plugins conf are not following Agent configuration definition style

XMLWordPrintable

    • Type: Problem report
    • Resolution: Fixed
    • Priority: Major
    • 7.0.0alpha4, 7.0 (plan)
    • Affects Version/s: 5.0.32, 6.0.14, 6.4.0, 7.0.0alpha1
    • Component/s: Agent2 plugin (G)
    • None
    • Environment:
      RHEL 8/9
    • Sprint 102 (Jul 2023), Sprint 103 (Aug 2023), Sprint 104 (Sep 2023)
    • 0.5

      Steps to reproduce:

      1. try to set empty value in the mongodb.conf plugin:
        Plugins.MongoDB.Sessions.local.Password=
        

      Result:

      2023/03/17 07:33:26.819182 cannot register plugins: [MongoDB] Cannot unmarshal JSON data: invalid value type <nil>zabbix_agent2 [1517379]: ERROR: cannot register plugins: [MongoDB] Cannot unmarshal JSON data: invalid value type <nil>
      

      Expected:
      Interpret as a emty value, like Agent options.

            Assignee:
            Eriks Sneiders
            Reporter:
            Edgar Akhmetshin
            Team INT
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: