# OPNsense Configuration opnsense: host: "https://192.168.1.1" # Your OPNsense IP/Hostname api_key: "YOUR_API_KEY_HERE" api_secret: "YOUR_API_SECRET_HERE" verify_ssl: false # Set to true in production with valid cert # Monitoring Configuration monitoring: polling_interval: 60 # Seconds between checks # Interfaces to monitor (leave empty to monitor all) monitored_interfaces: - lan - wan # - opt1 # - opt2 # Events to monitor events: dhcp_leases: true # New IP assigned new_devices: true # New device detected interface_status: true # Interface up/down gateway_status: true # Gateway status changes # Web Interface Configuration web: host: "0.0.0.0" port: 5000 secret_key: "CHANGE_THIS_SECRET_KEY_IN_PRODUCTION" # Change this! # Login credentials (username: admin) admin_password_hash: "scrypt:32768:8:1$CHANGEME$hash" # See README for generation # Email Notification Configuration email: enabled: true smtp_server: "mail.yourdomain.com" smtp_port: 587 smtp_use_tls: true smtp_username: "watchdog@yourdomain.com" smtp_password: "YOUR_SMTP_PASSWORD" from_address: "watchdog@yourdomain.com" to_addresses: - "admin@yourdomain.com" - "security@yourdomain.com" # Email settings send_on_startup: true batch_notifications: false # Group multiple events in one email batch_interval: 300 # Seconds to wait before sending batch # Database Configuration database: path: "/app/data/watchdog.db" retention_days: 90 # Keep events for 90 days # Logging logging: level: "INFO" # DEBUG, INFO, WARNING, ERROR file: "/app/data/watchdog.log"