meshagent
v0.0.1-f
Published
Web based remote computer management agent for MeshCentral
Downloads
22
Maintainers
Readme
Meshagent
Before using this project, you must install MeshCentral. For more information, visit MeshCommander.com/MeshCentral2.
This is a sample Mesh Agent that connects to the MeshCentral server for the purpose of remote monitoring and management of a computer. MeshCentral generally uses a Mesh Agent that is compiled in C on many different platforms, but you can also use this code as a basis for building your own Mesh Agent with the functionality you need.
Installation
Just using npm as usual to install the Mesh Agent:
mkdir meshagent
cd meshagent
npm install meshagent
To run Mesh Agent you may need to use "nodejs" instead of "node" on Linux.
cd ./node_modules/meshagent
node meshagent [arguments]
On Windows, you can install mesh agent to run as a background service, just run it using "--install".
Update and uninstall
Upgrading or uninstalling the mesh agent is super easy, just use npm as usual. From the parent folder of node_module, enter ether:
npm upgrade meshagent
npm uninstall meshagent
Command Line
Command line arguments on Windows only:
| Arguments | Description | ------------------------------------- | ----------- | --install | Install MeshCentral as a background service. | --uninstall | Uninstall MeshCentral background service. | --start | Start MeshCentral as a background service. | --stop | Stop MeshCentral background service.
Command line arguments on any platform:
| Arguments | Description | ------------------------------------- | ----------- | --help | Display the help text
Other Notes
For Windows users, if you install the mesh agent globally using "npm install meshagent -g", it will not be able to run correctly as a Windows Service. It will immidiatly stop each time you start it.
For more information on MeshCentral or other tools, visit MeshCommander.com.
License
This software is licensed under Apache 2.0.