0
votes
1answer
68 views

Configure Monit to delete /var/lib/mysql/mysql.sock after abrupt Centos6.5 machine shutdown

I have Monit monitoring Mysql. When the machine shuts down abruptly eg a power failure, mysqld cannot be restarted unless /var/lib/mysql/mysql.sock is deleted, due to the error Another MySQL daemon ...
0
votes
1answer
57 views

Can't get monit to run “exec” actions

I've got a working monit installation on CentOS 6.5. Events are getting detected and alert mail is getting sent, but I'm trying to get other things to happen when an event fires, via the exec ...
2
votes
1answer
46 views

monit not able to monitor mysql with sock

Just in case if you are using Monit version 5.1.1 and try to monitor mysql with sock it will always fail with "Connection failed" my monit configuration file is: check process mysql with pidfile ...
3
votes
2answers
304 views

Monit 5.5 binding to localhost only, but should be on all

Using Centos 6.4, using a yum installed Monit 5.5. I have 2 servers with monit installed - same version, same config - but one binds on all addresses and the other only binds on the localhost. ...
0
votes
1answer
62 views

Can't get monit to start program

I'm trying to get monit to monitor a program and start it if it goes down. Here's my basic config: check process maitre_d_8000 with pidfile /home/tango/env/maitre_d/8000/pid.pid start program = ...
0
votes
1answer
169 views

Monit from epel not able to start via upstart method

I have centos 6.3 machine and did a yum install monit (version monit 5.1.1-4.el6 from epel) and then I setup the up the http://mmonit.com/wiki/Monit/Upstart and tried to start monit initctl start ...
0
votes
1answer
789 views

Monit configuration for Apache, MySQL, and Postfix

I plan on enabling Monit on my production server with the below configuration. I'm completely new to Monit and wanted to hear from others on tips or if there were other directives I should consider to ...
-1
votes
2answers
656 views

Where is the right place to download monit for centos 6.2?

I have a centos 6.2 machine tried to yum install monit it says nothing to do. Then I have a link here http://pkgs.repoforge.org/monit/. Is this a reliable site or any other better suggestion? Thank ...
1
vote
0answers
252 views

Monit unable to send email alerts

I have set monit to send email if my java listener failed on port 8000. I have tried to close the listner and run monit validate below is the errors I got. monit validate 'cs8000' process is not ...
2
votes
2answers
1k views

Centos Linux monit configuration

I'm trying to do the following: monit stop mysqld monit: Cannot connect to the monit daemon. Did you start it with http support? it only works when I stop the monit service. any suggestions? ...
0
votes
2answers
1k views

configure monit on linux to monitor a process and then reboot

I would like monit to monitor my service and once it's stopped then I want the computer to reboot. The process don't have a certain port that I can monitor. This is what I did: check process chat ...
1
vote
2answers
185 views

configure Monit application on Linux Centos error message

I'm trying to configure Monit to monitor my pidfile. I had no problem except for one. this is what I configured: check process chat with pidfile /var/run/chat.pid start program = "/etc/init.d/chat ...
0
votes
2answers
75 views

Monit stops running on centos

How can you make sure that monit is always running? At the moment it's silently falling over and leaving the server unmonitored. Server is running on CentOS.
1
vote
3answers
1k views

Monit doesn't pick up httpd process after reset

I've installed Munin and Monit on one of my servers running CentOS 5. Everything is working well, logging and reporting info, except for when the httpd process is restarted. I have Monit set to ...