* feat: improve button layout and UI organization (#35) - Reorganize control buttons into a structured container with proper spacing - Add responsive design for mobile and desktop layouts - Improve SettingsButton and ResyncButton component structure - Enhance visual hierarchy with better typography and spacing - Add background container with shadow and border for better grouping - Make layout responsive with proper flexbox arrangements * Add category sidebar and filtering to scripts grid (#36) * Add category sidebar and filtering to scripts grid Introduces a CategorySidebar component with icon mapping and category selection. Updates metadata.json to include icons for each category. Enhances ScriptsGrid to support category-based filtering and integrates the sidebar, improving script navigation and discoverability. Also refines ScriptDetailModal layout for better modal presentation. * Add category metadata to scripts and improve filtering Introduces category metadata loading and exposes it via new API endpoints. Script cards are now enhanced with category information, allowing for accurate category-based filtering and counting in the ScriptsGrid component. Removes hardcoded category logic and replaces it with dynamic data from metadata.json. * Add reusable Badge component and refactor badge usage (#37) Introduces a new Badge component with variants for type, updateable, privileged, status, execution mode, and note. Refactors ScriptCard, ScriptDetailModal, and InstalledScriptsTab to use the new Badge components, improving consistency and maintainability. Also updates DarkModeProvider and layout.tsx for better dark mode handling and fallback. * Add advanced filtering and sorting to ScriptsGrid (#38) Introduces a new FilterBar component for ScriptsGrid, enabling filtering by search query, updatable status, script types, and sorting by name or creation date. Updates scripts API to include creation date in card data, improves deduplication and category counting logic, and adds error handling for missing script directories. * refactore installed scipts tab (#41) * feat: Add inline editing and manual script entry functionality - Add inline editing for script names and container IDs in installed scripts table - Add manual script entry form for pre-installed containers - Update database and API to support script_name editing - Improve dark mode hover effects for table rows - Add form validation and error handling - Support both local and SSH execution modes for manual entries * feat: implement installed scripts functionality and clean up test files - Add installed scripts tab with filtering and execution capabilities - Update scripts grid with better type safety and error handling - Remove outdated test files and update test configuration - Fix TypeScript and ESLint issues in components - Update .gitattributes for proper line ending handling * fix: resolve TypeScript error with categoryNames type mismatch - Fixed categoryNames type from (string | undefined)[] to string[] in scripts router - Added proper type filtering and assertion in getScriptCardsWithCategories - Added missing ScriptCard import in scripts router - Ensures type safety for categoryNames property throughout the application --------- Co-authored-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>
68 lines
2.4 KiB
JSON
68 lines
2.4 KiB
JSON
{
|
|
"name": "PVE Monitor-All",
|
|
"slug": "monitor-all",
|
|
"categories": [
|
|
1
|
|
],
|
|
"date_created": "2024-04-29",
|
|
"type": "pve",
|
|
"updateable": false,
|
|
"privileged": false,
|
|
"interface_port": null,
|
|
"documentation": null,
|
|
"website": null,
|
|
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/proxmox.webp",
|
|
"config_path": "",
|
|
"description": "This script will add Monitor-All to Proxmox VE, which will monitor the status of all your instances, both containers and virtual machines, excluding templates and user-defined ones, and automatically restart or reset them if they become unresponsive. This is particularly useful if you're experiencing problems with Home Assistant becoming non-responsive every few days/weeks. Monitor-All also maintains a log of the entire process, which can be helpful for troubleshooting and monitoring purposes.\r\n\r\n🛈 Virtual machines without the QEMU guest agent installed must be excluded.\r\n🛈 Prior to generating any new CT/VM not found in this repository, it's necessary to halt Proxmox VE Monitor-All by running systemctl stop ping-instances.",
|
|
"install_methods": [
|
|
{
|
|
"type": "default",
|
|
"script": "tools/pve/monitor-all.sh",
|
|
"resources": {
|
|
"cpu": null,
|
|
"ram": null,
|
|
"hdd": null,
|
|
"os": null,
|
|
"version": null
|
|
}
|
|
}
|
|
],
|
|
"default_credentials": {
|
|
"username": null,
|
|
"password": null
|
|
},
|
|
"notes": [
|
|
{
|
|
"text": "Execute within the Proxmox shell",
|
|
"type": "info"
|
|
},
|
|
{
|
|
"text": "Virtual machines without the QEMU guest agent installed must be excluded.",
|
|
"type": "warning"
|
|
},
|
|
{
|
|
"text": "Prior to generating any new CT/VM not found in this repository, it's necessary to halt Proxmox VE Monitor-All by running `systemctl stop ping-instances`.",
|
|
"type": "warning"
|
|
},
|
|
{
|
|
"text": "To make setup changes, first stop the service: `systemctl stop ping-instances`",
|
|
"type": "info"
|
|
},
|
|
{
|
|
"text": "To edit pause time: `nano /usr/local/bin/ping-instances.sh`",
|
|
"type": "info"
|
|
},
|
|
{
|
|
"text": "To add excluded instances: `nano /etc/systemd/system/ping-instances.service`",
|
|
"type": "info"
|
|
},
|
|
{
|
|
"text": "After changes have been saved, `systemctl daemon-reload` and start the service: `systemctl start ping-instances`",
|
|
"type": "info"
|
|
},
|
|
{
|
|
"text": "Monitor-All logs: `cat /var/log/ping-instances.log`",
|
|
"type": "info"
|
|
}
|
|
]
|
|
} |