mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-04-10 14:55:52 -05:00
Stylus #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @luismco on GitHub.
Name of the Script
Stylus
📋 Script Details
Github: https://github.com/mmastrac/stylus
Docs: https://mmastrac.github.io/stylus
Stylus (style + status) is a lightweight status page for infrastructure and networks. Configure a set of bash scripts that test the various parts of your infrastructure, set up visualizations with minimal configuration, and Stylus will generate you a dashboard for your system.
Stylus is a service/network monitoring application, and a webserver with special endpoints.
Included in the Stylus package is a built-in webapp that includes a number of visualizations, but you can also use it to serve any content you like, even fully replacing the built-in webapp. The webapp includes an iframe visualization that can be used to display any URL you like, and if you're serving a local HTML page, can even inject CSS into it for dynamic updates without scripting.
The status monitoring portion is based around scripts, written in any shell scripting language you like. Each script is run regularly at an interval, and if the script returns 0 that is considered "up" for a given service. If the service times out, or returns a non-zero error this is considered a soft ("yellow") or hard ("red") failure.
@github-actions[bot] commented on GitHub:
The stylus script is ready for testing:
bash -c "$(curl -fsSL https://github.com/community-scripts/ProxmoxVED/raw/main/ct/stylus.sh)"Configuration Path:
/opt/stylus/config.yamlNote: This is not in the official repo yet—it's just a dev version! After merging into ProxmoxVE, it will need to be recreated.