Files
gandalf/config.json

41 lines
971 B
JSON
Raw Normal View History

2025-01-04 01:42:16 -05:00
{
2025-02-07 20:55:38 -05:00
"unifi": {
"controller": "https://10.10.10.1",
"api_key": "kyPfIsAVie3hwMD4Bc1MjAu8N7HVPIb8",
"site_id": "default"
},
2025-01-04 01:42:16 -05:00
"devices": [
{
"name": "UniFi Dream Machine Pro",
2025-02-07 20:55:38 -05:00
"ip": "10.10.10.1",
2025-02-07 20:31:56 -05:00
"type": "router",
2025-02-07 20:55:38 -05:00
"connection_type": "copper",
"critical": true
},
2025-01-04 01:42:16 -05:00
{
2025-02-07 20:55:38 -05:00
"name": "USW Pro 24 PoE",
"ip": "10.10.10.139",
2025-02-07 20:31:56 -05:00
"type": "switch",
2025-02-07 20:55:38 -05:00
"connection_type": "fiber",
2025-02-07 21:53:12 -05:00
"critical": true
2025-01-04 01:42:16 -05:00
}
],
2025-02-07 20:31:56 -05:00
"check_interval": 30,
"webhook_url": "https://your-webhook-url",
2025-02-07 20:55:38 -05:00
"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
}
},
2025-02-07 20:31:56 -05:00
"troubleshooting": {
2025-02-07 20:55:38 -05:00
"fiber_tests": ["optical_power", "light_levels", "error_rate", "sfp_diagnostics"],
"copper_tests": ["cable_length", "crosstalk", "signal_quality", "poe_status"]
2025-02-07 20:31:56 -05:00
}
2025-01-04 01:42:16 -05:00
}