Commit edc40d9f authored by k.elaammari's avatar k.elaammari
Browse files

changed default passwords

parent 973e8740
......@@ -7,7 +7,7 @@
"basicAuth": false,
"database": "prom",
"user": "grafana",
"password": "longpassword",
"password": "default",
"jsonData": {
"httpMode": "POST",
"keepCookies": [],
......
{
"oldPassword": "admin",
"newPassword": "init",
"confirmNew": "init"
"newPassword": "default",
"confirmNew": "default"
}
\ No newline at end of file
......@@ -2,5 +2,5 @@
"name":"view",
"email":"view@view.com",
"login":"view",
"password":"init"
"password":"default"
}
\ No newline at end of file
......@@ -4,11 +4,11 @@ q=CREATE DATABASE prom
q=GRANT ALL ON prom TO admin
q=CREATE USER prometheus WITH PASSWORD 'longpassword'
q=CREATE USER prometheus WITH PASSWORD 'default'
q=GRANT WRITE ON prom TO prometheus
q=CREATE USER grafana WITH PASSWORD 'longpassword'
q=CREATE USER grafana WITH PASSWORD 'default'
q=GRANT READ ON prom TO grafana
......
......@@ -12,7 +12,7 @@ queries="$provision/config/setup.queries"
# Here you can set the initial admin credentials
name=admin
password=test
password=default
echo "Query: CREATE USER $name WITH PASSWORD '$password' WITH ALL PRIVILEGES"
curl -XPOST https://localhost:8086/query --cacert $cacertpath -u "$name:$password" --data "q=CREATE USER $name WITH PASSWORD '$password' WITH ALL PRIVILEGES" -H "Content-Type: application/x-www-form-urlencoded" 2> /dev/null
......
......@@ -38,7 +38,7 @@ remote_write:
- url: "https://10.0.0.98:8086/api/v1/prom/write?db=prom"
basic_auth:
username: 'prometheus'
password: 'longpassword'
password: 'default'
tls_config:
ca_file: "/var/lib/prometheus/https/cacert.pem"
insecure_skip_verify: false
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment