From c315fa3efc6138fb45b37f7ffaf1fa0a890347d7 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Mon, 22 Dec 2025 18:15:46 -0500 Subject: [PATCH] Updated readme again --- README.md | 10 +++++++++- ceph_osd_analyzer.py | 1 - 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 52489b7..adeedcb 100644 --- a/README.md +++ b/README.md @@ -60,8 +60,16 @@ Run directly from your internal git server: ```bash sudo python3 -c "import urllib.request; exec(urllib.request.urlopen('http://10.10.10.63:3000/LotusGuild/analyzeOSDs/raw/branch/main/ceph_osd_analyzer.py').read().decode())" ``` +Run directly from internal git server with debug enabled: +```bash +sudo python3 -c "import urllib.request; exec(urllib.request.urlopen('http://10.10.10.63:3000/LotusGuild/analyzeOSDs/raw/branch/main/ceph_osd_analyzer.py').read().decode())" --debug +``` +Most common execution +```bash +sudo python3 -c "import urllib.request; exec(urllib.request.urlopen('http://10.10.10.63:3000/LotusGuild/analyzeOSDs/raw/branch/main/ceph_osd_analyzer.py').read().decode())" --debug --class hdd +``` -### Traditional Installation +### Traditional Installation (not recommended) ```bash # Clone repository diff --git a/ceph_osd_analyzer.py b/ceph_osd_analyzer.py index 909ab9b..a16cc4f 100644 --- a/ceph_osd_analyzer.py +++ b/ceph_osd_analyzer.py @@ -141,7 +141,6 @@ def get_smart_data_remote(device_path, hostname): print(f"{Colors.YELLOW}DEBUG: SMART data failed for {base_device} on {hostname}{Colors.END}") return result - def get_device_health(osd_id, hostname): """Get device SMART health metrics from the appropriate host""" if DEBUG: