securing grafana, adding more fixes

This commit is contained in:
seba
2018-06-17 13:05:55 +02:00
parent 0d34d60b40
commit b6bc290f99
8 changed files with 2244 additions and 28 deletions

View File

@ -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() {

View File

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

File diff suppressed because it is too large Load Diff