sensu-plugins / sensu-plugins-mysql

This plugin provides native MySQL instrumentation for monitoring and metrics collection, including: service health, database connectivity, `InnoDB` locks, replication status, metrics collection, and sending metrics to a MySQL database.

Home Page:http://sensu-plugins.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

conflict between options on check-mysql-disk.rb

2autunni opened this issue · comments

on this script there is:

 option :size,
         short: '-s',
         long: '--size=VALUE',
         description: 'Database size',
         proc: proc(&:to_f),
         required: true

and

option :socket,
       description: 'Socket to use',
       short: '-S SOCKET',
       long: '--socket SOCKET',
       default: nil

So we can't use socket for connecting to the DB