Difference between revisions of "Monit"
Jump to navigation
Jump to search
↑ https://mmonit.com/monit/documentation/monit.html#ALERT-MESSAGES
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 13: | Line 13: | ||
:: Review examples: https://mmonit.com/wiki/Monit/ConfigurationExamples | :: Review examples: https://mmonit.com/wiki/Monit/ConfigurationExamples | ||
* Logs: <code>/var/log/[[monit.log]]</code> | * Logs: <code>/var/log/[[monit.log]]</code> | ||
− | * 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 10:57, 13 April 2021
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].
- Installation macOS:
brew install monit
- Linux:
apt install monit
- Access: http://localhost:2812/ (admin/monit)
- 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
- Monitoring: Prometheus, Cacti, monit, munin, RRDtool, Zabbix, Netdata, Nagios, Check MK, Icinga, Pingdom, OpsGenie and Datadog, Opsgenie, PRTG, Checkmk
- Monitoring: On call, Monitoring software, Monitoring services, Resource monitoring, Metric colletion tools, network monitoring, SLA Management Monitoring Tools, Alarm/Alert, Resource starvation, Alerts and notifications, Monitoring Kubernetes, VictoriaMetrics, Sensu, LogicMonitor, Distributed tracing, Datadog Monitors
Advertising: