Comments on Server monitoring with Munin and Monit on CentOS 7.2
In this article, I will describe how you can monitor your CentOS 7.2 server with Munin and Monit. Munin produces nifty little graphics about nearly every aspect of your server (load average, memory usage, CPU usage, MySQL throughput, eth0 traffic, etc.) without much configuration, whereas Monit checks the availability of services like Apache, MySQL, Postfix and takes the appropriate action such as a restart if it finds a service is not behaving as expected. The combination of the two gives you full monitoring: graphics that lets you recognize current or upcoming problems (like "We need a bigger server soon, our load average is increasing rapidly."), and a watchdog that ensures the availability of the monitored services.
9 Comment(s)
Comments
The line
"openssl req -new -x509 -days 365 -nodes -config ./monit.cnf -out /var/certs/monit.pem -keyout /var/certs/monit.pemopenssl"
should read:
"openssl req -new -x509 -days 365 -nodes -config ./monit.cnf -out /var/certs/monit.pem -keyout /var/certs/monit.pem"
It is a shame that this article does not explain how to get Apache statistics in Munin.
That is a wonderful HowTo which worked out fine. However, in my case, the graphics are just empty and stay empty for months. I did a web search but most help pages are not for CentOS.
Any ideas?
looke like a typo on
openssl req -new -x509 -days 365 -nodes -config ./monit.cnf -out /var/certs/monit.pem -keyout /var/certs/monit.pemopensslshould be
openssl req -new -x509 -days 365 -nodes -config ./monit.cnf -out /var/certs/monit.pem -keyout /var/certs/monit.pemI am going to try to install Munin and Monit in debian with this guide, greetings
When I activate SSL:
SSL ENABLE PEMFILE /var/certs/monit.pemIt does not work Https is also not activated
Used debian
Excellent tutorial, thank you!
I found out that there's a typo: "if loadavg(5min)" should be: "if loadavg (5min)"
Regards,C.
How to find PID file path of UWSGI ?
Did not work.
I followed the instructions but i get:
http://server1.example.com/munin/
Index of /muninNameLast modifiedSizeDescription Parent Directory - cgi/ 2022-08-12 17:24
http://server1.example.com/munin/cgi/
ForbiddenYou don't have permission to access /munin/cgi/ on this server.
Any ideas ?