mirror of
https://github.com/IgorKha/Grafana-Mikrotik.git
synced 2025-12-06 02:19:28 +00:00
Create README.md
This commit is contained in:
parent
4f32698dc5
commit
e5c7e75f8b
1 changed files with 25 additions and 0 deletions
25
README.md
Normal file
25
README.md
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# Grafana-Mikrotik
|
||||
Grafana dashboard for Mikrotik/routerOS. Prometheus/SNMP
|
||||
|
||||
1. add into prometheus.yml
|
||||
```yml
|
||||
- job_name: Mikrotik
|
||||
static_configs:
|
||||
- targets:
|
||||
- 0.0.0.0 # SNMP device IP.
|
||||
metrics_path: /snmp
|
||||
params:
|
||||
module: [mikrotik]
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: localhost:9116 # The SNMP exporter's real hostname:port.
|
||||
```
|
||||
2. Configure Prometheus and run /snmp/snmp_exporter
|
||||
3. Add dashboard
|
||||
|
||||

|
||||

|
||||
Loading…
Add table
Add a link
Reference in a new issue