Hi list, Looking into diskprediction_local module, and I see that it only predicts a few states: good, warning and bad: ceph/src/pybind/mgr/diskprediction_local/predictor.py: if score > 10: return "Bad" if score > 4: return "Warning" return "Good" The predicted fail date is just a derivative based on that: ceph/src/pybind/mgr/diskprediction_local/module.py if result.lower() == 'good': life_expectancy_day_min = (TIME_WEEK * 6) + TIME_DAYS life_expectancy_day_max = None elif result.lower() == 'warning': life_expectancy_day_min = (TIME_WEEK * 2) life_expectancy_day_max = (TIME_WEEK * 6) elif result.lower() == 'bad': life_expectancy_day_min = 0 life_expectancy_day_max = (TIME_WEEK * 2) - TIME_DAYS Is it possible to get any finer prediction date? -- Vytenis
On Wed, May 20, 2020 at 5:36 PM Vytenis A <vytenis.adm@gmail.com> wrote:
Is it possible to get any finer prediction date?
related question: did anyone actually observe any correlation between the predicted failure time and the actual time until a failure occurs? Paul -- Paul Emmerich Looking for help with your Ceph cluster? Contact us at https://croit.io croit GmbH Freseniusstr. 31h 81247 München www.croit.io Tel: +49 89 1896585 90
-- Vytenis _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
And a more broader question: is anyone using diskpredictor (local or cloud) ? On Wed, May 20, 2020 at 7:35 PM Paul Emmerich <paul.emmerich@croit.io> wrote:
On Wed, May 20, 2020 at 5:36 PM Vytenis A <vytenis.adm@gmail.com> wrote:
Is it possible to get any finer prediction date?
related question: did anyone actually observe any correlation between the predicted failure time and the actual time until a failure occurs?
Paul
-- Paul Emmerich
Looking for help with your Ceph cluster? Contact us at https://croit.io
croit GmbH Freseniusstr. 31h 81247 München www.croit.io Tel: +49 89 1896585 90
-- Vytenis _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
-- Vytenis
participants (2)
-
Paul Emmerich
-
Vytenis A