Updated readme again

This commit is contained in:
2025-12-22 18:15:46 -05:00
parent 89037ed93f
commit c315fa3efc
2 changed files with 9 additions and 2 deletions

View File

@@ -60,8 +60,16 @@ Run directly from your internal git server:
```bash ```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())" 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 ```bash
# Clone repository # Clone repository

View File

@@ -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}") print(f"{Colors.YELLOW}DEBUG: SMART data failed for {base_device} on {hostname}{Colors.END}")
return result return result
def get_device_health(osd_id, hostname): def get_device_health(osd_id, hostname):
"""Get device SMART health metrics from the appropriate host""" """Get device SMART health metrics from the appropriate host"""
if DEBUG: if DEBUG: