2017-11-09 06:00:49 -06:00
|
|
|
source: Extensions/Dashboards.md
|
2018-10-27 23:04:34 +01:00
|
|
|
path: blob/master/doc/
|
2017-11-09 06:00:49 -06:00
|
|
|
|
|
|
|
# Dashboards
|
2019-09-09 05:48:35 -05:00
|
|
|
|
|
|
|
Create customised dashboards in LibreNMS per user. You can share
|
|
|
|
dashboards with other users. You can also make a custom dashboard and
|
2017-11-09 06:00:49 -06:00
|
|
|
default it for all users in LibreNMS.
|
|
|
|
|
|
|
|
Example Dashboard
|
|
|
|

|
|
|
|
|
2019-09-09 05:48:35 -05:00
|
|
|
## Widgets
|
|
|
|
|
|
|
|
LibreNMS has a whole list of Widgets to select from.
|
|
|
|
|
|
|
|
- Alerts Widget: Displays all alert notifications.
|
|
|
|
- Availability Map: Displays all devices with colored tiles, green up,
|
2021-06-17 03:16:21 +08:00
|
|
|
yellow for warning (device has been restarted in last 24 hours), red
|
2019-09-09 05:48:35 -05:00
|
|
|
for down. You can also list all services and ignored/disabled
|
2020-12-30 09:38:14 -05:00
|
|
|
devices in this widget.
|
|
|
|
- Components Status: List all components Ok state, Warning state, Critical state.
|
2019-09-09 05:48:35 -05:00
|
|
|
- Device Summary horizontal: List device totals, up, down, ignored,
|
|
|
|
disabled. Same for ports and services.
|
|
|
|
- Device Summary vertical: List device totals, up, down, ignored,
|
|
|
|
disabled. Same for ports and services.
|
|
|
|
- Eventlog: Displays all events with your devices and LibreNMS.
|
|
|
|
- External Image: can be used to show external images on your
|
|
|
|
dashboard. Or images from inside LibreNMS.
|
|
|
|
- Globe Map: Will display map of the globe.
|
|
|
|
- Graph: Can be used to display graphs from devices.
|
|
|
|
- Graylog: Displays all Graylog's syslog entries.
|
|
|
|
- Notes: use for html tags, embed links and external web pages. Or
|
|
|
|
just notes in general.
|
|
|
|
- Server Stats: Will display gauges for CPU, Memory, Storage
|
|
|
|
usage. Note the device type has to be listed as "Server".
|
|
|
|
- Syslog: Displays all syslog entries.
|
|
|
|
- Top Devices: By Traffic, or Uptime, or Response time, or Poller
|
2020-12-30 09:38:14 -05:00
|
|
|
Duration, or Processor load, or Memory Usage, or Storage Usage.
|
2019-09-09 05:48:35 -05:00
|
|
|
- Top Interfaces: Lists top interfaces by traffic utilization.
|
2020-12-30 09:38:14 -05:00
|
|
|
- World Map: displays all your devices locations. From syslocation or
|
2019-09-09 05:48:35 -05:00
|
|
|
from override sysLocation.
|
|
|
|
|
|
|
|
List of Widgets:
|
2017-11-09 09:06:37 -06:00
|
|
|
|
2021-06-17 03:16:21 +08:00
|
|
|
![List of Widgets][image of widgets]
|
2017-11-09 09:06:37 -06:00
|
|
|
[image of widgets]: /img/list-widgets.png "List of the widgets"
|
|
|
|
|
2019-09-09 05:48:35 -05:00
|
|
|
## Dashboard Permissions
|
2017-11-09 06:00:49 -06:00
|
|
|
|
2020-12-30 09:38:14 -05:00
|
|
|
- Private: Sets the dashboard to only the user that created the
|
2019-09-09 05:48:35 -05:00
|
|
|
dashboard can view and edit.
|
|
|
|
- Shared Read: Sets the dashboard to allow other users to view the
|
|
|
|
dashboard, but cant make changes to the dashboard.
|
2017-11-09 06:00:49 -06:00
|
|
|
- Shared: Allows all users to view the dashboard and make changes.
|
|
|
|
|
2019-09-09 05:48:35 -05:00
|
|
|
## Setting a global default dashboard
|
2017-12-23 13:30:33 -06:00
|
|
|
|
2019-09-09 05:48:35 -05:00
|
|
|
Step 1: Set the dashboard to either shared read or shared, depending
|
|
|
|
on what you want the users access to change.
|
2017-12-23 13:30:33 -06:00
|
|
|
|
2019-09-09 05:48:35 -05:00
|
|
|
Step 2: Then go to Settings -> WebUI settings -> Dashboard Settings
|
|
|
|
and set the global default dashboard.
|
2017-11-09 06:00:49 -06:00
|
|
|
|
2019-09-09 05:48:35 -05:00
|
|
|
## Setting embeded webpage
|
2017-12-23 13:30:33 -06:00
|
|
|
|
2017-11-09 06:00:49 -06:00
|
|
|
Using the Notes Widget.
|
2019-09-09 05:48:35 -05:00
|
|
|
|
2017-11-09 06:00:49 -06:00
|
|
|
```html
|
2018-02-08 10:32:01 -06:00
|
|
|
<iframe src="your_url" frameBorder="0" width="100%" height = "100%">
|
2017-11-09 06:00:49 -06:00
|
|
|
<p>Your browser does not support iframes.</p>
|
|
|
|
</iframe>
|
|
|
|
```
|
2019-09-09 05:48:35 -05:00
|
|
|
|
2017-11-09 06:00:49 -06:00
|
|
|
Note you may need to play with the width and height and also size your widget properly.
|
2019-09-09 05:48:35 -05:00
|
|
|
|
2021-04-09 02:11:03 -07:00
|
|
|
``` src="url" ``` needs to be URL to webpage you are linking to.
|
|
|
|
Also some web pages may not support html embedded or iframe.
|
2017-11-09 06:00:49 -06:00
|
|
|

