Commit Graph

3 Commits

Author SHA1 Message Date
aba3a22d30 fix: configure netdata to use Slack-compatible webhook for Mattermost
Netdata v2.7 doesn't natively support Mattermost notifications, but
Mattermost supports Slack-compatible webhooks. Changed configuration to
use SEND_SLACK with SLACK_WEBHOOK_URL pointing to the Mattermost webhook.

Configuration changes:
- Changed SEND_MATTERMOST="YES" to SEND_SLACK="YES"
- Changed MATTERMOST_WEBHOOK_URL to SLACK_WEBHOOK_URL
- Updated role_recipients_mattermost to role_recipients_slack
- Webhook URL still uses ${MATTERMOST_WEBHOOK_URL} env var from .env

Tested with: alarm-notify.sh test
Result: All three alarm types (WARNING, CRITICAL, CLEAR) show "OK"

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 14:19:56 +01:00
151fdc4b00 feat: configure Mattermost webhook integrations
Added Mattermost webhook notifications for infrastructure services:

- **Netdata**: Health monitoring alerts sent to Mattermost
  - Configured via MATTERMOST_WEBHOOK_URL environment variable
  - All alert roles route to Mattermost notifications channel

- **Restic/Backrest**: Backup status notifications
  - Webhook URL passed as environment variable
  - Backrest web UI can be configured to use the webhook

- **Watchtower**: Container update notifications
  - Uses Shoutrrr mattermost:// URL format
  - Sends notifications when containers are updated

Configuration:
- Webhook URL stored securely in .env file
- All services reference ${MATTERMOST_WEBHOOK_URL} variable
- Watchtower uses specialized Shoutrrr format URL

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-08 19:59:58 +01:00
50404948f4 feat: configure SMTP email notifications across all services
Added comprehensive email configuration to enable notifications for
password resets, user invitations, system alerts, and backup failures.

**Services configured:**

- **Vaultwarden** (vault/compose.yaml):
  - SMTP settings for password resets, 2FA, emergency access emails
  - Uses IONOS SMTP with force_tls security
  - Sender: hi@pivoine.art

- **Linkwarden** (links/compose.yaml):
  - Email server configuration for user invitations
  - Password reset functionality via email
  - Uses smtp:// connection string format

- **n8n** (n8n/compose.yaml):
  - SMTP mode enabled for workflow notifications
  - User invitation emails
  - Password reset support
  - SSL-secured connection

- **Netdata** (netdata/compose.yaml, health_alarm_notify.conf, msmtprc):
  - Health alarm notifications via email
  - MSMTP configuration for sending alerts
  - Notifications sent to valknar@pivoine.art
  - Alerts for system issues, resource exhaustion, service failures

**Common SMTP settings** (from .env):
- Provider: IONOS (smtp.ionos.de:465)
- From address: hi@pivoine.art
- Transport: SMTP with TLS/SSL
- Admin email: valknar@pivoine.art

**Backrest notifications:**
- Configured via web UI at restic.pivoine.art
- Supports webhooks to Gotify for push notifications
- Email notifications can be added through UI settings

All services now have proper email notification capabilities for
improved monitoring, user management, and security features.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-08 19:23:56 +01:00