Zabbix Documentation 4.2

2.23.04.04.2 (current)In development:4.4 (devel)Unsupported:1.82.02.43.23.4

User Tools

Site Tools


manual:config:items:userparameters

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:config:items:userparameters [2017/08/25 06:54]
martins-v removing auto numbering
manual:config:items:userparameters [2018/10/01 09:42] (current)
Line 15: Line 15:
 Then, when [[item|configuring an item]], enter the key to reference the command from the user parameter you want executed. Then, when [[item|configuring an item]], enter the key to reference the command from the user parameter you want executed.
  
-User parameters are commands executed by Zabbix agent. Up to 512KB of data can be returned. **/bin/sh** is used as a command line interpreter under UNIX operating systems. User parameters obey the agent check timeout; if timeout is reached the forked user parameter process is terminated.+User parameters are commands executed by Zabbix agent. Up to 512KB of data can be returned ​before item preprocessing stepsNote, however, that the text value that can be eventually stored in database is limited to 64KB on MySQL (see info on other databases in the [[:​manual/​config/​notifications/​action/​operation/​remote_command#​overview|table]]).  
 + 
 +**/bin/sh** is used as a command line interpreter under UNIX operating systems. User parameters obey the agent check timeout; if timeout is reached the forked user parameter process is terminated.
  
 See also: See also:
Line 85: Line 87:
 === Command result === === Command result ===
  
-The return value of the command is standard output together with standard error. Starting from Zabbix 3.4 exit code is also [[:​manual/​appendix/​command_execution#​exit_code_checking|checked]] for execution result.+The return value of the command is standard output together with standard error.
  
 <note important>​A text (character, log or text type of information) item will not become unsupported in case of standard error output.</​note>​ <note important>​A text (character, log or text type of information) item will not become unsupported in case of standard error output.</​note>​
  
-User parameters that return text (character, log, text type of information) can return whitespace. In case of invalid result ​or if execution exit code does not match 0 (zero) ​item will become unsupported.+User parameters that return text (character, log, text type of information) can return whitespace. In case of invalid result ​the item will become unsupported.