Updated readme again
This commit is contained in:
10
README.md
10
README.md
@@ -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
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user