Plugin diagnostics can be invoked either via CLI or WebGUI.
CLI: plugin-diagnostics pluginFolder
WebGUI: http://unraid-server/plugins/plugin-diagnostics/download.php?plugin=pluginFolder
A diagnostics.json file should be placed in the plugin folder within /usr/local/emhttp/plugins using the following structure. Unused sections may be omitted.
{
"commands": [
{
"command": "command to run",
"file": "file-for-output.txt"
}
],
"files": [
"/files/to/include"
],
"system_diagnostics": true
}