From 5709233b2d0599d973fd2a12bf7c98d3e531b2ce Mon Sep 17 00:00:00 2001 From: Zac Dover Date: Wed, 12 May 2021 22:54:54 +1000 Subject: [PATCH] doc/cephadm: rewrite "disabling monitoring" * Simplified the text. * Correctly formatted the prompts. Signed-off-by: Zac Dover (cherry picked from commit b67b6112ac2b2b21360fca2ffd7ed0136a5d4929) --- doc/cephadm/monitoring.rst | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/doc/cephadm/monitoring.rst b/doc/cephadm/monitoring.rst index e2e180c22bfcb..fd7ac64df6cb0 100644 --- a/doc/cephadm/monitoring.rst +++ b/doc/cephadm/monitoring.rst @@ -256,16 +256,15 @@ Example Disabling monitoring -------------------- -If you have deployed monitoring and would like to remove it, you can do -so with +To disable monitoring and remove the software that supports it, run the following commands: -.. code-block:: bash +.. code-block:: console - ceph orch rm grafana - ceph orch rm prometheus --force # this will delete metrics data collected so far - ceph orch rm node-exporter - ceph orch rm alertmanager - ceph mgr module disable prometheus + $ ceph orch rm grafana + $ ceph orch rm prometheus --force # this will delete metrics data collected so far + $ ceph orch rm node-exporter + $ ceph orch rm alertmanager + $ ceph mgr module disable prometheus Deploying monitoring manually -- 2.39.5