Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

101 lines
3.8 KiB
Markdown
Raw Permalink Normal View History

# 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
default it for all users in LibreNMS.
Example Dashboard
![Example Dashboard](/img/example-dashboard.png)
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,
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:
![List of Widgets][image of widgets]
[image of widgets]: /img/list-widgets.png "List of the widgets"
2019-09-09 05:48:35 -05:00
## Dashboard Permissions
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.
- Shared: Allows all users to view the dashboard and make changes.
2019-09-09 05:48:35 -05:00
## Setting a global default dashboard
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.
2019-09-09 05:48:35 -05:00
Step 2: Then go to Settings -> WebUI settings -> Dashboard Settings
and set the global default dashboard.
2022-07-10 10:46:01 +01:00
## Setting embedded webpage
Using the Notes Widget.
2019-09-09 05:48:35 -05:00
```html
2018-02-08 10:32:01 -06:00
<iframe src="your_url" frameBorder="0" width="100%" height = "100%">
<p>Your browser does not support iframes.</p>
</iframe>
```
2019-09-09 05:48:35 -05: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.
![Example embed webpage](/img/example-embed-website.png)
2019-09-09 05:48:35 -05:00
## How to create ports graph
In the dashboard, you want to create an interface graph select the widget called
'Graph' then select "Port" -> "Bits"
![port-bits-graph](/img/port-bits-graph.png)
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.
![port-bits-graph](/img/port-bits-port.png)
2019-09-09 05:48:35 -05:00
## Dimension parameter replacement for Generic-image widget
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.
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@>