Files
gandalf/config.json

75 lines
1.7 KiB
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,
"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",
2025-02-07 20:31:56 -05:00
"connection_type": "copper"
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",
"critical": true,
"device_id": "usw-24-poe-id"
2025-01-04 01:42:16 -05:00
},
{
2025-02-07 20:55:38 -05:00
"name": "U6 Lite",
"ip": "10.10.10.154",
"type": "access_point",
"connection_type": "copper"
2025-01-04 01:42:16 -05:00
},
{
2025-02-07 20:55:38 -05:00
"name": "USP Strip",
"ip": "10.10.10.243",
"type": "pdu",
"connection_type": "copper"
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
}