changement nom compte monitoring
This commit is contained in:
parent
fef4fd0e53
commit
646c0cffca
|
@ -700,7 +700,7 @@ Si l'authentification est activée, il faut alors créer un compte. On peut util
|
||||||
> use admin
|
> use admin
|
||||||
> db.createUser(
|
> db.createUser(
|
||||||
{
|
{
|
||||||
user: "monitoring",
|
user: "mmongoMonitoring",
|
||||||
pwd: "PASS",
|
pwd: "PASS",
|
||||||
roles: [ "clusterMonitor" ]
|
roles: [ "clusterMonitor" ]
|
||||||
}
|
}
|
||||||
|
@ -724,7 +724,7 @@ Si l'authentification est activée, il faut alors créer un compte. On peut util
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
[mongo_*]
|
[mongo_*]
|
||||||
env.MONGO_DB_URI mongodb://monitoring:PASS@localhost:27017/admin
|
env.MONGO_DB_URI mongodb://mongoMonitoring:PASS@localhost:27017/admin
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
### NRPE : check_mongo
|
### NRPE : check_mongo
|
||||||
|
|
Loading…
Reference in a new issue