- Port now set via config.json "port" field - Aggregator reads PORT from environment variable - Updated all docs and scripts to use port 5100 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
58 lines
1023 B
JSON
58 lines
1023 B
JSON
{
|
|
"port": 5100,
|
|
"aggregator": {
|
|
"script": "aggregator.py"
|
|
},
|
|
"detectors": [
|
|
{
|
|
"name": "disk_space",
|
|
"enabled": true,
|
|
"script": "detectors/disk_space.py",
|
|
"env": {
|
|
"CHECK_INTERVAL": "300",
|
|
"THRESHOLD_WARNING": "85",
|
|
"THRESHOLD_CRITICAL": "95"
|
|
}
|
|
},
|
|
{
|
|
"name": "cpu",
|
|
"enabled": true,
|
|
"script": "detectors/cpu.py",
|
|
"env": {
|
|
"CHECK_INTERVAL": "30",
|
|
"THRESHOLD_WARNING": "85",
|
|
"THRESHOLD_CRITICAL": "95"
|
|
}
|
|
},
|
|
{
|
|
"name": "memory",
|
|
"enabled": true,
|
|
"script": "detectors/memory.py",
|
|
"env": {
|
|
"CHECK_INTERVAL": "30",
|
|
"THRESHOLD_WARNING": "85",
|
|
"THRESHOLD_CRITICAL": "95"
|
|
}
|
|
},
|
|
{
|
|
"name": "service",
|
|
"enabled": false,
|
|
"script": "detectors/service.py",
|
|
"env": {
|
|
"CHECK_INTERVAL": "30",
|
|
"SERVICES": "nginx,postgres"
|
|
}
|
|
},
|
|
{
|
|
"name": "network",
|
|
"enabled": false,
|
|
"script": "detectors/network.py",
|
|
"env": {
|
|
"CHECK_INTERVAL": "60",
|
|
"HOSTS": "8.8.8.8,google.com",
|
|
"TIMEOUT": "5"
|
|
}
|
|
}
|
|
]
|
|
}
|