A plugin for MeshCentral to notify plugins if an agent has disconnected.
Depends on MeshCentral-PluginHookScheduler and hook_afterCreateMeshAgent
to be enabled.
See Plugins - Installation & Usage
To install, simply add the plugin configuration URL when prompted:
https://raw.githubusercontent.com/bitctrl/MeshCentral-HookAgentWebSocketDisconnected/main/config.json
{
"$schema": "https://raw.githubusercontent.com/Ylianst/MeshCentral/master/meshcentral-config-schema.json",
"settings": {
"plugins": {
"enabled": true,
"pluginSettings": {
"pluginhookscheduler": {
"backendhooks": [
["hook_afterCreateMeshAgent", []],
]
}
}
}
}
}