Skip to content
dbraga edited this page Nov 11, 2014 · 1 revision

WikiInstallation & Setup

Prerequisites

  • Thoth Index up and running

Generating artifact and war

  1. Clone the project
  2. Use maven to generate artifact and war
mvn clean install

Run Application

  1. Copy war file inside a web server/container like Jetty or Tomcat
  2. Create a configuration file named application.properties and place it in the resource folder of your container.

Configuration

The application.properties file must contain:

  • thoth.index.url : url of the Thoth Index
  • thoth.monitor.ignore : some server might want to be ignored from the monitoring. Multiple servers specified must be separated with ,. Different information about a server must be separated with ;
  • thoth.monitor.quartz.schedule: scheduler for the monitor.
  • thoth.monitor.predictor.uri : thoth predictor url
  • thoth.monitor.predictor.enabled : if we should monitor thoth predictor
  • thoth.monitor.predictor.health.score.threshold = threshold to monitor for thoth predictor
  • thoth.monitor.configuration.file: thoth monitors configuration file, it contains the list of all enabled monitors
  • thoth.mailer.sender : email used by thoth
  • thoth.mailer.receiver: destination of thoth email alerts
  • thoth.mailer.host: emailer host

Here's a dummy example

thoth.index.url=http://localhost:8983/solr/
thoth.monitor.ignore=name-of-the-host;123456;name-of-the-core;name-of-the-pool
thoth.monitor.quartz.schedule = 0 * * * * ?

thoth.monitor.predictor.uri = http://localhost:8081
thoth.monitor.predictor.enabled = false
thoth.monitor.predictor.health.score.threshold = 0.3

thoth.monitor.configuration.file=/tmp/monitors.xml

[email protected]
[email protected]
thoth.mailer.host=localhost
Clone this wiki locally