{ "unifi": { "controller": "https://10.10.10.1", "api_key": "kyPfIsAVie3hwMD4Bc1MjAu8N7HVPIb8", "site_id": "default" }, "devices": [ { "name": "UniFi Dream Machine Pro", "ip": "10.10.10.1", "type": "router", "connection_type": "copper", "critical": true, "device_id": "udm-pro-id" }, { "name": "USP PDU Pro", "ip": "10.10.10.107", "type": "pdu", "connection_type": "copper", "critical": true }, { "name": "USW Aggregation", "ip": "10.10.10.238", "type": "switch", "connection_type": "fiber", "critical": true }, { "name": "USW Flex Mini", "ip": "10.10.10.169", "type": "switch", "connection_type": "copper" }, { "name": "USW Pro 24 PoE", "ip": "10.10.10.139", "type": "switch", "connection_type": "fiber", "critical": true, "device_id": "usw-24-poe-id" }, { "name": "U6 Lite", "ip": "10.10.10.154", "type": "access_point", "connection_type": "copper" }, { "name": "USP Strip", "ip": "10.10.10.243", "type": "pdu", "connection_type": "copper" } ], "check_interval": 30, "webhook_url": "https://your-webhook-url", "alert_thresholds": { "fiber": { "optical_power_min": -10, "optical_power_max": 0, "error_rate_threshold": 0.001 }, "copper": { "signal_quality_min": 70, "max_cable_length": 100 } }, "troubleshooting": { "fiber_tests": ["optical_power", "light_levels", "error_rate", "sfp_diagnostics"], "copper_tests": ["cable_length", "crosstalk", "signal_quality", "poe_status"] } }