Files
ProxmoxVE/install/telegraf-install.sh

31 lines
680 B
Bash
Raw Permalink Normal View History

2025-09-11 21:03:34 +02:00
#!/usr/bin/env bash
# Copyright (c) 2021-2026 community-scripts ORG
2025-09-11 21:03:34 +02:00
# 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
2025-12-17 16:34:53 +01:00
msg_info "Setting up Telegraf repository"
setup_deb822_repo \
"telegraf" \
"https://repos.influxdata.com/influxdata-archive.key" \
"https://repos.influxdata.com/debian" \
"stable"
msg_ok "Setup Telegraf Repository"
2025-09-11 21:03:34 +02:00
2025-12-17 16:34:53 +01:00
msg_info "Setting up Telegraf"
$STD apt install -y telegraf
msg_ok "Setup Telegraf"
2025-09-11 21:03:34 +02:00
motd_ssh
customize
cleanup_lxc