1,723
edits
m |
|||
Line 8: | Line 8: | ||
opkg install monit | opkg install monit | ||
===Configuration File(s) for Monit Service=== | ===Configuration File(s) & Directories for Monit Service=== | ||
/etc/monitrc | /etc/monitrc (file) | ||
/etc/monit.d (directory) | |||
If configuring in a fashion similar to operating systems such as CentOS, then; | If configuring in a fashion similar to operating systems such as CentOS, then; | ||
Line 72: | Line 74: | ||
===Notifications & Alerts=== | ===Notifications & Alerts=== | ||
The Monit service can also send email notifications and alerts. This can get annoying over time, but it is useful if troubleshooting or monitoring a process. The annoyance can also be "reigned in" to a certain degree. | The Monit service can also send email notifications and alerts. This can get annoying over time, but it is useful if troubleshooting or monitoring a process. The annoyance can also be "reigned in" to a certain degree. | ||
=== Some Interesting HDD / SSD Monitoring Tips === | |||
From: https://www.smarthomebeginner.com/monit-monitor-hard-drive-smart-health-and-temperature/ | |||
And to monitor via UUID instead of "SDx" (which is a bit unreliable): https://wiki.archlinux.org/index.php/S.M.A.R.T. | |||
=== Additional Tips === | |||
For monitoring OpenVPN: https://serverfault.com/questions/647506/make-monit-check-openvpn-client-connection-status | |||
=== Finally / Lastly === | |||
...and of course after configuring a new MONIT file, restart the service: service monit restart | |||
=== Credits & Thanks === | |||
A lot of information from here (not sure if this is the original source, but crediting just the same): https://www.smarthomebeginner.com/monit-monitor-file-server-status-samba-nfs/ |