patchset mysql/socket/startup timeout

#1 Merged at 716a6c0
Repository
philfry
Branch
master
Repository
tildeslash
Branch
master
Author
  1. philfry
Reviewers
Description

Hi,

this is a patchset I already sent a while ago to the monit issue tracker.

  • handle sockets as regular files when checking permissions
  • use mysql 4.1 protocol
  • skip connection checks during startup timeout

Regards,

Phil

Comments (4)

  1. Tildeslash repo owner

    Thanks a lot, looks useful. About the MySQL 4.1 protocol, have you tested that this also works with newer MySQL 5 servers? MySQL had a tendency to change the protocol slightly between versions.

  2. philfry author

    works fine for me.

    check process mysqld with pidfile /var/run/mysqld/mysqld.pid
    if failed port 3306 protocol mysql then restart
    

    using

    $ rpm -q mysql-server
    mysql-server-5.1.71-1.el6.x86_64
    
  3. Tildeslash repo owner

    Many thanks for the PR. Appreciated. Merged with some minor modifications. If you want credit with your own name let me know, otherwise we are fans of Futurama also and miss it dearly.

  4. philfry author

    Thanks for accepting the patches. There are several philfrys out there, so please let me use my realname: Philippe Kueck.

    Kind regards!