mirror of
https://github.com/ItsDrike/network-monitor.git
synced 2024-12-26 05:54:34 +00:00
Minor fixes
This commit is contained in:
parent
da62c947ca
commit
7cb4e3d8aa
|
@ -1,4 +1,3 @@
|
||||||
---
|
|
||||||
modules:
|
modules:
|
||||||
http_2xx:
|
http_2xx:
|
||||||
prober: http
|
prober: http
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
---
|
|
||||||
version: "3.1"
|
version: "3.1"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
GF_SECURITY_ADMIN_PASSWORD=rNwyUT8u*J8Wd$dRLh
|
GF_SECURITY_ADMIN_PASSWORD=admin
|
||||||
GF_USERS_ALLOW_SIGN_UP=false
|
GF_USERS_ALLOW_SIGN_UP=false
|
||||||
GF_INSTALL_PLUGINS=flant-statusmap-panel,ae3e-plotly-panel
|
GF_INSTALL_PLUGINS=flant-statusmap-panel,ae3e-plotly-panel
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
---
|
|
||||||
apiVersion: 1
|
apiVersion: 1
|
||||||
|
|
||||||
# list of datasources that should be deleted from the database
|
# list of datasources that should be deleted from the database
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
- targets: # url;humanname;routing;switch
|
- targets: # url;humanname;routing;switch
|
||||||
- http://google.com/;google.com
|
- http://google.com/;Google;external
|
||||||
- https://github.com/;github.com
|
- https://github.com/;GitHub;external
|
||||||
|
|
|
@ -31,13 +31,17 @@ scrape_configs:
|
||||||
- pinghosts.yaml
|
- pinghosts.yaml
|
||||||
relabel_configs:
|
relabel_configs:
|
||||||
- source_labels: [__address__]
|
- source_labels: [__address__]
|
||||||
regex: '(.*);(.*)' # first is the url, thus unique for instance
|
regex: '(.*);(.*);(.*)' # first is the url, thus unique for instance
|
||||||
target_label: instance
|
target_label: instance
|
||||||
replacement: $1
|
replacement: $1
|
||||||
- source_labels: [__address__]
|
- source_labels: [__address__]
|
||||||
regex: '(.*);(.*)' # second is humanname to use in charts
|
regex: '(.*);(.*);(.*)' # second is humanname to use in charts
|
||||||
target_label: humanname
|
target_label: humanname
|
||||||
replacement: $2
|
replacement: $2
|
||||||
|
- source_labels: [__address__]
|
||||||
|
regex: '(.*);(.*);(.*)' # third specifies external or internal network
|
||||||
|
target_label: routing
|
||||||
|
replacement: $3
|
||||||
- source_labels: [instance]
|
- source_labels: [instance]
|
||||||
target_label: __param_target
|
target_label: __param_target
|
||||||
- target_label: __address__
|
- target_label: __address__
|
||||||
|
|
Loading…
Reference in a new issue