2 Ceph configuration query tool
5 ceph-conf <flags> <action>
8 -L|--list-all-sections List all sections
9 -l|--list-sections <prefix> List sections with the given prefix
10 --filter-key <key> Filter section list to only include sections
11 with given key defined.
12 --filter-key-value <key>=<val> Filter section list to only include sections
13 with given key/value pair.
14 --lookup <key> Print a configuration setting to stdout.
15 Returns 0 (success) if the configuration setting is
17 -r|--resolve-search search for the first file that exists and
18 can be opened in the resulted comma
19 delimited search list.
22 --name name Set type.id
23 [-s <section>] Add to list of sections to search
25 If there is no action given, the action will default to --lookup.
28 [$] ceph-conf --name mon.0 -c /etc/ceph/ceph.conf 'mon addr' (re)
29 Find out what the value of 'mon addr' is for monitor 0.
31 [$] ceph-conf -l mon (re)
32 List sections beginning with 'mon'.
35 Return code will be 0 on success; error code otherwise.