Configure Ceph for Pulse Monitoring
Configure your Ceph environment to enable Pulse to collect and display health, performance, capacity, object storage metrics, and logs from your Ceph cluster.
Pulse collects metrics from the Ceph Dashboard and log data from the Ceph log directory. To enable monitoring, configure the Ceph Dashboard, RADOS Gateway (RGW) credentials, logging, and, if applicable, the SSL certificate.
Before You Begin
Ensure that you have:
- Administrator access to the Ceph cluster.
- Access to the Ceph Dashboard.
- Permission to configure the Ceph Manager (MGR) module.
- The Ceph Dashboard certificate (dashboard.crt) if the Ceph Dashboard is configured to use SSL.
- If SSH access to the Ceph cluster is not available, you must deploy the Pulse agents manually on the Ceph nodes before configuring monitoring. For deployment instructions, see Install Agents Using the Offline Method (without SSH access).
Enable the Ceph Dashboard
Pulse uses the Ceph Dashboard to collect cluster health, capacity, performance, and RADOS Gateway (RGW) metrics.
Run the following command to enable the Ceph Dashboard:
ceph mgr module enable dashboardBy default, the Ceph Dashboard is available on:
- 8443 when SSL is enabled.
- 8080 when SSL is disabled.
Verify that the Ceph Dashboard is accessible.
Configure RGW API Credentials
The Ceph Dashboard requires RADOS Gateway (RGW) API credentials to access the Object Gateway Admin API endpoints. These credentials are associated with a system-managed RGW user (uid=dashboard) that Ceph creates and manages automatically.
If the Manager daemon is restarted, fails over to another node, or the dashboard RGW user is deleted, reapply the RGW credentials by running the following command:
ceph dashboard set-rgw-credentialsThis command creates or retrieves the dashboard RGW user and stores the credentials in the Ceph Monitor configuration key store.
Enable Ceph Logging
Pulse collects Ceph logs from the local file system. Configure Ceph to write daemon logs and cluster event logs to the local log directory.
Run the following commands:
ceph config set global log_to_file true
ceph config set global mon_cluster_log_to_file trueThese settings configure Ceph to write logs to the following directory:
/var/log/ceph/<cluster_fsid>Verify that log files are generated in this directory.
Note
Configure log rotation for the /var/log/ceph/ directory to prevent log files from consuming excessive disk space. For more information, see the Ceph documentation for Logging and Debugging. For details, see Accelerating Log Rotation.
Configure Ceph Dashboard TLS Verification
If SSL is enabled on the Ceph Dashboard, you can configure Pulse to verify the Ceph Dashboard TLS certificate. Copy the Ceph Dashboard certificate (dashboard.crt) from a Ceph cluster node before configuring the Ceph integration.
Pulse Deployed Using Docker
During the accelo config cluster procedure, Pulse prompts you to specify the CA certificate used to verify the Ceph Dashboard TLS certificate.
Enter CA certificate file path (leave empty to skip TLS verify):- To enable TLS verification, enter the full path to the dashboard.crt file on the Pulse node.
- To skip TLS verification, leave the prompt empty.
Pulse Deployed on Kubernetes
During Ceph configuration in the Pulse UI, configure TLS verification as follows:
- In the Admin UI, click + Add Cluster.
- Set Ceph Manager Dashboard enabled to Yes.
- Enter the Ceph Dashboard URL, Ceph Dashboard username, and Ceph Dashboard password.
- Configure TLS verification:
- To enable TLS verification, set Skip Ceph Dashboard TLS verification to No, and upload the dashboard.crt file in the Ceph CA certificate field.
- To skip TLS verification, set Skip Ceph Dashboard TLS verification to Yes. No certificate upload is required.
Note
The Ceph CA certificate field is required only when Skip Ceph Dashboard TLS verification is set to No.

Troubleshoot Ceph Manager Connection Timeout
If the Pulse node agent reports a timeout while collecting metrics from the Ceph Manager Dashboard, increase the Ceph Manager collection interval and timeout values in the override.yml file.
You may encounter an error similar to the following when the default timeout is insufficient:
Error in plugin: exec: command timed out for command "/opt/pulse/bin/jmxagent -el -jd /opt/pulse/node/config/jmx -c ceph_mgr -u https://<ceph-dashboard>:8443 -hm CMD -ht 10 -hc lower -bu <username> -bp <encrypted-password> -el -l error"Increase the ceph_mgr_timeout value to allow additional time for the Ceph Manager Dashboard to respond. If metric collection continues to time out, you can also increase the ceph_mgr_interval value based on the size and workload of your Ceph cluster.
The override.yml file is located at:
In Docker:
/data01/acceldata/work/<cluster_name>/override.ymlIn Kubernetes:
- In the Admin UI, click the configured cluster.
- Select the tabs: Configuration > Vars YAML.
Update the file as follows:
components:
ceph_mgr_interval: 2m
ceph_mgr_timeout: 2mAfter updating the configuration, apply the changes by running the following command.
accelo reconfig cluster
Have a suggestion?