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

Agent2 plugins conf are not following Agent configuration definition style

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Major Major
    • 7.0.0alpha4, 7.0 (plan)
    • 5.0.32, 6.0.14, 6.4.0, 7.0.0alpha1
    • Agent2 plugin (N)
    • None
    • 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.

            esneiders Eriks Sneiders
            edgar.akhmetshin Edgar Akhmetshin
            Team INT
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: