The parameters supported in a Zabbix agent (UNIX, Inetd version) configuration file:
Parameter | Mandatory | Default value | Description |
---|---|---|---|
Alias | no | Sets an alias for an item key. It can be used to substitute long and complex item key with a smaller and simpler one. Multiple Alias parameters may be present. Multiple parameters with the same Alias key are not allowed. Different Alias keys may reference the same item key. For example, to retrieve the ID of user 'zabbix': Alias=zabbix.userid:vfs.file.regexp[/etc/passwd,^zabbix:.:([0-9]+),,,,\1] Now shorthand key zabbix.userid may be used to retrieve data. |
|
Include | no | You may include individual files or all files in a directory in the configuration file. See special notes about limitations. | |
Server | yes | - | Comma-delimited list of IP addresses of ZABBIX Servers or Proxies. Connections from other IP addresses will be rejected. |
Timeout | no | 3 | Do not spend more than Timeout seconds on getting requested value (1-255). The agent does not kill timeouted User Parameters processes! |
UnsafeUserParameters | no | 0 | Allow all characters to be passed in arguments to user-defined parameters |
UserParameter | no | User-defined parameter to monitor. There can be several user-defined parameters. Format: UserParameter=<key>,<shell command> Note that shell command must not return empty string or EOL only. Example: UserParameter=system.test,who|wc -l |