mirror of
https://github.com/kemko/keenetic-grafana-monitoring.git
synced 2026-01-01 15:45:43 +03:00
Add Grafana dashboard
This commit is contained in:
20
README.md
20
README.md
@@ -8,6 +8,8 @@
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
# Build from sources
|
# Build from sources
|
||||||
|
|
||||||
`docker build -t keenetic-grafana-monitoring .`
|
`docker build -t keenetic-grafana-monitoring .`
|
||||||
@@ -28,6 +30,8 @@
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
* Copy [metrics.json](./blob/master/config/metrics.json) and edit (Optional)
|
||||||
|
|
||||||
* Expose Keenetic API on your router
|
* Expose Keenetic API on your router
|
||||||
|
|
||||||
For doing this add port forwarding (Network rules -> Forwarding):
|
For doing this add port forwarding (Network rules -> Forwarding):
|
||||||
@@ -40,9 +44,23 @@ Open the port: 79
|
|||||||
Destination port: 79
|
Destination port: 79
|
||||||
```
|
```
|
||||||
|
|
||||||
|
* Import Grafana dashboard from [grafana-dashboard.json](./blob/master/config/grafana-dashboard.json)
|
||||||
|
|
||||||
# Run with docker-compose.yml
|
# Run with docker-compose.yml
|
||||||
|
|
||||||
```
|
```
|
||||||
|
---
|
||||||
|
version: '3.7'
|
||||||
|
services:
|
||||||
|
keenetic-grafana-monitoring:
|
||||||
|
image: techh/keenetic-grafana-monitoring:1.0.0
|
||||||
|
container_name: keenetic-grafana-monitoring
|
||||||
|
# environment:
|
||||||
|
# - TZ=Europe/Kiev
|
||||||
|
volumes:
|
||||||
|
- ./config/influx.json:/home/config/influx.json
|
||||||
|
- ./config/metrics.json:/home/config/metrics.json
|
||||||
|
restart: always
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ services:
|
|||||||
keenetic-grafana-monitoring:
|
keenetic-grafana-monitoring:
|
||||||
build: .
|
build: .
|
||||||
container_name: keenetic-grafana-monitoring
|
container_name: keenetic-grafana-monitoring
|
||||||
environment:
|
# environment:
|
||||||
- TZ=Europe/Kiev
|
# - TZ=Europe/Kiev
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/influx.json:/home/config/influx.json
|
- ./config/influx.json:/home/config/influx.json
|
||||||
- ./config/metrics.json:/home/config/metrics.json
|
- ./config/metrics.json:/home/config/metrics.json
|
||||||
|
|||||||
2305
grafana-dashboard.json
Normal file
2305
grafana-dashboard.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user