Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-1254

Specifying filter in Include directory in zabbix_agent configuration file

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 1.8.13
    • None

      Currently, when specifying

      Include=<directoryname>

      in the config file, the agent includes every file in the specified include directory. This however leads to problems when configuration files are installed in this directory using an RPM. As part of updates of RPMs, RPM may create new files with .rpmsave and .rpmnew extensions and these are included as well leading to warnings of the agent and possible use of the wrong configuration file.

      To solve this issue, it would be good to extend the Include directive to also support file patterns. For instance:

      Include=/etc/zabbix/zabbix_agentd/*.conf

      In this way, this type of problem can be easily prevented.

            alexei Alexei Vladishev
            erikengerd Erik Brakkee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: