mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
Add documentation for addColumns in host/service list views
fixes #2579
This commit is contained in:
parent
34bd8e14c3
commit
36b5c949fd
@ -7,3 +7,4 @@ Please read the following chapters for more insights on this module:
|
|||||||
* [Security](06-Security.md#monitoring-module-security)
|
* [Security](06-Security.md#monitoring-module-security)
|
||||||
* [Restrict Custom Variables](10-Restrict-Custom-Variables.md#monitoring-module-restrict-access-custom-variables)
|
* [Restrict Custom Variables](10-Restrict-Custom-Variables.md#monitoring-module-restrict-access-custom-variables)
|
||||||
* [Hooks](20-Hooks.md#monitoring-module-hooks)
|
* [Hooks](20-Hooks.md#monitoring-module-hooks)
|
||||||
|
* [Add Columns to List Views](11-Add-Columns-List-Views.md#monitoring-module-add-columns-list-views)
|
||||||
|
32
modules/monitoring/doc/11-Add-Columns-List-Views.md
Normal file
32
modules/monitoring/doc/11-Add-Columns-List-Views.md
Normal file
@ -0,0 +1,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
|
||||||
|
```
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
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
|
||||||
|
```
|
||||||
|
|
||||||
|

|
BIN
modules/monitoring/doc/img/list_hosts_add_columns.png
Normal file
BIN
modules/monitoring/doc/img/list_hosts_add_columns.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 184 KiB |
BIN
modules/monitoring/doc/img/list_services_add_columns.png
Normal file
BIN
modules/monitoring/doc/img/list_services_add_columns.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 205 KiB |
Loading…
x
Reference in New Issue
Block a user