Zabbix Documentation 2.0

3.04.04.4 (current)| In development:5.0 (devel)| Unsupported:1.82.02.22.43.23.44.2Guidelines

User Tools

Site Tools


manual:config:notifications:action:operation:remote_command

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:notifications:action:operation:remote_command [2014/09/26 11:31]
sasha Links adapted because of a move operation
manual:config:notifications:action:operation:remote_command [2017/02/14 11:18] (current)
martins-v 'value' is an optional parameter
Line 19: Line 19:
 <note important>​Remote commands are not supported to be executed on Zabbix agents monitored by Zabbix proxy, so for commands from Zabbix server to agent a direct connection is required.</​note>​ <note important>​Remote commands are not supported to be executed on Zabbix agents monitored by Zabbix proxy, so for commands from Zabbix server to agent a direct connection is required.</​note>​
  
-Remote commands are limited to 255 characters. Multiple commands can be executed one after another by placing them on new line. Remote commands may contain macros+Remote commands are limited to 255 characters. Multiple commands can be executed one after another by placing them on new line. Remote commands may contain macros. See also the [[:​manual/​appendix/​command_execution|command execution]] page.
  
-This tutorial provides step-by-step instructions on how to set up remote commands.+Remote commands are executed even if the target host is in maintenance. 
 + 
 +The following ​tutorial provides step-by-step instructions on how to set up remote commands.
  
 === Configuration === === Configuration ===
Line 69: Line 71:
  
 If the target system has multiple interfaces of the selected type (Zabbix agent or IPMI), remote commands will be executed on the default interface. If the target system has multiple interfaces of the selected type (Zabbix agent or IPMI), remote commands will be executed on the default interface.
 +
 +=== IPMI remote commands ===
 +
 +For IPMI remote commands the following syntax should be used:
 +
 +  <​command>​ [<​value>​]
 +
 +where
 +
 +  * <​command>​ - one of IPMI commands without spaces
 +  * <​value>​ - '​on',​ '​off'​ or any unsigned integer. <​value>​ is an optional parameter.
  
 === Examples === === Examples ===
Line 90: Line 103:
 |Operation type|'​Remote command'​| |Operation type|'​Remote command'​|
 |Type          |'​IPMI'​| |Type          |'​IPMI'​|
-|Command ​      ​|reset ​on|+|Command ​      ​|reset|
  
 ==Example 3== ==Example 3==