securing grafana, adding more fixes
This commit is contained in:
@ -19,7 +19,7 @@ LPURPLE='\033[01;35m'
|
||||
LCYAN='\033[01;36m'
|
||||
WHITE='\033[01;37m'
|
||||
|
||||
GRAFANA_URL=http://admin:admin@localhost:3000
|
||||
GRAFANA_URL=http://admin:nimda321@localhost:3000
|
||||
|
||||
|
||||
grafana_api() {
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
# ADD INFLUXDB DATASOURCE
|
||||
curl -s -H "Content-Type: application/json" \
|
||||
-XPOST http://admin:admin@localhost:3000/api/datasources \
|
||||
-XPOST http://admin:nimda321@localhost:3000/api/datasources \
|
||||
-d @- <<EOF
|
||||
{
|
||||
"name": "influxdb",
|
||||
@ -12,14 +12,14 @@ curl -s -H "Content-Type: application/json" \
|
||||
"url": "http://influxdb:8086",
|
||||
"database": "telegraf",
|
||||
"user":"telegraf",
|
||||
"password":"nimda",
|
||||
"password":"nimda321",
|
||||
"basicAuth":false
|
||||
}
|
||||
EOF
|
||||
|
||||
## ADD PROMETHEUS DATASOURCE
|
||||
curl -s -H "Content-Type: application/json" \
|
||||
-XPOST http://admin:admin@localhost:3000/api/datasources \
|
||||
-XPOST http://admin:nimda321@localhost:3000/api/datasources \
|
||||
-d @- <<EOF
|
||||
{
|
||||
"name": "prometheus",
|
||||
|
2175
grafana/dashboards/docker_and_system_monitoring.json
Normal file
2175
grafana/dashboards/docker_and_system_monitoring.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user