30 lines
993 B
Bash
30 lines
993 B
Bash
|
|
#!/bin/bash
|
||
|
|
# Commands to run on R630-04 (192.168.11.14) to check Proxmox status
|
||
|
|
# Run these commands while logged into R630-04
|
||
|
|
|
||
|
|
echo "=== Hostname ==="
|
||
|
|
hostname
|
||
|
|
cat /etc/hostname
|
||
|
|
|
||
|
|
echo -e "\n=== Proxmox Version ==="
|
||
|
|
pveversion 2>&1 || echo "Proxmox not installed"
|
||
|
|
|
||
|
|
echo -e "\n=== Proxmox Web Service (pveproxy) Status ==="
|
||
|
|
systemctl status pveproxy --no-pager -l 2>&1 | head -20
|
||
|
|
|
||
|
|
echo -e "\n=== Port 8006 Listening ==="
|
||
|
|
ss -tlnp 2>/dev/null | grep 8006 || netstat -tlnp 2>/dev/null | grep 8006 || echo "Port 8006 not listening"
|
||
|
|
|
||
|
|
echo -e "\n=== All Proxmox Services Status ==="
|
||
|
|
systemctl list-units --type=service --all 2>/dev/null | grep -E 'pveproxy|pvedaemon|pve-cluster|pvestatd'
|
||
|
|
|
||
|
|
echo -e "\n=== Proxmox Services Enabled ==="
|
||
|
|
systemctl list-unit-files 2>/dev/null | grep -i proxmox
|
||
|
|
|
||
|
|
echo -e "\n=== Network Interfaces ==="
|
||
|
|
ip addr show | grep -E 'inet.*192.168.11'
|
||
|
|
|
||
|
|
echo -e "\n=== Firewall Status ==="
|
||
|
|
systemctl status pve-firewall 2>&1 | head -10 || echo "pve-firewall service not found"
|
||
|
|
|