Include= parameter should be last in the shipped config file

XMLWordPrintable

    • Type: Incident report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 6.0.40, 7.0.17, 7.4.2
    • None

      Zabbix shipped conf files have the include statement in the middle of the file, and this creates inconsistent behavior.
      For example, this is the order of parameters in zabbix_server.conf:

      LogFile=/var/log/zabbix/zabbix_server.log
      .......
      .........
      Timeout=4
      LogSlowQueries=3000
      ...
      Include=/etc/zabbix/zabbix_server.d/*.conf
      ...
      StatsAllowedIP=127.0.0.1
      EnableGlobalScripts=0
      

      If I then create zabbix_server.d/my_zabbix.conf with contents:

      Timeout=10
      EnableGlobalScripts=1
      

      Only Timeout=10 parameter will be overriding the default configuration.

            Assignee:
            Zabbix Development Team
            Reporter:
            Karlis Salins (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 1h
                1h