Comments on Server Monitoring with Munin and Monit on Debian 8 (Jessie)
In this article, I will describe how you can monitor your Debian 8 server with Munin and Monit. munin produces nifty little graphics about nearly every aspect of your server 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 let you recognize current or upcoming problems, and a watchdog that ensures the availability of the monitored services.
14 Comment(s)
Comments
Could you apply the above mentioned procedure on a server that is running already ISPconfig3?
I will answer my own question, I had a setup in the sand bax, I have tried the above procedure and it works excellent.
You even have short cuts in ISPconfig3 already and after updating the links, the work pefect.
Thanks Till,
The default munin server config doesn't scale due to graph generation happening every 10 min rather than on-demand. I've tried to switch over to on-demand graphs for the 25 systems here, but failed. A little guidance would be helpful, please.
Great post.
I first followed your instructions from this post:
https://www.howtoforge.com/tutorial/perfect-server-debian-8-jessie-apache-bind-dovecot-ispconfig-3/
Now, I would like to add Munin and Monit in my ISPConfig but I don't want to access it from www.domaine.tld/...
As I have more than 30 websites of the server, this is not suitable.
What have to be changed in these 2 pages to configure munin and monit on my ISPConfig?
Regards
thank you for sharing , I upgrade from wheezy to jessie , I made all the changes withapache24.conf to link to /etc/apache2/conf-enabled/munin.confand I kept the main directory: /var/www/html/munin
everthing is working but not the graph in show me the page with all the info but with the broken image (screenshot below)
I tried this on Ubuntu 15.04 after following the ispconfig 3 how to for apache. I got as far as
cd /etc/apache2/conf-enabled/ln -s /etc/munin/apache24.conf munin.confservice apache2 restartin step 2, but unfortunately apache2 would not restart so I reinstalled ispconfig 3 from afresh again. :( Any chance of Ubuntu specific instructions for us dummies?
Great tutorial..
one thing you might add. monitoring MySQL was not working as it was complaining on: [Missing dependency Cache::Cache]
solved by it by installing:
apt install libcache-cache-perl
how can I create a certificate for monit if I have Let's Encript ssl certificates on my server ?
Great post.
I first followed your instructions from this post:
https://www.howtoforge.com/tutorial/perfect-server-debian-8-jessie-apache-bind-dovecot-ispconfig-3/
Now, I would like to add Munin and Monit in my ISPConfig 3. Is possible?
Any answers? Someone?
:D
yes it is. ...still open task?
Recommend updating this:
cd /etc/apache2/conf-enabled/ln -s /etc/munin/apache24.conf munin.confservice apache2 restart
To this:
a2ensite muninservice apache2 restart
That's the 'correct' way to enable a site (and simpler). The reverse is naturally
a2dissite munin
to turn it off.
All other respects, this is an excellent tutorial!
what a dummy i am. obviously you can delete that last comment, sigh!
thank you man!