summaryrefslogtreecommitdiff
path: root/files
AgeCommit message (Collapse)Author
2010-10-18. remove the check_mysql_health script from the mysql module, instead it ↵Micah Anderson
belongs in the nagios module . change the default nagios::service::mysql check to use the check_mysql_health 'connection-time' check mode, which is identical to the original check, with some additional information . stop using nagios::plugin::deploy because this doesn't work when more than one node attempts to realize this class . stop exporting the nagios_command because this doesn't work when more than one node attempts to realize this class . remove the check_health define, instead this be how it was before, as the previous nagios::service::mysql define
2010-10-17add new version of check_mysql_health pluginMicah Anderson
2010-09-27add a more advanced mysql health check plugin:Micah Anderson
* create a mysql::server::nagios::base class with the common parts needed for the basic plugin, and the health plugin * make mysql::server:nagios inherit mysql::server:nagios::base * create a new class mysql::server::nagios::check_health inheriting ::base the nagios module has also received a new define to setup the different nagios::service pieces for the different health check modes that might be desired its assumed you would setup the different health check modes in site-mysql/init.pp as different hosts will require different modes and/or parameters, for example: class site-mysql::server { include mysql::server::nagios::check_health nagios::service::mysql_health { [ 'connection-time', 'uptime', 'threads-connected', 'threadcache-hitrate' ]: require => Mysql_grant[$nagios_mysql_user], } case $hostname { "eider": { nagios::service::mysql_health { [ 'slave-io-running', 'slave-sql-running', 'slave-lag' ]: require => Mysql_grant[$nagios_mysql_user], } } } }
2010-09-22Merge remote branch 'remotes/immerda/master'Micah Anderson
Conflicts: manifests/server/base.pp
2010-09-22increase timeout before killing to account for slower startup speed of ↵Micah Anderson
larger databases
2010-04-04as we are in ruby we need to double escape thatmh
2010-04-04escape table and db namesmh
2010-04-02improve optimize script to work as well on weird named tablesmh
2009-12-10make backup and optimize cron jobs optional; introduce $mysql_backup_cron, ↵Jerome Charaoui
$mysql_backup_dir and$mysql_optimize_cron; use a module_dir for scripts
2009-12-10add Debian supportJerome Charaoui
2009-11-19be nicer during mysql backupmh
sometimes it can happen that by locking all tables we run into error 24, which means to many open files. According to http://rackerhacker.com/2007/08/19/mysql-errcode-24-when-using-lock-tables/ we can use single-transaction to be nicer during backups.
2009-02-22set home so .my.cnf is found as we run it as cron weeklymh
2009-02-22fixing integer conversionmh
2009-02-21merged with puzzlemh
2008-10-19Merge commit 'puzzle/development'mh
2008-08-07optimized default my.cnfmh
2008-08-07merged with puzzlemh
2008-07-29if we enable binary logs, we should also enable max days for themmh
2008-07-14merged with immerda, added data directory to be defaultmh
2008-07-13fixed log-bin locationmh
2008-07-11fixing bin-log parammh
2008-07-11moved it to note clear about the used distributionmh
2008-07-11fixed merge regressionsmh
2008-07-11merged with puzzlemh
2008-07-01removed unneeded filesmh
2008-07-01removed unneeded filesmh
2008-07-01removed unneeded filesmh
2008-07-01merged with puzzlemh
2008-06-13merged with puzzlemh
2008-02-29mysql dist-file in moduleandreas