The following objects are directly related to the dashboard
API.
The dashboard object has the following properties:
Property | Type | Description |
---|---|---|
dashboardid | string | (readonly) ID of the dashboard. |
name (required) |
string | Name of the dashboard. |
userid | string | Dashboard owner user ID. |
private | integer | Type of dashboard sharing. Possible values: 0 - public dashboard; 1 - (default) private dashboard. |
The dashboard widget object has the following properties:
Property | Type | Description |
---|---|---|
widgetid | string | (readonly) ID of the dashboard widget. |
type (required) |
string | Type of the dashboard widget. Possible values: actlog - Action log; clock - Clock; dataover - Data overview; dscvry - Discovery status; favgrph - Favourite graphs; favmap - Favourite maps; favscr - Favourite screens; graph - Graph; hoststat - Host status; sysmap - Map; navigationtree - Map Navigation Tree; plaintext - Plain text; problems - Problems; stszbx - Status of Zabbix; syssum - System status; trigover - Trigger overview; url - URL; webovr - Web monitoring; |
name | string | Custom widget name. |
x | integer | A horizontal position from the left side of the dashboard. Valid values range from 0 to 11. |
y | integer | A vertical position from the top of the dashboard. Valid values range from 0 to 63. |
width | integer | The widget width. Valid values range from 1 to 12. |
height | integer | The widget height. Valid values range from 1 to 32. |
fields | array | Array of the dashboard widget field objects. |
The dashboard widget field object has the following properties:
Property | Type | Description |
---|---|---|
type (required) |
integer | Type of the widget field. Possible values: 0 - Integer; 1 - String; 2 - Host group; 3 - Host; 4 - Item; 6 - Graph; 8 - Map; |
name | string | Widget field name. |
value (required) |
mixed | Widget field value depending of type. |
List of dashboard permissions based on user groups. It has the following properties:
Property | Type | Description |
---|---|---|
usrgrpid (required) |
string | User group ID. |
permission (required) |
integer | Type of permission level. Possible values: 2 - read only; 3 - read-write; |
List of dashboard permissions based on users. It has the following properties:
Property | Type | Description |
---|---|---|
userid (required) |
string | User ID. |
permission (required) |
integer | Type of permission level. Possible values: 2 - read only; 3 - read-write; |