This version (2018/07/12 17:37) is a draft.
Approvals: 0/1

Monitoring service setup

To monitor and manage LTU Engine, we recommand to install the tool Monit.

Monit is a helpful program that automatically for managing and monitoring processes, programs, files, directories and filesystems on a Unix system.

To get more information about Monit, please consult the documentation :How to install and configure Monit

Install Monit on the server where is installed LTU Engine.

sudo apt-get install monit
  • To monitor LTU Engine server, update the configuration file /etc/monit/monitrc arround line 116:
set httpd port 2812 and   
    use address  # your local server listening address
    allow        # allow your local server network
    allow admin:monit       # require user 'admin' with password 'monit'    
  • Define the configuration file for managing LTU Engine services /etc/monit/conf.d/ltuengine.conf.

Specify how to start and stop a service :

check process WEKI with pidfile /opt/ltuengine/run/
    start program = "/etc/init.d/ltud start weki"                               
    stop program = "/etc/init.d/ltud stop weki"
check process PROCESSOR with pidfile /opt/ltuengine/run/
    start program = "/etc/init.d/ltud start processor"
    stop program = "/etc/init.d/ltud stop processor"
  • Then restart Monit service:
/etc/init.d/monit restart

Status of services can be checked by connecting to the Monir interface with the right user: http://SERVER:2812