From 1ea7570bb1b637a436c209dcc4559e206a20ad42 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 24 Jul 2019 12:57:18 -0500 Subject: [PATCH] doc/mgr/crash: document missing commands, options Signed-off-by: Sage Weil --- doc/mgr/crash.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/mgr/crash.rst b/doc/mgr/crash.rst index 8cfd130f2aa..76e0ce94a80 100644 --- a/doc/mgr/crash.rst +++ b/doc/mgr/crash.rst @@ -63,4 +63,21 @@ Show all details of a saved crash. Remove saved crashes older than 'keep' days. must be an integer. +:: + ceph crash archive + +Archive a crash report so that it is no longer considered for the ``RECENT_CRASH`` health check and does not appear in the ``crash ls-new`` output (it will still appear in the ``crash ls`` output). + +:: + + ceph crash archive-all + +Archive all new crash reports. + + +Options +------- + +* ``mgr/crash/warn_recent_interval`` [default: 2 weeks] controls what constitutes "recent" for the purposes of raising the ``RECENT_CRASH`` health warning. +* ``mgr/crash/retain_interval`` [default: 1 year] controls how long crash reports are retained by the cluster before they are automatically purged.