Skip to main content

local htop-like status monitor for remote Proxmox VE servers

Project description

proxcat

A htop-like status monitor for Proxmox VE servers, powered by python curses, with support for multiple nodes, VM (QEMU) and Container (LXC) status and node status.

Screenshot

connected to my own PVE server

Installation

pip install requests proxmoxer proxcat (optional) pip install PySensors for CPU temperature info support (only when ran directly on PVE host)

Or, clone repository and run pip install ..

Usage

  1. On your PVE server, create an API token in WebUI under Datacenter -> Permissions -> API Tokens. Remember to deselect "Priviledge Separation". For security concerns, it is recommended to use it with a dedicated low-level user - for example, one with the "PVEAuditor" role assigned - instead of root or other administrators.

  2. Create a config file. proxcat will look for config.ini under

    • $XDG_CONFIG_HOME/proxcat/ or
    • ~/.proxcat/

    Or, you can specify a custom config file with the -c / --config flag.

    Then fill in the config file like this:

    [Account]
    # address of PVE host
    Host = 
    # Username (format: <username>@<realm)
    User = 
    # name of your token
    TokenName = 
    # your token value
    Token = 
    
    [Settings]
    # set data update interval (in ms), optional
    UpdateInterval = 
    # whether to enable host CPU temperature info (requires lm_sensors and PySensors). Disabled by default.
    ShowSensors = False
    

    The options in [Settings] can be overriden by command-line flags; see -h or --help for details.

  3. run the proxcat command.

    Keybindings:

    q to quit

    n p for switching between nodes

    any other key for force refreshing screen

Changelog

see CHANGELOG.md.

Todo

  • Switch entirely to pyproject.toml
  • Add optional lm_sensors support for HW monitoring (if ran on host)
  • Change time display to difference between host and local client
  • More functionality for curses UI (custom sorting, ...)
  • Invoke VM/CT jobs within app
  • Optional headless/daemon mode with WebUI

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

proxcat-0.3.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

proxcat-0.3-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file proxcat-0.3.tar.gz.

File metadata

  • Download URL: proxcat-0.3.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.5

File hashes

Hashes for proxcat-0.3.tar.gz
Algorithm Hash digest
SHA256 10b1bf062261862d3604fd02a250eb23202b40631bef77e885239f248e16af82
MD5 188d57009eaf86cd7bcdee4ce1b914c3
BLAKE2b-256 d8f87d108343fbde1863471d7cb03b985569ea0b32bfa75efef26448770f89b8

See more details on using hashes here.

File details

Details for the file proxcat-0.3-py3-none-any.whl.

File metadata

  • Download URL: proxcat-0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.5

File hashes

Hashes for proxcat-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d9cfe0f4133debd0d55a6a31caaff18019413b5502ac10a9ac338bbb03e5d102
MD5 4a097f2cd60c31817b7532e573bf9f07
BLAKE2b-256 093ad629587e07dacc3728c678eca91b322c6cad954a18317ec107ed3612be4a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page