Compare commits

...
7 Commits
4 changed files with 17 additions and 6 deletions
+11
View File
@@ -16,6 +16,17 @@ All LXC instances created using this repository come pre-installed with Midnight
> [!IMPORTANT] > [!IMPORTANT]
Do not break established syntax in this file, as it is automatically updated by a Github Workflow Do not break established syntax in this file, as it is automatically updated by a Github Workflow
## 2025-01-11
### Changed
### 🚀 Updated Scripts
- Prometheus: Fix installation via creating the service file [@andygrunwald](https://github.com/andygrunwald) ([#1416](https://github.com/community-scripts/ProxmoxVE/pull/1416))
- Update prometheus-install.sh: Service creation fix [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#1417](https://github.com/community-scripts/ProxmoxVE/pull/1417))
- Update prometheus-alertmanager-install.sh: Service Creation Fix [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#1418](https://github.com/community-scripts/ProxmoxVE/pull/1418))
- Fix: LubeLogger CT vehicle tag typo [@kkroboth](https://github.com/kkroboth) ([#1413](https://github.com/community-scripts/ProxmoxVE/pull/1413))
## 2025-01-10 ## 2025-01-10
### Changed ### Changed
+1 -1
View File
@@ -7,7 +7,7 @@ source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/m
# App Default Values # App Default Values
APP="LubeLogger" APP="LubeLogger"
var_tags="verhicle;car" var_tags="vehicle;car"
var_cpu="1" var_cpu="1"
var_ram="512" var_ram="512"
var_disk="2" var_disk="2"
+2 -2
View File
@@ -33,7 +33,7 @@ msg_ok "Installed Prometheus Alertmanager"
msg_info "Creating Service" msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/prometheus-alertmanager.service cat <<EOF >/etc/systemd/system/prometheus-alertmanager.service
echo "[Unit] [Unit]
Description=Prometheus Alertmanager Description=Prometheus Alertmanager
Wants=network-online.target Wants=network-online.target
After=network-online.target After=network-online.target
@@ -49,7 +49,7 @@ ExecStart=/usr/local/bin/alertmanager \
ExecReload=/bin/kill -HUP \$MAINPID ExecReload=/bin/kill -HUP \$MAINPID
[Install] [Install]
WantedBy=multi-user.target" WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now prometheus-alertmanager systemctl enable -q --now prometheus-alertmanager
msg_ok "Created Service" msg_ok "Created Service"
+3 -3
View File
@@ -32,8 +32,8 @@ echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
msg_ok "Installed Prometheus" msg_ok "Installed Prometheus"
msg_info "Creating Service" msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/prometheus.service" cat <<EOF >/etc/systemd/system/prometheus.service
echo "[Unit] [Unit]
Description=Prometheus Description=Prometheus
Wants=network-online.target Wants=network-online.target
After=network-online.target After=network-online.target
@@ -49,7 +49,7 @@ ExecStart=/usr/local/bin/prometheus \
ExecReload=/bin/kill -HUP \$MAINPID ExecReload=/bin/kill -HUP \$MAINPID
[Install] [Install]
WantedBy=multi-user.target" WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now prometheus systemctl enable -q --now prometheus
msg_ok "Created Service" msg_ok "Created Service"