In this recipe, we will learn commands that are used to monitor the overall Ceph cluster.
Here is how we go about monitoring the Ceph cluster. The steps are explained topic-wise as follows.
To check the health of your cluster, use the ceph
command followed by health
as the command option:
# ceph health
The output of this command would be divided into several sections separated by a semicolon:
The first section of the output shows that your cluster is in the warning state, HEALTH_WARN
, as 64
placement groups (PGs) are degraded. The second section represents that 1408 PGs are not clean, and the third section of the output represents that cluster recovery is going on for 1 out of 5744 objects and the cluster is 0.017% degraded. If your cluster is healthy, you will receive the output as HEALTH_OK
.
To find out more details of your cluster health, use the ceph health detail
command. This command will tell you all the PGs that are...