Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1.11 KB

README.md

File metadata and controls

36 lines (26 loc) · 1.11 KB

mTorClient

Pluggable jar for the mTor monitoring system Add this jar as a dependency in the Java projects you want to monitor This will monitor project variables as well as the server environment.

By default a heartbeat message is sent every 5 minutes.

Also by default the disk space and free memory is monitored. If thresholds are passed, status messages are sent to a central mTor server.

Using mTorClient

  1. Add the jar file to your maven repository with mvn install

  2. Add the following dependency to your projects pom.xml

nl.bhit.mtor.client mTorClient x.x
  1. Add the StartupListener for the client to the web.xml: nl.bhit.mtor.client.StartupListener

  2. Add a file mTor.properties to your projects root wherein you add exceptions to mTor.default.properties: mTor.server.username=admin mTor.server.password=admin mTor.project.id=-1

  3. Add your own providers to monitor application parameters or more server parameters