On FreeBSD, this file was at /usr/local/etc/monitrc.sample, and I copied it over to /root/monitrc (and make absolutely sure that it has permissions of ‘600’ - owner read/write nothing for group or others. It will already exist if you just installed monit on Ubuntu: $ ls -alh /etc/monit/monitrc Next, you’ll want to make sure a monit config file exists - this file will be called ‘monitrc’. Make sure a config file exists (and will be found by monit) To get it installed (assuming Ubuntu, as always, because it’s what most of you have installed): $ sudo apt-get install monit I use it to monitor an Ubuntu machine, a few Debian VPSs, and several heavy pieces of metal running FreeBSD. You heard right - this thing runs on all the Linuxes and Unixes. Installing Monit for Linux/Unix System Monitoring In this post, I’ll take you from “no idea what’s happening on the server” to “closely monitoring critical services.” Follow along! has cool extra features like service management and file-hash checking (to make sure the bad guys haven’t tampered with your system binaries, for example), and.can react when things go wrong (restarting services, running scripts, etc.),.intelligently checks your services to make sure they’re up and responding properly,.Monit can help you monitor all the same things as the others (CPU and disk usage, etc.), but it also In this tutorial, I’ll teach you how to use one of my favorites: Monit ( ). Many of these (Nagios) are forced on them by evil forces who happen to be higher up in the corporate food chain. System administrators have a *ton* of different monitoring solutions to choose from.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |