[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: |
|
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. |