Add start-service.bat script for Resource Monitor Service v2.0
- Introduced a batch script to simplify the startup process for the Resource Monitor Service. - Included checks for .NET 9.0 Runtime installation. - Added build and run commands for the service with appropriate error handling. - Provided user instructions and API documentation links in the script output.
This commit is contained in:
+76
-1
@@ -14,6 +14,81 @@
|
||||
}
|
||||
},
|
||||
"ApiSettings": {
|
||||
"ApiKey": "b7f3e8a1-4c2d-4d9f-9a6e-2a1c5d7f8e9a"
|
||||
"ApiKey": "b7f3e8a1-4c2d-4d9f-9a6e-2a1c5d7f8e9a",
|
||||
"RequireApiKey": false,
|
||||
"AllowedOrigins": [
|
||||
"http://localhost:4200",
|
||||
"http://192.168.50.52:4200",
|
||||
"http://vmwin11:4200",
|
||||
"http://unraid:4200"
|
||||
],
|
||||
"EnableSwagger": false,
|
||||
"BasePath": "/api"
|
||||
},
|
||||
"MonitoringSettings": {
|
||||
"UpdateIntervalMs": 5000,
|
||||
"DataRetentionDays": 7,
|
||||
"EnableGpuMonitoring": true,
|
||||
"EnableDiskMonitoring": true,
|
||||
"EnableNetworkMonitoring": true,
|
||||
"EnableTemperatureMonitoring": true,
|
||||
"EnableProcessMonitoring": true,
|
||||
"EnableGameDetection": true,
|
||||
"EnableAlerts": true,
|
||||
"MaxProcessesToTrack": 10,
|
||||
"MaxHistoryPoints": 1000,
|
||||
"GamePlatformPaths": [
|
||||
"\\steamapps\\common\\",
|
||||
"\\Epic Games\\",
|
||||
"\\GOG Galaxy\\Games\\",
|
||||
"\\Origin Games\\",
|
||||
"\\Ubisoft Game Launcher\\games\\"
|
||||
],
|
||||
"AlertThresholds": [
|
||||
{
|
||||
"Component": "CPU",
|
||||
"WarningThreshold": 80,
|
||||
"CriticalThreshold": 95,
|
||||
"DurationSeconds": 30,
|
||||
"IsEnabled": true
|
||||
},
|
||||
{
|
||||
"Component": "Memory",
|
||||
"WarningThreshold": 85,
|
||||
"CriticalThreshold": 95,
|
||||
"DurationSeconds": 30,
|
||||
"IsEnabled": true
|
||||
},
|
||||
{
|
||||
"Component": "GPU",
|
||||
"WarningThreshold": 85,
|
||||
"CriticalThreshold": 95,
|
||||
"DurationSeconds": 30,
|
||||
"IsEnabled": true
|
||||
},
|
||||
{
|
||||
"Component": "CPUTemp",
|
||||
"WarningThreshold": 75,
|
||||
"CriticalThreshold": 85,
|
||||
"DurationSeconds": 60,
|
||||
"IsEnabled": true
|
||||
},
|
||||
{
|
||||
"Component": "GPUTemp",
|
||||
"WarningThreshold": 80,
|
||||
"CriticalThreshold": 90,
|
||||
"DurationSeconds": 60,
|
||||
"IsEnabled": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"LoggingSettings": {
|
||||
"LogLevel": "Information",
|
||||
"LogPath": "logs",
|
||||
"MaxLogFiles": 30,
|
||||
"MaxLogFileSizeMB": 10,
|
||||
"EnableFileLogging": true,
|
||||
"EnableConsoleLogging": true,
|
||||
"EnablePerformanceLogging": false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user