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

Specifying filter in Include directory in zabbix_agent configuration file

    Details

    • Type: Change Request
    • Status: Closed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 1.8.13
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: