From c481fd16a21482a348a19556558351c14b57ce48 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 18 Nov 2026 17:53:41 +0000 Subject: [PATCH] Delete scrutiny (ct) after migration to ProxmoxVE --- ct/scrutiny.sh | 59 --------------------- install/scrutiny-install.sh | 101 ------------------------------------ json/scrutiny.json | 47 ----------------- 3 files changed, 207 deletions(-) delete mode 100644 ct/scrutiny.sh delete mode 100644 install/scrutiny-install.sh delete mode 100644 json/scrutiny.json diff --git a/ct/scrutiny.sh b/ct/scrutiny.sh deleted file mode 100644 index 2694dbe0cc..0000000000 --- a/ct/scrutiny.sh +++ /dev/null @@ -1,59 +0,0 @@ -#!/usr/bin/env bash -_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/DevScripts/main" -_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" -source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") -# Copyright (c) 2021-2026 community-scripts ORG -# Author: MickLesk (CanbiZ) -# License: MIT | https://github.com/community-scripts/DevScripts/raw/main/LICENSE -# Source: https://github.com/AnalogJ/scrutiny - -APP="Scrutiny" -var_tags="${var_tags:-monitoring;smart;disk}" -var_cpu="${var_cpu:-1}" -var_ram="${var_ram:-1024}" -var_disk="${var_disk:-4}" -var_os="${var_os:-debian}" -var_version="${var_version:-13}" -var_arm64="${var_arm64:-yes}" -var_unprivileged="${var_unprivileged:-1}" -var_testurl="${var_testurl:-https://github.com/community-scripts/DevScripts/issues/2653}" - -header_info "$APP" -variables -color -catch_errors - -function update_script() { - header_info - check_container_storage - check_container_resources - - if [[ ! -f /opt/scrutiny/scrutiny ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - - if check_for_gh_release "scrutiny" "AnalogJ/scrutiny"; then - msg_info "Stopping Scrutiny" - systemctl stop scrutiny - msg_ok "Stopped Scrutiny" - - fetch_and_deploy_gh_release "scrutiny" "AnalogJ/scrutiny" "singlefile" "latest" "/opt/scrutiny" "scrutiny-web-linux-$(arch_resolve "amd64" "arm64")" - CLEAN_INSTALL=1 fetch_and_deploy_gh_release "scrutiny-web" "AnalogJ/scrutiny" "prebuild" "latest" "/opt/scrutiny/web" "scrutiny-web-frontend.tar.gz" - - msg_info "Starting Scrutiny" - systemctl start scrutiny - msg_ok "Started Scrutiny" - msg_ok "Updated successfully!" - fi - exit -} - -start -build_container -description - -msg_ok "Completed Successfully!\n" -echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" -echo -e "${INFO}${YW}Access it using the following URL:${CL}" -echo -e "${GATEWAY}${BGN}http://${IP}:8080${CL}" diff --git a/install/scrutiny-install.sh b/install/scrutiny-install.sh deleted file mode 100644 index b2368e8e86..0000000000 --- a/install/scrutiny-install.sh +++ /dev/null @@ -1,101 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2021-2026 community-scripts ORG -# Author: MickLesk (CanbiZ) -# License: MIT | https://github.com/community-scripts/DevScripts/raw/main/LICENSE -# Source: https://github.com/AnalogJ/scrutiny - -source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" -color -verb_ip6 -catch_errors -setting_up_container -network_check -update_os - -msg_info "Setting up InfluxDB Repository" -setup_deb822_repo \ - "influxdata" \ - "https://repos.influxdata.com/influxdata-archive.key" \ - "https://repos.influxdata.com/debian" \ - "stable" -msg_ok "Set up InfluxDB Repository" - -msg_info "Installing InfluxDB" -$STD apt install -y influxdb2 -systemctl enable -q --now influxdb -for _ in {1..30}; do - curl -fsS http://127.0.0.1:8086/health >/dev/null 2>&1 && break - sleep 1 -done -msg_ok "Installed InfluxDB" - -msg_info "Configuring InfluxDB" -INFLUX_PASS="$(random_password)" -INFLUX_TOKEN="$(random_password 48)" -curl -fsS -X POST http://127.0.0.1:8086/api/v2/setup \ - -H "Content-Type: application/json" \ - -d "{\"username\":\"admin\",\"password\":\"${INFLUX_PASS}\",\"org\":\"scrutiny\",\"bucket\":\"metrics\",\"token\":\"${INFLUX_TOKEN}\"}" >/dev/null -mkdir -p /opt/scrutiny_data -cat </opt/scrutiny_data/.env -INFLUXDB_USER=admin -INFLUXDB_PASSWORD=${INFLUX_PASS} -INFLUXDB_TOKEN=${INFLUX_TOKEN} -EOT -chmod 600 /opt/scrutiny_data/.env -msg_ok "Configured InfluxDB" - -fetch_and_deploy_gh_release "scrutiny" "AnalogJ/scrutiny" "singlefile" "latest" "/opt/scrutiny" "scrutiny-web-linux-$(arch_resolve "amd64" "arm64")" -fetch_and_deploy_gh_release "scrutiny-web" "AnalogJ/scrutiny" "prebuild" "latest" "/opt/scrutiny/web" "scrutiny-web-frontend.tar.gz" - -msg_info "Configuring Scrutiny" -cat </opt/scrutiny_data/scrutiny.yaml -version: 1 -web: - listen: - port: 8080 - host: 0.0.0.0 - basepath: '' - database: - location: /opt/scrutiny_data/scrutiny.db - src: - frontend: - path: /opt/scrutiny/web - influxdb: - scheme: 'http' - host: 127.0.0.1 - port: 8086 - token: '${INFLUX_TOKEN}' - org: 'scrutiny' - bucket: 'metrics' - retention_policy: true -log: - file: '' - level: INFO -EOT -chmod 600 /opt/scrutiny_data/scrutiny.yaml -msg_ok "Configured Scrutiny" - -msg_info "Creating Service" -cat </etc/systemd/system/scrutiny.service -[Unit] -Description=Scrutiny -After=network-online.target influxdb.service -Requires=influxdb.service - -[Service] -Type=simple -WorkingDirectory=/opt/scrutiny_data -ExecStart=/opt/scrutiny/scrutiny start --config /opt/scrutiny_data/scrutiny.yaml -Restart=on-failure -RestartSec=5 - -[Install] -WantedBy=multi-user.target -EOT -systemctl enable -q --now scrutiny -msg_ok "Created Service" - -motd_ssh -customize -cleanup_lxc diff --git a/json/scrutiny.json b/json/scrutiny.json deleted file mode 100644 index 94e40290df..0000000000 --- a/json/scrutiny.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "name": "Scrutiny", - "slug": "scrutiny", - "categories": [ - 9 - ], - "date_created": "2026-11-15", - "type": "ct", - "updateable": true, - "privileged": false, - "interface_port": 8080, - "documentation": "https://github.com/AnalogJ/scrutiny/blob/master/docs/INSTALL_MANUAL.md", - "website": "https://github.com/AnalogJ/scrutiny", - "repository": "https://github.com/AnalogJ/scrutiny", - "architectures": ["amd64", "arm64"], - "platforms": ["pve"], - "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/scrutiny.webp", - "description": "Scrutiny is a dashboard for hard drive health based on S.M.A.R.T. data. It keeps the history of every disk, compares the values against real-world failure rates from Backblaze and sends notifications when a drive starts to fail.", - "install_methods": [ - { - "type": "default", - "script": "ct/scrutiny.sh", - "config_path": "/opt/scrutiny_data/scrutiny.yaml", - "resources": { - "cpu": 1, - "ram": 1024, - "hdd": 4, - "os": "Debian", - "version": "13" - } - } - ], - "default_credentials": { - "username": null, - "password": null - }, - "notes": [ - { - "text": "The container cannot read the disks. Run the Scrutiny Collector tool (tools/pve/scrutiny-collector.sh) on every machine whose disks you want to monitor and give it http://:8080.", - "type": "info" - }, - { - "text": "The web UI has no login. Keep port 8080 inside your LAN or put it behind a reverse proxy with authentication.", - "type": "warning" - } - ] -}