|
|
|
|
|
2019-09-09 05:48:35 -05:00
|
|
|
## How to create ports graph
|
2017-12-23 13:30:33 -06:00
|
|
|
|
|
|
|
In the dashboard, you want to create an interface graph select the widget called
|
|
|
|
|
2021-06-17 03:16:21 +08:00
|
|
|
'Graph' then select "Port" -> "Bits"
|
2017-11-16 13:56:31 -06:00
|
|
|

|
2017-11-09 06:00:49 -06:00
|
|
|
|
2019-09-09 05:48:35 -05:00
|
|
|
Note: you can map the port by description or the alias or by port
|
|
|
|
id. You will need to know this in order to map the port to the graph.
|
2017-11-09 06:00:49 -06:00
|
|
|
|
2017-11-16 13:56:31 -06:00
|
|
|

|
2018-03-01 23:12:46 +01:00
|
|
|
|
2019-09-09 05:48:35 -05:00
|
|
|
## Dimension parameter replacement for Generic-image widget
|
2018-03-01 23:12:46 +01:00
|
|
|
|
2019-09-09 05:48:35 -05:00
|
|
|
When using the Generic-image widget you can provide the width and
|
|
|
|
height of the widget with your request. This will ensure that the
|
|
|
|
image will fit nicely with the dimensions if the Generic-image widget.
|
2020-12-30 09:38:14 -05:00
|
|
|
You can add `@AUTO_HEIGHT@` and `@AUTO_WIDTH@` to the Image URL as parameters.
|
2018-03-13 12:17:30 +01:00
|
|
|
|
2019-09-09 05:48:35 -05:00
|
|
|
Examples:
|
|
|
|
|
|
|
|
- <http://librenms.example.com/graph.php?id=333%2C444&type=multiport_bits_separate&legend=no&absolute=1&from=-14200&width=@AUTO_WIDTH@&height=@AUTO_HEIGHT@>
|
|
|
|
- <http://example.com/myimage.php?size=@AUTO_WIDTH@x@AUTO_HEIGHT@>
|