https://github.com/tenyun/pve-status
A cli status script for proxmox servers
https://github.com/tenyun/pve-status
bash proxmox pve shell zfs
Last synced: about 2 months ago
JSON representation
A cli status script for proxmox servers
- Host: GitHub
- URL: https://github.com/tenyun/pve-status
- Owner: Tenyun
- License: gpl-2.0
- Created: 2024-12-31T15:48:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-01T12:50:50.000Z (over 1 year ago)
- Last Synced: 2025-02-22T07:46:33.097Z (over 1 year ago)
- Topics: bash, proxmox, pve, shell, zfs
- Language: Shell
- Homepage:
- Size: 33.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Status script for Proxmox Virtual Environment (PVE)
## Requirements
* one or more zfs pools
* [cv4pve-autosnap] (https://github.com/Corsinvest/cv4pve-autosnap) for snapshot management
## Installation
Clone the repository:
```
https://github.com/Tenyun/pve-status.git
```
Link status.sh to e.g.:
```
ln -s /path/to/pve-status/status.sh /usr/local/bin/st
```
## Configuration
Setup the path to your cv4pve-autosnap cron script
make shure that the variable name for the api token
inside the cron script is set to "API_TOKEN".
You can also setup the API_TOKEN inside the script
(the cron script will be prefered if available)
## Example
```
============================================================
SYSTEM INFO
============================================================
System: Debian GNU/Linux 11 (bullseye)
Kernel: 5.13.19-6-pve
Uptime: up 1 week, 1 hour, 55 minutes
CPU: Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz
## CPU Temperature ##
Package id 0: +34.0°C Package id 1: +32.0°C
Core 0: +27.0°C Core 0: +26.0°C
Core 1: +25.0°C Core 1: +26.0°C
Core 2: +26.0°C Core 2: +24.0°C
Core 3: +25.0°C Core 3: +24.0°C
Core 4: +24.0°C Core 4: +24.0°C
Core 5: +27.0°C Core 5: +24.0°C
## Memory usage ##
Total: 62Gi Used: 31Gi
Free: 30Gi Shared: 56Mi
============================================================
ZFS STATUS
============================================================
## Pool status ##
all pools are healthy
## Snapshots ##
Last zfs snapshots
HOURLY: 22/04/14 06:00:43
DAILY: 22/04/14 06:00:43
MONTHLY:
YEARLY:
Total Snapshots: 120
## Pool Capacity's ##
hddpool 8%
rpool 5%
```