2 lines
196 B
Plaintext
2 lines
196 B
Plaintext
mongo admin --eval "printjson(db.serverStatus())" -u admin --password $(python -c "import yaml; f=open('/etc/astute.yaml', 'r'); y=yaml.load(f); f.close(); print(y['ceilometer']['db_password'])")
|