the check as it was didnt work on our machines. we had to specify the
socket.


On Mon, Mar 11, 2013 at 1:08 PM, Sean Porter <notifications@github.com>wrote:

> In plugins/mysql/mysql-alive.rb:
>
> > @@ -38,9 +38,21 @@ class CheckMySQL < Sensu::Plugin::Check::CLI
> >           :long => '--database DATABASE',
> >           :default => "test"
> >
> > +  option :port,
> > +         :description => "Port to connect to",
> > +         :short => '-P PORT',
> > +         :long => '--port PORT',
> > +         :default => "3306"
> > +
> > +  option :socket,
> > +         :description => "Socket to use",
> > +         :short => '-s SOCKET',
> > +         :long => '--socket SOCKET',
> > +         :default => "/var/lib/mysql/mysql.sock"
>
> Does this not break using hostname/port?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/sensu/sensu-community-plugins/pull/150/files#r3320875>
> .
>



-- 
:(){ :|:& };: