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:appendix:command_execution

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:command_execution [2017/10/10 11:20]
vso updated command execution to better reflect what is happenning
manual:appendix:command_execution [2017/10/10 14:42] (current)
martins-v more links to additional info about various command options
Line 26: Line 26:
   *Any exit code that is different from 0 is considered as execution failure.   *Any exit code that is different from 0 is considered as execution failure.
   *Contents of standard error and standard output for failed executions are collected and available in frontend (where execution result is displayed).   *Contents of standard error and standard output for failed executions are collected and available in frontend (where execution result is displayed).
-  *Additional log entry is created for remote commands on Zabbix server to save script execution output and can be enabled using EnableRemoteCommands configuration ​parameter.+  *Additional log entry is created for remote commands on Zabbix server to save script execution output and can be enabled using LogRemoteCommands agent [[:​manual/​appendix/​config/​zabbix_agentd|parameter]].
  
 Possible frontend messages and log entries for failed commands/​scripts:​ Possible frontend messages and log entries for failed commands/​scripts:​
   * Contents of standard error and standard output for failed executions (if any).   * Contents of standard error and standard output for failed executions (if any).
-  * Process exited with code: N.” (for empty output, and exit code not equal to 0). +  * %%"%%Process exited with code: N.%%"​%% ​(for empty output, and exit code not equal to 0). 
-  * Process killed by signal: N.” (for process terminated by a signal, on Linux only). +  * %%"%%Process killed by signal: N.%%"​%% ​(for process terminated by a signal, on Linux only). 
-  * Process terminated unexpectedly.” (for process terminated for unknown reasons).+  * %%"%%Process terminated unexpectedly.%%"​%% ​(for process terminated for unknown reasons).
  
 ---- ----
  
-Read more about [[manual:config:items:​userparameters|user parameters]][[manual:​config:​notifications:​action:​operation:remote_command|remote ​commands]][[manual:​config:notifications:​media:​script|alert scripts]].+Read more about
 + 
 +  * [[:manual/config/items/​itemtypes/​external#​external_check_result|External checks]] 
 +  * [[:manual/​config/​items/​userparameters|User parameters]] 
 +  * [[:manual/config/​items/​itemtypes/​zabbix_agent|system.run]] items 
 +  * [[:manual/​config/​notifications/​media/​script|Custom alert scripts]] 
 +  * [[:manual/​config/​notifications/​action:​operation/remote_command|Remote ​commands]] 
 +  * [[:manual/​web_interface/​frontend_sections/​administration/​scripts|Global ​scripts]]