Host dashboard object

The following objects are directly related to the hostdashboard API.

Host dashboard

The host dashboard object has the following properties.

Property Type Description
hostid ID ID of the host the dashboard belongs to.
dashboardid ID ID of the template dashboard from which the host dashboard is inherited.
name string Name of the host dashboard.
display_period integer Default page display period (in seconds).

Possible values: 10, 30, 60, 120, 600, 1800, 3600.
auto_start integer Auto start slideshow.

Possible values:
0 - do not auto start slideshow.
1 - auto start slideshow.
templateid ID ID of the template from which the host dashboard is inherited.

Host dashboard page

The host dashboard page object has the following properties.

Property Type Description
dashboard_pageid ID ID of the dashboard page.
name string Dashboard page name.
display_period integer Dashboard page display period (in seconds).

Possible values: 0 (will use the default page display period), 10, 30, 60, 120, 600, 1800, 3600.
widgets array Array of the host dashboard widget objects.

Host dashboard widget

The host dashboard widget object has the following properties.

Property Type Description
widgetid ID ID of the dashboard widget.
type string Type of the dashboard widget.

Possible values:
actionlog - Action log;
clock - Clock;
discovery - Discovery status;
favgraphs - Favorite graphs;
favmaps - Favorite maps;
gauge - Gauge;
geomap - Geomap;
graph - Graph (classic);
graphprototype - Graph prototype;
honeycomb - Honeycomb;
hostavail - Host availability;
hostcard - Host card;
hostnavigator - Host navigator;
itemcard - Item card;
itemhistory - Item history;
itemnavigator - Item navigator;
item - Item value;
map - Map;
navtree - Map Navigation Tree;
piechart - Pie chart;
problemhosts - Problem hosts;
problems - Problems;
problemsbysv - Problems by severity;
scatterplot - Scatter plot;
slareport - SLA report;
svggraph - Graph;
systeminfo - System information;
tophosts - Top hosts;
topitems - Top items;
toptriggers - Top triggers;
trigover - Trigger overview;
url - URL;
web - Web monitoring.
name string Custom widget name.
x integer A horizontal position from the left side of the dashboard.

Possible values range from 0 to 71.
y integer A vertical position from the top of the dashboard.

Possible values range from 0 to 63.
width integer The widget width.

Possible values range from 1 to 72.
height integer The widget height.

Possible values range from 1 to 64.
view_mode integer The widget view mode.

Possible values:
0 - default widget view;
1 - with hidden header.
fields array Array of the host dashboard widget field objects.
Host dashboard widget field

The host dashboard widget field object has the following properties.

Property Type Description
type integer Type of the widget field.

Possible values:
0 - Integer;
1 - String;
4 - Item;
5 - Item prototype;
6 - Graph;
7 - Graph prototype;
8 - Map;
9 - Service;
10 - SLA;
11 - User;
12 - Action;
13 - Media type.
name string Widget field name.

Possible values: see Dashboard widget fields.
value mixed Widget field value depending on the type.

Possible values: see Dashboard widget fields.