mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-13 07:10:51 +02:00
Compare commits
14 Commits
2025-09-10
...
add-script
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9db6136a66 | ||
|
|
37e5484d58 | ||
|
|
fe511277eb | ||
|
|
621bb7d85a | ||
|
|
3694dfb121 | ||
|
|
4478f8f6e0 | ||
|
|
d69cbcd941 | ||
|
|
affcfd06cf | ||
|
|
b94b088c19 | ||
|
|
5385382a88 | ||
|
|
d06ad37a22 | ||
|
|
72c7d4199b | ||
|
|
2e75ced83f | ||
|
|
9a28ce0263 |
15
CHANGELOG.md
15
CHANGELOG.md
@@ -12,6 +12,21 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
|
||||
## 2025-09-11
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- [core] Sort tools.func functions alphabeticaly [@tremor021](https://github.com/tremor021) ([#7569](https://github.com/community-scripts/ProxmoxVE/pull/7569))
|
||||
- mobile subscription nag fix [@dvino](https://github.com/dvino) ([#7567](https://github.com/community-scripts/ProxmoxVE/pull/7567))
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- alpine-install: switch to using GitHub to fetch tools when using GitHub [@burritosoftware](https://github.com/burritosoftware) ([#7566](https://github.com/community-scripts/ProxmoxVE/pull/7566))
|
||||
|
||||
### 🌐 Website
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- Add margin-bottom to Most Viewed Scripts header to unifi UI [@BramSuurdje](https://github.com/BramSuurdje) ([#7572](https://github.com/community-scripts/ProxmoxVE/pull/7572))
|
||||
|
||||
## 2025-09-10
|
||||
|
||||
### 🆕 New Scripts
|
||||
|
||||
6
ct/headers/telegraf
Normal file
6
ct/headers/telegraf
Normal file
@@ -0,0 +1,6 @@
|
||||
__ __ ____
|
||||
/ /____ / /__ ____ __________ _/ __/
|
||||
/ __/ _ \/ / _ \/ __ `/ ___/ __ `/ /_
|
||||
/ /_/ __/ / __/ /_/ / / / /_/ / __/
|
||||
\__/\___/_/\___/\__, /_/ \__,_/_/
|
||||
/____/
|
||||
52
ct/telegraf.sh
Normal file
52
ct/telegraf.sh
Normal file
@@ -0,0 +1,52 @@
|
||||
#!/usr/bin/env bash
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
|
||||
# Copyright (c) 2021-2025 community-scripts ORG
|
||||
# Author: CrazyWolf13
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/influxdata/telegraf
|
||||
|
||||
APP="telegraf"
|
||||
var_tags="${var_tags:-collector;metrics}"
|
||||
var_cpu="${var_cpu:-1}"
|
||||
var_ram="${var_ram:-1024}"
|
||||
var_disk="${var_disk:-4}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-12}"
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
if [[ ! -f /etc/telegraf/telegraf.conf ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
msg_info "Stopping $APP"
|
||||
systemctl stop telegraf
|
||||
msg_ok "Stopped $APP"
|
||||
|
||||
msg_info "Updating $APP"
|
||||
$STD apt-get update
|
||||
$STD apt-get upgrade telegraf -y
|
||||
msg_ok "Updated $APP"
|
||||
|
||||
msg_info "Starting $APP"
|
||||
systemctl start telegraf
|
||||
msg_ok "Started $APP"
|
||||
msg_ok "Updated Successfully"
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
40
frontend/public/json/telegraf.json
Normal file
40
frontend/public/json/telegraf.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"name": "Telegraf",
|
||||
"slug": "telegraf",
|
||||
"categories": [
|
||||
9
|
||||
],
|
||||
"date_created": "2025-09-11",
|
||||
"type": "ct",
|
||||
"updateable": true,
|
||||
"privileged": false,
|
||||
"interface_port": null,
|
||||
"documentation": "https://docs.influxdata.com/telegraf/v1/",
|
||||
"config_path": "/etc/telegraf/telegraf.conf",
|
||||
"website": "https://github.com/influxdata/telegraf",
|
||||
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/telegraf.webp",
|
||||
"description": "Telegraf collects and sends time series data from databases, systems, and IoT sensors. It has no external dependencies, is easy to install, and requires minimal memory.",
|
||||
"install_methods": [
|
||||
{
|
||||
"type": "default",
|
||||
"script": "ct/telegraf.sh",
|
||||
"resources": {
|
||||
"cpu": 1,
|
||||
"ram": 1024,
|
||||
"hdd": 4,
|
||||
"os": "Debian",
|
||||
"version": "12"
|
||||
}
|
||||
}
|
||||
],
|
||||
"default_credentials": {
|
||||
"username": null,
|
||||
"password": null
|
||||
},
|
||||
"notes": [
|
||||
{
|
||||
"text": "Make sure to configure an output for the telegraf config and start the service with `systemctl start telegraf`.",
|
||||
"type": "info"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,19 +1,79 @@
|
||||
[
|
||||
{
|
||||
"name": "wizarrrr/wizarr",
|
||||
"version": "v2025.9.2",
|
||||
"date": "2025-09-10T22:36:54Z"
|
||||
"name": "Paymenter/Paymenter",
|
||||
"version": "v1.3.2",
|
||||
"date": "2025-09-11T09:54:47Z"
|
||||
},
|
||||
{
|
||||
"name": "cockpit-project/cockpit",
|
||||
"version": "345.2",
|
||||
"date": "2025-09-11T09:06:44Z"
|
||||
},
|
||||
{
|
||||
"name": "rcourtman/Pulse",
|
||||
"version": "v4.14.0",
|
||||
"date": "2025-09-05T18:28:28Z"
|
||||
},
|
||||
{
|
||||
"name": "NLnetLabs/unbound",
|
||||
"version": "release-1.24.0rc1",
|
||||
"date": "2025-09-11T07:05:16Z"
|
||||
},
|
||||
{
|
||||
"name": "emqx/emqx",
|
||||
"version": "e5.10.1-rc.1",
|
||||
"date": "2025-09-11T07:01:00Z"
|
||||
},
|
||||
{
|
||||
"name": "MediaBrowser/Emby.Releases",
|
||||
"version": "4.9.1.2",
|
||||
"date": "2025-06-26T22:08:00Z"
|
||||
},
|
||||
{
|
||||
"name": "Jackett/Jackett",
|
||||
"version": "v0.23.8",
|
||||
"date": "2025-09-11T05:58:05Z"
|
||||
},
|
||||
{
|
||||
"name": "zitadel/zitadel",
|
||||
"version": "v4.1.4",
|
||||
"date": "2025-09-11T05:20:51Z"
|
||||
},
|
||||
{
|
||||
"name": "go-gitea/gitea",
|
||||
"version": "v1.24.6",
|
||||
"date": "2025-09-11T04:20:27Z"
|
||||
},
|
||||
{
|
||||
"name": "msgbyte/tianji",
|
||||
"version": "v1.24.29",
|
||||
"date": "2025-09-11T02:49:06Z"
|
||||
},
|
||||
{
|
||||
"name": "jeedom/core",
|
||||
"version": "4.4.20",
|
||||
"date": "2025-09-11T00:27:13Z"
|
||||
},
|
||||
{
|
||||
"name": "steveiliop56/tinyauth",
|
||||
"version": "v3.6.2",
|
||||
"date": "2025-07-17T12:08:03Z"
|
||||
},
|
||||
{
|
||||
"name": "wizarrrr/wizarr",
|
||||
"version": "v2025.9.2",
|
||||
"date": "2025-09-10T22:36:54Z"
|
||||
},
|
||||
{
|
||||
"name": "cross-seed/cross-seed",
|
||||
"version": "v6.13.3",
|
||||
"date": "2025-09-08T21:45:15Z"
|
||||
},
|
||||
{
|
||||
"name": "keycloak/keycloak",
|
||||
"version": "26.0.15",
|
||||
"date": "2025-08-27T12:12:03Z"
|
||||
},
|
||||
{
|
||||
"name": "esphome/esphome",
|
||||
"version": "2025.8.4",
|
||||
@@ -24,16 +84,16 @@
|
||||
"version": "2.2.0",
|
||||
"date": "2025-09-10T18:36:56Z"
|
||||
},
|
||||
{
|
||||
"name": "msgbyte/tianji",
|
||||
"version": "v1.24.28",
|
||||
"date": "2025-09-10T16:58:36Z"
|
||||
},
|
||||
{
|
||||
"name": "YunoHost/yunohost",
|
||||
"version": "debian/12.1.22",
|
||||
"date": "2025-09-10T16:40:32Z"
|
||||
},
|
||||
{
|
||||
"name": "wazuh/wazuh",
|
||||
"version": "coverity-w37-4.13.0",
|
||||
"date": "2025-09-10T15:46:01Z"
|
||||
},
|
||||
{
|
||||
"name": "fuma-nama/fumadocs",
|
||||
"version": "fumadocs-mdx@11.9.1",
|
||||
@@ -74,51 +134,16 @@
|
||||
"version": "v10.5.11",
|
||||
"date": "2025-09-10T07:28:51Z"
|
||||
},
|
||||
{
|
||||
"name": "cockpit-project/cockpit",
|
||||
"version": "345.1",
|
||||
"date": "2025-09-10T07:10:55Z"
|
||||
},
|
||||
{
|
||||
"name": "zitadel/zitadel",
|
||||
"version": "v4.1.3",
|
||||
"date": "2025-09-08T13:36:08Z"
|
||||
},
|
||||
{
|
||||
"name": "Jackett/Jackett",
|
||||
"version": "v0.22.2451",
|
||||
"date": "2025-09-10T05:43:17Z"
|
||||
},
|
||||
{
|
||||
"name": "firefly-iii/firefly-iii",
|
||||
"version": "v6.3.2",
|
||||
"date": "2025-08-19T04:08:36Z"
|
||||
},
|
||||
{
|
||||
"name": "jeedom/core",
|
||||
"version": "4.4.20",
|
||||
"date": "2025-09-10T00:27:10Z"
|
||||
},
|
||||
{
|
||||
"name": "steveiliop56/tinyauth",
|
||||
"version": "v3.6.2",
|
||||
"date": "2025-07-17T12:08:03Z"
|
||||
},
|
||||
{
|
||||
"name": "authelia/authelia",
|
||||
"version": "v4.39.9",
|
||||
"date": "2025-09-09T22:48:24Z"
|
||||
},
|
||||
{
|
||||
"name": "keycloak/keycloak",
|
||||
"version": "26.0.15",
|
||||
"date": "2025-08-27T12:12:03Z"
|
||||
},
|
||||
{
|
||||
"name": "MediaBrowser/Emby.Releases",
|
||||
"version": "4.9.1.2",
|
||||
"date": "2025-06-26T22:08:00Z"
|
||||
},
|
||||
{
|
||||
"name": "jenkinsci/jenkins",
|
||||
"version": "jenkins-2.527",
|
||||
@@ -209,11 +234,6 @@
|
||||
"version": "v1.141.1",
|
||||
"date": "2025-09-08T17:15:33Z"
|
||||
},
|
||||
{
|
||||
"name": "Paymenter/Paymenter",
|
||||
"version": "v1.3.1",
|
||||
"date": "2025-09-08T15:26:01Z"
|
||||
},
|
||||
{
|
||||
"name": "n8n-io/n8n",
|
||||
"version": "n8n@1.109.2",
|
||||
@@ -286,8 +306,8 @@
|
||||
},
|
||||
{
|
||||
"name": "runtipi/runtipi",
|
||||
"version": "nightly",
|
||||
"date": "2025-09-07T12:25:06Z"
|
||||
"version": "v4.4.0",
|
||||
"date": "2025-09-02T19:26:18Z"
|
||||
},
|
||||
{
|
||||
"name": "semaphoreui/semaphore",
|
||||
@@ -374,11 +394,6 @@
|
||||
"version": "2.0.0-beta.2-temp",
|
||||
"date": "2025-03-28T08:45:58Z"
|
||||
},
|
||||
{
|
||||
"name": "wazuh/wazuh",
|
||||
"version": "coverity-w36-4.13.0",
|
||||
"date": "2025-09-01T11:40:11Z"
|
||||
},
|
||||
{
|
||||
"name": "docmost/docmost",
|
||||
"version": "v0.23.0",
|
||||
@@ -434,11 +449,6 @@
|
||||
"version": "v0.15.1",
|
||||
"date": "2025-09-04T10:37:23Z"
|
||||
},
|
||||
{
|
||||
"name": "emqx/emqx",
|
||||
"version": "v5.8.8",
|
||||
"date": "2025-09-04T08:35:36Z"
|
||||
},
|
||||
{
|
||||
"name": "morpheus65535/bazarr",
|
||||
"version": "v1.5.3-beta.10",
|
||||
@@ -819,11 +829,6 @@
|
||||
"version": "v2.2.1",
|
||||
"date": "2025-08-13T19:49:01Z"
|
||||
},
|
||||
{
|
||||
"name": "go-gitea/gitea",
|
||||
"version": "v1.24.5",
|
||||
"date": "2025-08-13T16:35:52Z"
|
||||
},
|
||||
{
|
||||
"name": "ellite/Wallos",
|
||||
"version": "v4.1.1",
|
||||
@@ -994,11 +999,6 @@
|
||||
"version": "v0.25.0",
|
||||
"date": "2025-07-16T14:57:02Z"
|
||||
},
|
||||
{
|
||||
"name": "NLnetLabs/unbound",
|
||||
"version": "release-1.23.1",
|
||||
"date": "2025-07-16T09:20:27Z"
|
||||
},
|
||||
{
|
||||
"name": "sbondCo/Watcharr",
|
||||
"version": "v2.1.1",
|
||||
|
||||
@@ -143,7 +143,7 @@ export function MostViewedScripts({ items }: { items: Category[] }) {
|
||||
<div className="">
|
||||
{mostViewedScripts.length > 0 && (
|
||||
<>
|
||||
<h2 className="text-lg font-semibold">Most Viewed Scripts</h2>
|
||||
<h2 className="text-lg font-semibold mb-1">Most Viewed Scripts</h2>
|
||||
</>
|
||||
)}
|
||||
<div className="min-w flex w-full flex-row flex-wrap gap-4">
|
||||
|
||||
39
install/telegraf-install.sh
Normal file
39
install/telegraf-install.sh
Normal file
@@ -0,0 +1,39 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2025 community-scripts ORG
|
||||
# Author: CrazyWolf13
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/influxdata/telegraf
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
msg_info "Adding Telegraf key and repository"
|
||||
curl -fsSL -O https://repos.influxdata.com/influxdata-archive.key
|
||||
gpg --show-keys --with-fingerprint --with-colons ./influxdata-archive.key 2>&1 \
|
||||
| grep -q '^fpr:\+24C975CBA61A024EE1B631787C3D57159FC2F927:$' \
|
||||
&& cat influxdata-archive.key \
|
||||
| gpg --dearmor \
|
||||
| tee /etc/apt/keyrings/influxdata-archive.gpg > /dev/null \
|
||||
&& echo 'deb [signed-by=/etc/apt/keyrings/influxdata-archive.gpg] https://repos.influxdata.com/debian stable main' \
|
||||
| tee /etc/apt/sources.list.d/influxdata.list > /dev/null
|
||||
msg_ok "Added Telegraf Repository"
|
||||
|
||||
msg_info "Installing Telegraf"
|
||||
$STD apt-get update
|
||||
$STD apt-get install telegraf -y
|
||||
msg_ok "Installed Telegraf"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
|
||||
msg_info "Cleaning up"
|
||||
$STD apt-get -y autoremove
|
||||
$STD apt-get -y autoclean
|
||||
rm /influxdata-archive.key
|
||||
msg_ok "Cleaned"
|
||||
@@ -82,7 +82,7 @@ network_check() {
|
||||
update_os() {
|
||||
msg_info "Updating Container OS"
|
||||
$STD apk -U upgrade
|
||||
source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/tools.func)
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/tools.func)
|
||||
msg_ok "Updated Container OS"
|
||||
}
|
||||
|
||||
|
||||
2788
misc/tools.func
2788
misc/tools.func
File diff suppressed because it is too large
Load Diff
@@ -530,14 +530,26 @@ if [ -f "$MOBILE_TPL" ] && ! grep -q "$MARKER" "$MOBILE_TPL"; then
|
||||
printf "%s\n" \
|
||||
"$MARKER" \
|
||||
"<script>" \
|
||||
" function watchAndRemoveDialog() {" \
|
||||
" const observer = new MutationObserver(() => {" \
|
||||
" const dialog = document.querySelector('dialog[aria-label=\"No valid subscription\"]');" \
|
||||
" if (dialog) { dialog.remove(); console.log('Removed dialog: No valid subscription'); observer.disconnect(); }" \
|
||||
" function removeSubscriptionElements() {" \
|
||||
" const dialogs = document.querySelectorAll('dialog.pwt-outer-dialog');" \
|
||||
" dialogs.forEach(dialog => {" \
|
||||
" const closeButton = dialog.querySelector('.fa-close');" \
|
||||
" const exclamationIcon = dialog.querySelector('.fa-exclamation-triangle');" \
|
||||
" const continueButton = dialog.querySelector('button');" \
|
||||
" if (closeButton && exclamationIcon && continueButton) { dialog.remove(); console.log('Removed subscription dialog'); }" \
|
||||
" });" \
|
||||
" const cards = document.querySelectorAll('.pwt-card.pwt-p-2.pwt-d-flex.pwt-interactive.pwt-justify-content-center');" \
|
||||
" cards.forEach(card => {" \
|
||||
" const hasInteractiveElements = card.querySelector('button, input, a');" \
|
||||
" const hasComplexStructure = card.querySelector('.pwt-grid, .pwt-flex, .pwt-button');" \
|
||||
" if (!hasInteractiveElements && !hasComplexStructure) { card.remove(); console.log('Removed subscription card'); }" \
|
||||
" });" \
|
||||
" observer.observe(document.body, { childList: true, subtree: true });" \
|
||||
" }" \
|
||||
" setTimeout(watchAndRemoveDialog, 100);" \
|
||||
" const observer = new MutationObserver(removeSubscriptionElements);" \
|
||||
" observer.observe(document.body, { childList: true, subtree: true });" \
|
||||
" removeSubscriptionElements();" \
|
||||
" setInterval(removeSubscriptionElements, 300);" \
|
||||
" setTimeout(() => {observer.disconnect();}, 10000);" \
|
||||
"</script>" \
|
||||
"" >> "$MOBILE_TPL"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user