Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
engine:7.0:monitoring [2014/02/10 18:50]
achey [PID]
engine:7.0:monitoring [2018/02/01 18:15] (current)
Line 2: Line 2:
 ===== Start-Stop-Status-Restart ===== ===== Start-Stop-Status-Restart =====
 \\  \\ 
-Every services can be start stop or restart with the ltud commande.+Every services ​that composed LTU engine ​can be started, stopped ​or restarted using the //ltud// commande.
  
 Logged in as root:  Logged in as root: 
-/​etc/​init.d/​ltud [option]+/​etc/​init.d/​ltud [options]
 \\  \\ 
 options: ​ start, stop, status all, restart options: ​ start, stop, status all, restart
  
  
-===== Log monitoring ​=====+===== Logging ​===== 
 + 
 +==== 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 ==== ==== How to forward logs to syslog ====
Line 36: Line 46:
 ===== PID ===== ===== PID =====
  
-All PID files can be found on /run/ +All PID files can be found on /​opt/​ltuengine/run/ 
 + 
 + ===== With Nagios/NRPE ===== 
 + 
 + 
 +  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