1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Started work on Intel AMT hello server.

This commit is contained in:
Ylian Saint-Hilaire 2021-03-10 19:01:10 -08:00
parent ede89f159a
commit 92138327bf
3 changed files with 120 additions and 1 deletions

View file

@ -1649,6 +1649,11 @@ function CreateMeshCentralServer(config, args) {
}
});
// Setup Intel AMT hello server
if ((typeof config.settings.amthelloserver == 'object') && (typeof config.settings.amthelloserver.devicegroup == 'string')) {
obj.amthelloserver = require('./amthelloserver').CreateAmtHelloServer(obj, config.settings.amthelloserver);
}
// Start collecting server stats every 5 minutes
setInterval(function () {
obj.serverStatsCounter++;