Zabbix Documentation 2.4

3.04.04.45.0 (current)| In development:5.2 (devel)| Unsupported:1.82.02.22.43.23.44.2Guidelines

User Tools

Site Tools


manual:api:reference:hostprototype:object

Differences

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

Link to this comparison view

manual:api:reference:hostprototype:object [2014/09/25 14:43] (current)
sasha Page moved from 2.4:manual:api:reference:hostprototype:object to manual:api:reference:hostprototype:object
Line 1: Line 1:
 +===== > Host prototype object =====
  
 +The following objects are directly related to the ''​hostprototype''​ API.
 +
 +==== Host prototype ====
 +
 +The host prototype object has the following properties.
 +
 +^  Property ​ ^  Type  ^  Description ​ ^
 +| hostid ​ | string ​ | //​(readonly)//​ ID of the host prototype. ​ |
 +| **host** \\ (required) | string | Technical name of the host prototype. |
 +| name | string | Visible name of the host prototype. ​ \\ \\ Default: ''​host''​ property value. |
 +| status | integer | Status of the host prototype. \\ \\ Possible values are:\\ 0 - //​(default)//​ monitored host;\\ 1 - unmonitored host. |
 +| templateid | string | //​(readonly)//​ ID of the parent template host prototype. |
 +
 +==== Host prototype inventory ====
 +
 +The host prototype inventory object has the following properties. ​
 +
 +^  Property ​ ^  Type  ^  Description ​ ^
 +| inventory_mode | integer | Host prototype inventory population mode. \\ \\ Possible values are: \\ -1 - disabled; \\ 0 - //​(default)//​ manual; \\ 1 - automatic. |
 +
 +==== Group link ====
 +
 +The group link object links a host prototype with a host group and has the following properties.
 +
 +^  Property ​ ^  Type  ^  Description ​ ^
 +| group_prototypeid ​ | string ​ | //​(readonly)//​ ID of the group link.  |
 +| **groupid** \\ (required) | string | ID of the host group. |
 +| hostid | string | //​(readonly)//​ ID of the host prototype |
 +| templateid | string | //​(readonly)//​ ID of the parent template group link. |
 +
 +==== Group prototype ====
 +
 +The group prototype object defines a group that will be created for a discovered host and has the following properties.
 +
 +^  Property ​ ^  Type  ^  Description ​ ^
 +| group_prototypeid ​ | string ​ | //​(readonly)//​ ID of the group prototype. ​ |
 +| **name** \\ (required) | string | Name of the group prototype. |
 +| hostid | string | //​(readonly)//​ ID of the host prototype |
 +| templateid | string | //​(readonly)//​ ID of the parent template group prototype. |