# Matrix-Health-Monitor environment variables # Copy this to .env and fill in your values # Matrix homeserver URL MATRIX_HOMESERVER=https://synapse.rewr.ca # Access token for the monitor bot account # Get this from your Matrix client or via: curl -X POST '/_matrix/client/v3/login' --data '{"type":"m.login.password","identifier":{"type":"m.id.user","user":"@bot:server"},"password":"","initial_device_display_name":"Monitor Bot"}' MATRIX_ACCESS_TOKEN= # Room to post health reports to (leave empty to auto-create on first run) #MATRIX_MONITOR_ROOM=!yourroomid:server # Telegram alerts (optional - set both for Telegram notifications) TELEGRAM_BOT_TOKEN= TELEGRAM_CHAT_ID= # Check intervals (seconds) CHECK_INTERVAL_LIGHT=300 CHECK_INTERVAL_FULL=3600 # HTTP health endpoint port HTTP_PORT=8090 # Reporting: set REPORT_ON_FAILURE=true to report only failures, false for always REPORT_ON_FAILURE=true REPORT_ALWAYS=false # Test message prefix TEST_MSG_PREFIX=[health-test]