manual:api:reference:discoveryrule: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:discoveryrule:object [2021/07/14 06:59]
martins-v fixing typo
manual:api:reference:discoveryrule:object [2021/07/14 07:39] (current)
martins-v fixing typo
Line 25: Line 25:
 | lifetime | string | Time period after which items that are no longer discovered will be deleted. Accepts seconds, time unit with suffix and user macro. \\ \\ Default: ''​30d''​. | | lifetime | string | Time period after which items that are no longer discovered will be deleted. Accepts seconds, time unit with suffix and user macro. \\ \\ Default: ''​30d''​. |
 | master_itemid | integer | Master item ID. \\ Recursion up to 3 dependent items and maximum count of dependent items equal to 999 are allowed. \\ Discovery rule cannot be master item for another discovery rule. \\ \\ Required for  Dependent item. | | master_itemid | integer | Master item ID. \\ Recursion up to 3 dependent items and maximum count of dependent items equal to 999 are allowed. \\ Discovery rule cannot be master item for another discovery rule. \\ \\ Required for  Dependent item. |
-| output_format | integer | HTTP agent LLD rule field. Should response converted to JSON.\\ \\ 0 - //​(default)//​ Store raw. \\ 1 - Convert to JSON. |+| output_format | integer | HTTP agent LLD rule field. Should response ​be converted to JSON.\\ \\ 0 - //​(default)//​ Store raw. \\ 1 - Convert to JSON. |
 | params | string | Additional parameters depending on the type of the LLD rule: \\ - executed script for SSH and Telnet LLD rules; \\ - SQL query for database monitor LLD rules; \\ - formula for calculated LLD rules. | | params | string | Additional parameters depending on the type of the LLD rule: \\ - executed script for SSH and Telnet LLD rules; \\ - SQL query for database monitor LLD rules; \\ - formula for calculated LLD rules. |
 | parameters | array | Additional parameters for script type LLD rule. Array of objects with '​name'​ and '​value'​ properties, where name must be unique. | | parameters | array | Additional parameters for script type LLD rule. Array of objects with '​name'​ and '​value'​ properties, where name must be unique. |