more dynamic

This commit is contained in:
2025-02-08 00:11:28 -05:00
parent dc117b276e
commit 68beb7b1c4
2 changed files with 23 additions and 126 deletions

View File

@ -4,37 +4,5 @@
"api_key": "kyPfIsAVie3hwMD4Bc1MjAu8N7HVPIb8",
"site_id": "default"
},
"devices": [
{
"name": "UniFi Dream Machine Pro",
"ip": "10.10.10.1",
"type": "router",
"connection_type": "copper",
"critical": true
},
{
"name": "USW Pro 24 PoE",
"ip": "10.10.10.139",
"type": "switch",
"connection_type": "fiber",
"critical": true
}
],
"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"]
}
}
"check_interval": 30
}