Files
proxDoc/README.md

120 lines
3.6 KiB
Markdown
Raw Normal View History

2025-01-01 18:28:45 -05:00
# ProxDoc - The Proxmox System Doctor
ProxDoc is a comprehensive diagnostic tool for Proxmox server health monitoring and system examination.
## Features
- Complete system diagnostics and health checks
- **DriveAtlas integration** for physical drive bay mapping
- **Ceph cluster health** monitoring (OSD tree, pool usage, disk usage)
- **Node Exporter status** check for Prometheus monitoring
- **hwmon daemon status** for hardware monitoring
- **Quick health check** mode for fast assessments
2025-01-01 18:28:45 -05:00
- Temperature monitoring
- Disk health status via SMART
2025-01-01 18:28:45 -05:00
- CPU and RAM information
- Detailed memory DIMM information (slots, speed, manufacturer)
- Motherboard and system information
2025-01-01 18:28:45 -05:00
- Storage information including ZFS pools
- Network diagnostics with ethtool integration
- Detailed NIC information (driver, firmware, link speed)
- HBA/Storage controller detection and details
2025-01-01 18:28:45 -05:00
- Hardware information
- Service status monitoring
- VM and Container status
## Requirements
The script requires the following tools to be installed:
- dmidecode
- lscpu
- ip
- smartctl
- sensors
- lspci
Optional tools for enhanced diagnostics:
- ethtool (for detailed NIC information including link speed and firmware)
- netstat (for network statistics)
2025-01-01 18:28:45 -05:00
## Usage
Run remotely via curl:
2025-01-01 18:28:45 -05:00
```bash
curl -sL "http://10.10.10.63:3000/LotusGuild/proxDoc/raw/branch/main/proxDoc.sh" | bash -s -- [OPTION]
2025-01-01 18:28:45 -05:00
```
### Examples
2025-07-24 20:16:38 -04:00
```bash
# Full system diagnostics
curl -sL "http://10.10.10.63:3000/LotusGuild/proxDoc/raw/branch/main/proxDoc.sh" | bash -s -- --diags
# Quick health check
curl -sL "http://10.10.10.63:3000/LotusGuild/proxDoc/raw/branch/main/proxDoc.sh" | bash -s -- --quick
# Check services
2026-01-24 13:58:08 -05:00
curl -sL "http://10.10.10.63:3000/LotusGuild/proxDoc/raw/branch/main/proxDoc.sh" | bash -s -- --services
# Show drive bay mapping
curl -sL "http://10.10.10.63:3000/LotusGuild/proxDoc/raw/branch/main/proxDoc.sh" | bash -s -- --drives
2025-07-24 20:16:38 -04:00
```
2025-01-01 18:28:45 -05:00
### Available Options
- `--help`: Show the help guide
- `--diags`: Perform full system examination
- `--quick`: Quick health check (services, temps, disks)
- `--drives`: Show physical drive bay mapping (DriveAtlas)
- `--ceph`: Check Ceph cluster health
- `--node-exporter`: Check Node Exporter status
- `--hwmon`: Check hwmon daemon status
- `--services`: Check vital Proxmox services
2025-01-01 18:28:45 -05:00
- `--vm-list`: Check VM vitals
- `--ct-list`: Check container vitals
2025-01-01 18:28:45 -05:00
- `--backup`: Review backup health
2025-01-01 18:28:45 -05:00
## Output Information
The script provides detailed information about:
- System information and Proxmox version
- CPU model, cores, and frequency
- RAM usage and detailed DIMM information
- Motherboard manufacturer, model, and serial number
2025-01-01 18:28:45 -05:00
- Storage status
- Disk health
- Network configuration
- Detailed NIC information (driver, MAC, speed, firmware)
- HBA/Storage controller details
- Hardware details including PCI devices
2025-01-01 18:28:45 -05:00
- System load
- Service status
- Recent system errors
- VM and container status
## Note
- This script must be run as root
- Designed for Proxmox environments
- Supports Proxmox version 6.0 and above
- No local installation required - runs directly from Gitea
2025-01-01 18:28:45 -05:00
## Version
Current Version: 1.1.0
### Changelog
#### v1.1.0
- Added DriveAtlas integration (`--drives`) for physical drive bay mapping
- Added Ceph cluster health monitoring (`--ceph`)
- Added Node Exporter status check (`--node-exporter`)
- Added hwmon daemon status check (`--hwmon`)
- Added quick health check mode (`--quick`)
- Added container list option (`--ct-list`)
- Full diagnostics now include all monitoring checks
- Improved error handling with graceful fallbacks
- Optimized for remote execution via curl
#### v1.0.0
- Initial release