Zabbix Documentation 5.0

3.04.04.45.0 (current)| In development:5.2 (devel)| Unsupported:1.82.02.22.43.23.44.2Guidelines

User Tools

Site Tools


manual:appendix:config:zabbix_agentd_win

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:zabbix_agentd_win [2019/12/19 14:28]
Andrejs Tumilovics
manual:appendix:config:zabbix_agentd_win [2020/02/07 10:46]
martins-v better page structure
Line 1: Line 1:
 ==== 5 Zabbix agent (Windows) ==== ==== 5 Zabbix agent (Windows) ====
  
-<​note>​The default values reflect daemon defaults, not the values in the shipped configuration files.</​note>​+=== Overview ===
  
-The parameters supported in a Zabbix agent (Windows) configuration file:+This section lists parameters supported in a Zabbix agent (Windows) configuration file (zabbix_agent.conf). Note that: 
 + 
 +  * The default values reflect daemon defaults, not the values in the shipped configuration files; 
 +  * Zabbix supports configuration files only in UTF-8 encoding without [[https://​en.wikipedia.org/​wiki/​Byte_order_mark|BOM]];​ 
 +  * Comments starting with "#"​ are only supported in the beginning of the line. 
 + 
 +=== Parameters ===
  
 ^Parameter^Mandatory^Range^Default^Description^ ^Parameter^Mandatory^Range^Default^Description^
Line 13: Line 19:
 | DenyKey| no | | |Deny execution of those item keys that match a pattern. Key pattern is a wildcard expression that supports "​*"​ character to match any number of any characters.\\ Multiple key matching rules may be defined in combination with AllowKey. The parameters are processed one by one according to their appearance order. If no AllowKey or DenyKey rules defined, all keys are allowed.\\ This parameter is supported since Zabbix 5.0.0.\\ See also: [[:​manual/​appendix/​config/​restrict_checks|Restricting agent checks]]. ​ | | DenyKey| no | | |Deny execution of those item keys that match a pattern. Key pattern is a wildcard expression that supports "​*"​ character to match any number of any characters.\\ Multiple key matching rules may be defined in combination with AllowKey. The parameters are processed one by one according to their appearance order. If no AllowKey or DenyKey rules defined, all keys are allowed.\\ This parameter is supported since Zabbix 5.0.0.\\ See also: [[:​manual/​appendix/​config/​restrict_checks|Restricting agent checks]]. ​ |
 | EnableRemoteCommands| no | |0 |Whether remote commands from Zabbix server are allowed.\\ 0 - not allowed\\ 1 - allowed\\ This parameter is deprecated, use AllowKey=system.run[*] or DenyKey=system.run[*] instead. | | EnableRemoteCommands| no | |0 |Whether remote commands from Zabbix server are allowed.\\ 0 - not allowed\\ 1 - allowed\\ This parameter is deprecated, use AllowKey=system.run[*] or DenyKey=system.run[*] instead. |
-| HostInterface| no | 0-255 characters | |Optional parameter that defines host interface.\\ Host interface is used at host auto-registration ​process.\\ An agent will issue an error and not start if the value is over the limit of 255 characters.\\ If not defined, value will be acquired from HostInterfaceItem.\\ Supported since Zabbix 4.4.0. ​ | +| HostInterface| no | 0-255 characters | |Optional parameter that defines host interface.\\ Host interface is used at host autoregistration ​process.\\ An agent will issue an error and not start if the value is over the limit of 255 characters.\\ If not defined, value will be acquired from HostInterfaceItem.\\ Supported since Zabbix 4.4.0. ​ | 
-| HostInterfaceItem| no | | |Optional parameter that defines an item used for getting host interface.\\ Host interface is used at host auto-registration ​process.\\ During an auto-registration ​request an agent will log a warning message if the value returned by specified item is over limit of 255 characters.\\ This option is only used when HostInterface is not defined.\\ Supported since Zabbix 4.4.0. ​ | +| HostInterfaceItem| no | | |Optional parameter that defines an item used for getting host interface.\\ Host interface is used at host autoregistration ​process.\\ During an autoregistration ​request an agent will log a warning message if the value returned by specified item is over limit of 255 characters.\\ This option is only used when HostInterface is not defined.\\ Supported since Zabbix 4.4.0. ​ | 
-| HostMetadata| no | 0-255 characters| | Optional parameter that defines host metadata. Host metadata is used only at host auto-registration ​process (active agent).\\ If not defined, the value will be acquired from HostMetadataItem.\\ An agent will issue an error and not start if the specified value is over the limit or a non-UTF-8 string.\\ This option is supported in version 2.2.0 and higher.| +| HostMetadata| no | 0-255 characters| | Optional parameter that defines host metadata. Host metadata is used only at host autoregistration ​process (active agent).\\ If not defined, the value will be acquired from HostMetadataItem.\\ An agent will issue an error and not start if the specified value is over the limit or a non-UTF-8 string.\\ This option is supported in version 2.2.0 and higher.| 
-| HostMetadataItem| no | | | Optional parameter that defines a //Zabbix agent// item used for getting host metadata. This option is only used when HostMetadata is not defined.\\ Supports UserParameters,​ performance counters and aliases. Supports //​system.run[]//​ regardless of //​EnableRemoteCommands//​ value.\\ HostMetadataItem value is retrieved on each auto-registration ​attempt and is used only at host auto-registration ​process (active agent).\\ During an auto-registration ​request an agent will log a warning message if the value returned by the specified item is over the limit of 255 characters.\\ The value returned by the item must be a UTF-8 string otherwise it will be ignored.\\ This option is supported in version 2.2.0 and higher.|+| HostMetadataItem| no | | | Optional parameter that defines a //Zabbix agent// item used for getting host metadata. This option is only used when HostMetadata is not defined.\\ Supports UserParameters,​ performance counters and aliases. Supports //​system.run[]//​ regardless of //​EnableRemoteCommands//​ value.\\ HostMetadataItem value is retrieved on each autoregistration ​attempt and is used only at host autoregistration ​process (active agent).\\ During an autoregistration ​request an agent will log a warning message if the value returned by the specified item is over the limit of 255 characters.\\ The value returned by the item must be a UTF-8 string otherwise it will be ignored.\\ This option is supported in version 2.2.0 and higher.|
 | Hostname| no | |Set by HostnameItem |Unique, case sensitive hostname.\\ Required for active checks and must match hostname as configured on the server.\\ Allowed characters: alphanumeric,​ '​.',​ ' ', '​_'​ and '​-'​.\\ Maximum length: 128| | Hostname| no | |Set by HostnameItem |Unique, case sensitive hostname.\\ Required for active checks and must match hostname as configured on the server.\\ Allowed characters: alphanumeric,​ '​.',​ ' ', '​_'​ and '​-'​.\\ Maximum length: 128|
 | HostnameItem| no | |system.hostname |Optional parameter that defines a //Zabbix agent// item used for getting host name. This option is only used when Hostname is not defined.\\ Does not support UserParameters,​ performance counters or aliases, but does support //​system.run[]//​ regardless of //​EnableRemoteCommands//​ value.\\ This option is supported in version 1.8.6 and higher. \\ See also a [[manual:​appendix:​install:​windows_agent#​configuration|more detailed description]]. ​ | | HostnameItem| no | |system.hostname |Optional parameter that defines a //Zabbix agent// item used for getting host name. This option is only used when Hostname is not defined.\\ Does not support UserParameters,​ performance counters or aliases, but does support //​system.run[]//​ regardless of //​EnableRemoteCommands//​ value.\\ This option is supported in version 1.8.6 and higher. \\ See also a [[manual:​appendix:​install:​windows_agent#​configuration|more detailed description]]. ​ |
Line 49: Line 55:
  
 <​note>​ (*) The number of active servers listed in ServerActive plus the number of pre-forked instances for passive checks specified in StartAgents must be less than 64.</​note>​ <​note>​ (*) The number of active servers listed in ServerActive plus the number of pre-forked instances for passive checks specified in StartAgents must be less than 64.</​note>​
- 
-<​note>​In Zabbix agent 2.0.0 version configuration parameters related to active and passive checks have been changed.\\ See the [[#​see_also|"​See also"​]] section at the bottom of this page to read more details about these changes.</​note>​ 
- 
-<​note>​Zabbix supports configuration files only in UTF-8 encoding without [[https://​en.wikipedia.org/​wiki/​Byte_order_mark|BOM]].\\ \\  Comments starting with "#"​ are only supported in the beginning of the line.</​note>​ 
  
 ==== See also ==== ==== See also ====
   - [[http://​blog.zabbix.com/​multiple-servers-for-active-agent-sure/​858|Differences in the Zabbix agent configuration for active and passive checks starting from version 2.0.0]].   - [[http://​blog.zabbix.com/​multiple-servers-for-active-agent-sure/​858|Differences in the Zabbix agent configuration for active and passive checks starting from version 2.0.0]].