# Configuration for Lainmonitor # Telegram bot token TOKEN = 'PLACE_YOUR_TOKEN_HERE' # Allowed Telegram chat IDs (whitelist) ALLOWED_CHATS = [123456789, 987654321] # Per-host configuration HOSTS = { '10.0.0.1': { 'type': 'opnsense', 'api_url': 'https://10.0.0.1/api', 'api_key': 'OPN_KEY_1', 'api_secret': 'OPN_SECRET_1' }, '10.128.0.1': { 'type': 'opnsense', 'api_url': 'https://10.128.0.1/api', 'api_key': 'OPN_KEY_2', 'api_secret': 'OPN_SECRET_2' }, '10.144.0.1': { 'type': 'opnsense', 'api_url': 'https://10.144.0.1/api', 'api_key': 'OPN_KEY_3', 'api_secret': 'OPN_SECRET_3' }, '10.130.1.1': { 'type': 'opnsense', 'api_url': 'https://10.130.1.1/api', 'api_key': 'OPN_KEY_4', 'api_secret': 'OPN_SECRET_4' }, '10.177.0.100': { 'type': 'generic', 'ssh_user': 'SSH_USER_100', 'ssh_pass': 'SSH_PASS_100' } }