Minor fixes

This commit is contained in:
ItsDrike 2021-07-05 16:03:52 +02:00
parent da62c947ca
commit 7cb4e3d8aa
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD
6 changed files with 9 additions and 8 deletions

View file

@ -1,4 +1,3 @@
---
modules: modules:
http_2xx: http_2xx:
prober: http prober: http

View file

@ -1,4 +1,3 @@
---
version: "3.1" version: "3.1"
volumes: volumes:

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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__