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: