mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Server memory instrumentation and fixes.
This commit is contained in:
parent
68e7d6f6f7
commit
cee5f2ac00
9 changed files with 2141508 additions and 28 deletions
10
meshagent.js
10
meshagent.js
|
@ -714,6 +714,16 @@ module.exports.CreateMeshAgent = function (parent, db, ws, req, args, domain) {
|
|||
obj.close(1);
|
||||
}
|
||||
|
||||
obj.sendUpdatedIntelAmtPolicy = function() {
|
||||
var mesh = obj.parent.meshes[obj.dbMeshKey];
|
||||
if (mesh != null) {
|
||||
// Send Intel AMT policy
|
||||
var amtPolicy = null;
|
||||
if (mesh.amt != null) { amtPolicy = mesh.amt; }
|
||||
obj.send(JSON.stringify({ action: 'amtPolicy', amtPolicy: amtPolicy }));
|
||||
}
|
||||
}
|
||||
|
||||
function agentCoreIsStable() {
|
||||
// Check that the mesh exists
|
||||
var mesh = obj.parent.meshes[obj.dbMeshKey];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue