Difference between revisions of "Monit"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 1: Line 1:
[[wikipedia:Monit|Monit]] is a free, open-source process supervision tool for Unix and Linux. Monit can restart a process automatically if process dies or monitor process characteristics, such as memory or cpu cycles and alert or execute and action. Monit only support alert messages by emailt<ref>https://mmonit.com/monit/documentation/monit.html#ALERT-MESSAGES</ref>.
+
[[wikipedia:Monit|Monit]] is a free, open-source process supervision tool for Unix and Linux. Monit can restart a process automatically if process dies or monitor process characteristics, such as memory or cpu cycles and alert or execute and action. Monit only support [[alert messages]] by emailt<ref>https://mmonit.com/monit/documentation/monit.html#ALERT-MESSAGES</ref>.
  
  
Line 14: Line 14:
 
* Command: <code>monit status</code>
 
* Command: <code>monit status</code>
 
* Restart Monit service: <code>systemctl restart monit.service</code>
 
* Restart Monit service: <code>systemctl restart monit.service</code>
 
  
  

Revision as of 07:19, 7 May 2020

Monit is a free, open-source process supervision tool for Unix and Linux. Monit can restart a process automatically if process dies or monitor process characteristics, such as memory or cpu cycles and alert or execute and action. Monit only support alert messages by emailt[1].



  • Config file: /etc/monit/monitrc (monit -t) to verify configuration file
set daemon 120 By default configured to check services every 120 seconds
Review examples: https://mmonit.com/wiki/Monit/ConfigurationExamples
  • Logs: /var/log/monit.log
  • Command: monit status
  • Restart Monit service: systemctl restart monit.service


Related commands

See also

  • https://mmonit.com/monit/documentation/monit.html#ALERT-MESSAGES
  • Advertising: