User Tools

Site Tools


monit:monitoring_and_maintain_trisul_process

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
monit:monitoring_and_maintain_trisul_process [2018/10/03 19:33] – [Install Monit on Ubuntu 16.04] veeramonit:monitoring_and_maintain_trisul_process [2020/09/18 14:53] (current) – [Monit Trisul Process] veera
Line 1: Line 1:
 ====== Monit Trisul Process  =====  ====== Monit Trisul Process  ===== 
  
-You can use Monit to monitor daemon processes or similar programs running on localhost. This document explains how you can use monit to keep your Trisul Probe processes running.  +This document explains how you can use monit to keep your Trisul Probe processes running.  
  
-<note important>Your Trisul Probe processes should never stop. If you are seeing crashes or memory issues , please read "Debugging Trisul Probe Crashes" and help us debug your setup. This guide is useful when Trisul is in production and you want to ensure uptime. +<note important>Your Trisul Probe processes should never stop. If you are seeing crashes or memory issues , please read "[[admin:debuggingcrash|Debugging Trisul Probe Crashes]]" and help us debug your setup. This guide is useful when Trisul is in production and you want to ensure uptime. 
  
 </note> </note>
-==== Install Monit on Ubuntu 16.04 ====+ 
 +===== Install Monit on Ubuntu 16.04 and 18.04 =====
  
 <code bash> apt-get install monit </code> <code bash> apt-get install monit </code>
  
  
-==== Edit Configuration  ====+===== Edit Configuration  =====
  
 1. Open the monitrc configuration file  1. Open the monitrc configuration file 
Line 40: Line 41:
 <code bash> systemctl enable monit </code> <code bash> systemctl enable monit </code>
  
 +
 +====== Advanced configuration - email when monit restarts  ======
 +
 +You can have monit restart stopped processes and email you when that happens. Just copy the following snippet into /etc/monit/monitrc
  
 ===== Email configuration for monit ===== ===== Email configuration for monit =====
monit/monitoring_and_maintain_trisul_process.1538575412.txt.gz · Last modified: 2018/10/03 19:33 by veera