Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Configuring Monit

General questions about VestaCP
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
edirpedro
Posts: 1
Joined: Thu Oct 02, 2014 2:26 pm

Configuring Monit
  • Quote

Post by edirpedro » Sat Oct 18, 2014 5:28 pm

There is only two weeks I'm using Vesta and MySQL stopped working twice and when I look at Services, the mysql service is running, Vesta didn't noticed the problem. I don't have any big application running on the server, just for development. So I decided to install Monit to help this, but i need to be sure if the configuration is enough.

Code: Select all

check process mysql with pidfile /var/run/mysqld/mysqld.pid
   group database
   start program = "/etc/init.d/mysql start"
   stop program = "/etc/init.d/mysql stop"
   if failed host localhost port 3306 protocol mysql then restart
   if 5 restarts within 5 cycles then timeout
I would like to know if I really need to use monit to check the other services like apache2, ningx, etc. I don't know if I can trust only on Vesta Services page.
Top

jhoedram
Posts: 21
Joined: Wed Sep 03, 2014 2:55 pm

Re: Configuring Monit
  • Quote

Post by jhoedram » Wed Nov 05, 2014 11:06 pm

I have the same problem. I know that MySQL is stopped due to lack of memory, and do not know how to fix it, but if my vesta notify me when it stops mysqld.
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password