Zabbix Documentation 5.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:api:reference:action:object

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
manual:api:reference:action:object [2020/01/28 15:19]
marinagen replaced acknowledge with update operations
manual:api:reference:action:object [2020/02/10 10:57] (current)
iivs removed "operationid" from operation message and operation command (ZBX-17177)
Line 43: Line 43:
  
 ^  Property ​ ^  Type  ^  Description ​ ^ ^  Property ​ ^  Type  ^  Description ​ ^
-| operationid | string | //​(readonly)//​ ID of the operation. | 
 | command ​ | string | Command to run. Required when type IN (0,1,2,3) | | command ​ | string | Command to run. Required when type IN (0,1,2,3) |
 | **type** \\ (required) | integer | Type of operation command. \\ \\ Possible values: \\ 0 - custom script; \\ 1 - IPMI; \\ 2 - SSH; \\ 3 - Telnet; \\ 4 - global script. | | **type** \\ (required) | integer | Type of operation command. \\ \\ Possible values: \\ 0 - custom script; \\ 1 - IPMI; \\ 2 - SSH; \\ 3 - Telnet; \\ 4 - global script. |
Line 60: Line 59:
  
 ^  Property ​ ^  Type  ^  Description ​ ^ ^  Property ​ ^  Type  ^  Description ​ ^
-| operationid | string | //​(readonly)//​ ID of the action operation. | 
 | default_msg | integer | Whether to use the default action message text and subject. \\ \\ Possible values: \\ 0 - use the data from the operation; \\ 1 - //​(default)//​ use the data from the media type. | | default_msg | integer | Whether to use the default action message text and subject. \\ \\ Possible values: \\ 0 - use the data from the operation; \\ 1 - //​(default)//​ use the data from the media type. |
 | mediatypeid | string | ID of the media type that will be used to send the message. | | mediatypeid | string | ID of the media type that will be used to send the message. |