summaryrefslogtreecommitdiffstats
path: root/modules/monitoring/doc/11-Add-Columns-List-Views.md
blob: 2567ead747691a55bf70ca7bf6a7b5c749ddf03c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Add Columns to List Views <a id="monitoring-module-add-columns-list-views"></a>

The monitoring module provides list views for hosts and services.
These lists only provide the most common columns to reduce the backend
query load.

If you want to add more columns to the list view e.g. in order to use the URL in
your dashboards or as external iframe integration, you need the `addColumns` URL
parameter.



Example for adding the host `address` attribute in a host list:

```
http://localhost/icingaweb2/monitoring/list/hosts?addColumns=host_address
```

![Screenshot](img/list_hosts_add_columns.png)




Example for multiple columns as comma separated parameter string. This
includes a reference to the Icinga 2 host object custom attribute `os` using
`_host_` as custom variable identifier.

```
http://localhost/icingaweb2/monitoring/list/services?addColumns=host_address,_host_os
```

![Screenshot](img/list_services_add_columns.png)