Update monitoring script references from aitbc-monitor to aitbc-monitoring

- Fixed verify-monitoring.sh to check aitbc-monitoring.service instead of deleted aitbc-monitor.service
- Fixed setup-automated-alerts.sh to enable/start aitbc-monitoring.service instead of deleted aitbc-monitor.service
This commit is contained in:
aitbc
2026-05-14 09:16:41 +02:00
parent d339d15f40
commit 4f1b4e1b74
2 changed files with 4 additions and 4 deletions

View File

@@ -178,9 +178,9 @@ EOF
echo "✅ Alertmanager configuration created"
# Enable monitoring service
if [[ -f "/etc/systemd/system/aitbc-monitor.service" ]]; then
systemctl enable aitbc-monitor.service
systemctl start aitbc-monitor.service
if [[ -f "/etc/systemd/system/aitbc-monitoring.service" ]]; then
systemctl enable aitbc-monitoring.service
systemctl start aitbc-monitoring.service
echo "✅ Monitoring service started"
else
echo "⚠️ Monitoring service not found, skipping service start"

View File

@@ -23,7 +23,7 @@ fi
echo "✅ Alert rules exist"
# Check monitoring service status
if systemctl is-active --quiet aitbc-monitor.service; then
if systemctl is-active --quiet aitbc-monitoring.service; then
echo "✅ Monitoring service is running"
else
echo "⚠️ Monitoring service is not running"