Zabbix Documentation 5.2

3.04.05.0 (current)| In development:5.2 (devel)| Unsupported:1.82.02.22.43.23.44.24.4Guidelines

User Tools

Site Tools


manual:appendix:config:special_notes_include

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:appendix:config:special_notes_include [2017/08/25 07:28]
martins-v removing auto numbering
manual:appendix:config:special_notes_include [2020/05/26 12:43] (current)
marinagen page numbering
Line 1: Line 1:
-==== 6 Special notes on "​Include"​ parameter ​====+==== 8 Inclusion ​====
  
-If an ''​Include''​ parameter is used for including a file, the file must be readable.+=== Overview ===
  
-If an ''​Include''​ parameter is used for including a directory:+Additional files or directories can be included into server/​proxy/​agent configuration using the ''​Include''​ parameter. 
 + 
 +=== Notes on inclusion === 
 + 
 +If the ''​Include''​ parameter is used for including a file, the file must be readable. 
 + 
 +If the ''​Include''​ parameter is used for including a directory:
     - All files in the directory must be readable.     - All files in the directory must be readable.
     - No particular order of inclusion should be assumed (e.g. files are not included in alphabetical order). Therefore do not define one parameter in several ''​Include''​ files (e.g. to override a general setting with a specific one).     - No particular order of inclusion should be assumed (e.g. files are not included in alphabetical order). Therefore do not define one parameter in several ''​Include''​ files (e.g. to override a general setting with a specific one).
Line 9: Line 15:
     - Beware of file backup copies automatically created by some text editors. For example, if editing the ''​include/​my_specific.conf''​ file produces a backup copy ''​include/​my_specific_conf.BAK''​ then both files will be included. Move ''​include/​my_specific.conf.BAK''​ out of the "​Include"​ directory. On Linux, contents of the ''​Include''​ directory can be checked with a ''​ls -al''​ command for unnecessary files.     - Beware of file backup copies automatically created by some text editors. For example, if editing the ''​include/​my_specific.conf''​ file produces a backup copy ''​include/​my_specific_conf.BAK''​ then both files will be included. Move ''​include/​my_specific.conf.BAK''​ out of the "​Include"​ directory. On Linux, contents of the ''​Include''​ directory can be checked with a ''​ls -al''​ command for unnecessary files.
  
-If an ''​Include''​ parameter is used for including files using a pattern:+If the ''​Include''​ parameter is used for including files using a pattern:
     - All files matching the pattern must be readable.     - All files matching the pattern must be readable.
     - No particular order of inclusion should be assumed (e.g. files are not included in alphabetical order). Therefore do not define one parameter in several ''​Include''​ files (e.g. to override a general setting with a specific one).     - No particular order of inclusion should be assumed (e.g. files are not included in alphabetical order). Therefore do not define one parameter in several ''​Include''​ files (e.g. to override a general setting with a specific one).