mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-26 10:15:14 +00:00
Duplicate website/docs/applications/monitoring/stats.md history in roles/stats/docs/ history.
This commit is contained in:
parent
a8ddd3f980
commit
009b4d3ded
1 changed files with 15 additions and 0 deletions
15
roles/stats/docs/stats.md
Normal file
15
roles/stats/docs/stats.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
title: "Stats"
|
||||
---
|
||||
|
||||
The stats role uses Prometheus, Grafana, Telegraf and a number of metrics exporters to collect and record lots of metrics about your NAS.
|
||||
|
||||
Telegraf also exposes an InfluxDB endpoint for applications that require it.
|
||||
|
||||
## Usage
|
||||
|
||||
Set `stats_enabled: true` in your `inventories/<your_inventory>/nas.yml` file. If you want to gather metrics on your internet connection, enable `stats_internet_speed_test_enabled` too.
|
||||
|
||||
If you want to access Grafana externally, set `stats_grafana_available_externally: true` in your `inventories/<your_inventory>/nas.yml` file. If you want to access Promethehus externally, set `stats_prometheus_available_externally: true` in your `inventories/<your_inventory>/nas.yml` file.
|
||||
|
||||
The Grafana web interface can be found at <http://ansible_nas_host_or_ip:3000>, Prometheus can be found at <http://ansible_nas_host_or_ip:9090>
|
Loading…
Reference in a new issue