[ZBXNEXT-1254] Specifying filter in Include directory in zabbix_agent configuration file Created: 2012 Jun 05  Updated: 2012 Jun 05  Resolved: 2012 Jun 05

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: None
Affects Version/s: 1.8.13
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: Erik Brakkee Assignee: Alexei Vladishev
Resolution: Duplicate Votes: 0
Labels: trivial
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBXNEXT-497 Agent config's Include support for ex... Closed

 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.


Generated at Fri Apr 26 04:38:20 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.