This version (2018/02/01 18:15) is a draft.
Approvals: 0/1


Every services that composed LTU engine can be started, stopped or restarted using the ltud commande.

Logged in as root: /etc/init.d/ltud [options]
options: start, stop, status all, restart

Monitor logs

Logs of the product are order by important state:

  • INFO : Regular logging information.
  • WARNING : Potential issue, with no repercussion on the product.
  • ERROR : Error in the product this could affect the product.
  • CRITICAL : Something is wrong, contact support@ltutech.com

When monitoring log, you can filter them according to this various levels.

How to forward logs to syslog


  • Edit your spec file located here: /opt/ltutengine/config/ltuengine.spec
  • Update and add these lines:
    "SYSLOG_HANDLER_LOG_LEVEL": "INFO",
    "SYSLOG_LOG_FORMAT_PREFIX": "saas-standalone",
    "SYSLOG_LOG_FORMAT": "%(SYSLOG_LOG_FORMAT_PREFIX)s[%%(threadName)s] %%(levelname)s [%%(name)s::%%(funcName)s] %%(message)s",
    "SYSLOG_FACILITY": "LOG_LOCAL7",
    "ENABLE_SYSLOG": "True",
    "ENABLE_FILE_LOGGING": "False",


  • Then run this command to reload your configuration:
su - ltu
ltusaas-generate-config-files -i /opt/ltutengine/config/ltuengine.spec -m all -o /opt/ltu/env/run/cache/config
ltud restart all

All PID files can be found on /opt/ltuengine/run/

command[check_manager]=/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1:2 -C "LTU" -a "manager service"
command[check_app_worker]=/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1:2 -C "LTU" -a "application worker"
command[check_admin_worker]=/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1:2 -C "LTU" -a "administrator worker"
command[check_collector]=/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1:2 -C "LTU" -a "collector service"
command[check_processor]=/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1:2 -C "LTU" -a "processor service"
command[check_weki]=/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1:2 -C "LTU" -a "weki service"
command[check_frontoffice]=/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1:2 -C "LTU" -a "frontoffice service"
  command[check_rabbit]=/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1:2 -C "beam.smp" -a "rabbit"

command[check_pgsql]=/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1:2 -C "postgres" -a "-D /var/lib/postgresql/9.1/main -c config_file=/etc/postgresql/9.1/main/postgresql.conf"

  command[check_license]=/usr/lib/nagios/plugins/check_license_date /opt/ltuengine/config/license.lic
  • Scripts:

https://github.com/ltutech/exploit/tree/master/nagios