Commit inicial - estructura base del proyecto
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
# Runbook: Diagnostico
|
||||
|
||||
Empieza siempre con lectura. Si algo apunta a una accion destructiva o de
|
||||
reinicio, confirma primero.
|
||||
|
||||
## Salud del host
|
||||
|
||||
```powershell
|
||||
.\scripts\Invoke-ProxmoxSsh.ps1 -Command "hostname && uptime && pveversion"
|
||||
.\scripts\Invoke-ProxmoxSsh.ps1 -Command "df -h && free -h"
|
||||
.\scripts\Invoke-ProxmoxSsh.ps1 -Command "systemctl --failed --no-pager"
|
||||
.\scripts\Invoke-ProxmoxSsh.ps1 -Command "pvesh get /cluster/resources"
|
||||
```
|
||||
|
||||
## LXC
|
||||
|
||||
```powershell
|
||||
.\scripts\Invoke-ProxmoxSsh.ps1 -Command "pct list"
|
||||
.\scripts\Invoke-ProxmoxSsh.ps1 -Command "pct status 102"
|
||||
.\scripts\Invoke-ProxmoxSsh.ps1 -Command "pct config 102"
|
||||
.\scripts\Invoke-ProxmoxSsh.ps1 -Command "pct exec 102 -- df -h"
|
||||
.\scripts\Invoke-ProxmoxSsh.ps1 -Command "pct exec 102 -- free -h"
|
||||
```
|
||||
|
||||
## Tareas Proxmox
|
||||
|
||||
```powershell
|
||||
.\scripts\Invoke-ProxmoxSsh.ps1 -Command "pvesh get /nodes/thinkcentre/tasks --limit 20"
|
||||
```
|
||||
|
||||
## Logs
|
||||
|
||||
```powershell
|
||||
.\scripts\Invoke-ProxmoxSsh.ps1 -Command "journalctl -p warning -n 100 --no-pager"
|
||||
.\scripts\Invoke-ProxmoxSsh.ps1 -Command "pct exec 102 -- journalctl -p warning -n 100 --no-pager"
|
||||
```
|
||||
Reference in New Issue
Block a user