Zabbix Documentation 3.4

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:itemtypes:external

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
manual:config:items:itemtypes:external [2017/10/10 06:15]
martins-v removing redundant word
manual:config:items:itemtypes:external [2017/10/11 05:25] (current)
martins-v exit codes normally are not checked
Line 36: Line 36:
  
 The return value of the check is standard output together with standard error (the full output with trimmed trailing whitespace is returned since Zabbix 2.0).  The return value of the check is standard output together with standard error (the full output with trimmed trailing whitespace is returned since Zabbix 2.0). 
- 
-Note that in Zabbix versions 3.4.0-3.4.2 the exit code is also [[:​manual/​appendix/​command_execution#​exit_code_checking|checked]] for execution result. In these versions, the item will become unsupported if the execution exit code does not match 0 (zero). 
  
 <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>​
 +
 +The exit code is not checked.
 +
 +Note that in Zabbix versions 3.4.0-3.4.2 the exit code is checked for execution result. In these versions, the item will become unsupported if the execution exit code does not match 0 (zero).
  
 In case the requested script is not found or Zabbix server has no permissions to execute it, the item will become unsupported and corresponding error message will be set. In case of a timeout, the item will be marked as unsupported as well, an according error message will be displayed and the forked process for the script will be killed. In case the requested script is not found or Zabbix server has no permissions to execute it, the item will become unsupported and corresponding error message will be set. In case of a timeout, the item will be marked as unsupported as well, an according error message will be displayed and the forked process for the script will be killed.