0.0.1-f • Published 8 years ago

meshagent v0.0.1-f

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
8 years ago

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:

ArgumentsDescription
--installInstall MeshCentral as a background service.
--uninstallUninstall MeshCentral background service.
--startStart MeshCentral as a background service.
--stopStop MeshCentral background service.

Command line arguments on any platform:

ArgumentsDescription
--helpDisplay 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.