Initial commit for Synology Monitor
This commit is contained in:
43
.env.example
Normal file
43
.env.example
Normal file
@@ -0,0 +1,43 @@
|
||||
# ──────────────────────────────────────────────
|
||||
# Synology Monitor – Environment Configuration
|
||||
# ──────────────────────────────────────────────
|
||||
|
||||
# ── Synology DSM ──────────────────────────────
|
||||
SYNOLOGY_URL=https://enigma.seekright.ai
|
||||
SYNOLOGY_USERNAME=admin
|
||||
SYNOLOGY_PASSWORD=your_password_here
|
||||
# DSM API port (default 5001 for HTTPS, 5000 for HTTP)
|
||||
SYNOLOGY_PORT=443
|
||||
|
||||
# ── Image URLs to monitor (comma-separated) ───
|
||||
IMAGE_URLS=https://images.seekright.ai/MOTL/ANOMALY/Qassim/504/Informative_Signs/504_283_225_1049105.868_33_6956.jpeg
|
||||
|
||||
# ── RocketChat Webhook ────────────────────────
|
||||
ROCKETCHAT_WEBHOOK_URL=https://your-rocketchat.example.com/hooks/XXXX/YYYY
|
||||
# Optional: override the bot display name
|
||||
ROCKETCHAT_BOT_NAME=MonitorBot
|
||||
# Optional: override the bot avatar emoji
|
||||
ROCKETCHAT_BOT_EMOJI=:robot:
|
||||
# RocketChat channel to post to (e.g. #monitoring or @username)
|
||||
ROCKETCHAT_CHANNEL=#monitoring
|
||||
|
||||
# ── Email (Gmail + App Password) ─────────────
|
||||
SMTP_HOST=smtp.gmail.com
|
||||
SMTP_PORT=587
|
||||
SMTP_USERNAME=your_gmail@gmail.com
|
||||
SMTP_PASSWORD=your_app_password_here
|
||||
EMAIL_FROM=your_gmail@gmail.com
|
||||
EMAIL_TO=recipient@example.com
|
||||
# Optional: additional CC addresses (comma-separated)
|
||||
EMAIL_CC=
|
||||
|
||||
# ── Check Schedule ────────────────────────────
|
||||
# Interval in hours between checks
|
||||
CHECK_INTERVAL_HOURS=3
|
||||
|
||||
# ── Request timeouts ─────────────────────────
|
||||
REQUEST_TIMEOUT_SECONDS=15
|
||||
|
||||
# ── Logging ───────────────────────────────────
|
||||
LOG_LEVEL=INFO
|
||||
LOG_FILE=monitor.log
|
||||
Reference in New Issue
Block a user