zabbix_agent*.conf should honour alphabetical order of files in zabbix_agent[2d].d

XMLWordPrintable

    • Type: Change Request
    • Resolution: Unresolved
    • Priority: High
    • None
    • Affects Version/s: 7.4.10
    • Component/s: Agent2 (G)

      Hi,

      I always assumed zabbix agent reads the config files in zabbix_agent[d2].d in alphabetical order. Therefore I included some files in it:

      01_allowKeys.conf (includes all commonly used keys which should be allowed)

      50_xxx..conf (special UserParameter and appropriate AllowKey - on client basis)

      51_local.conf (includes my local tests before deploying, including AllowKey=...)

      99_denyKey.conf (includes only denyKey=*)

      Now, changing to Zabbix Agent 2 I realized that this does not work anymore. Apparently, it only worked by chance with Zabbix Agent 1! I found the online docs stating that the files are not read in alphabetical order by design. But also I found, that the order of AllowKey and DenyKey matters (which I fully understand)! It would be very helpful if you would include a note in the conf file! In long term I would really appreciate it, if the alphabetical order would be honoured!

       

      Best regards,

      SebNeu

            Assignee:
            Zabbix Integration Team
            Reporter:
            Sebastian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: