summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-22fixing merge error which removed a / -- round 2Micah Anderson
2010-09-22fixing merge error which removed a /Micah Anderson
2010-09-22fix pathing, its /usr not /userMicah Anderson
2010-09-22Merge remote branch 'remotes/immerda/master'Micah Anderson
Conflicts: manifests/server/base.pp
2010-09-22remove license reference from init.pp, as there is no LICENSE file to be ↵Micah Anderson
referenced
2010-09-22increase timeout before killing to account for slower startup speed of ↵Micah Anderson
larger databases
2010-09-22add copyright notice in headerMicah Anderson
2010-09-22allow for different my.cnf files according to the OS releaseMicah Anderson
2010-09-22require package mysql-server for service mysql instead of mysql-clientMicah Anderson
2010-08-11remove unnecessary fileserver variable (#2460) round IImh
2010-08-11get rid off expensive which callmh
2010-08-07remove unnecessary fileserver variable (#2460)mh
2010-07-21add define to manage a common db/user setupmh
a db and a corresponding user with all access to that database.
2010-07-21some minor updates to the providersmh
2010-07-01merge with lavamindmh
2010-05-10add mysql::client::ruby subclassJerome Charaoui
2010-05-10implement mysql::client subclassesJerome Charaoui
2010-05-07adapt to new common moduleJerome Charaoui
2010-04-22fix quotingmh
2010-04-04as we are in ruby we need to double escape thatmh
2010-04-04escape table and db namesmh
2010-04-02manage file before cron, but only when we actually manage the filemh
2010-04-02make backup dir management optionalmh
2010-04-02improve optimize script to work as well on weird named tablesmh
2010-04-02allow one to disable nagio smysql checksmh
2010-04-02move scripts to /usr/local/sbin, old scripts are getting removed by wiping ↵mh
the modules dir
2010-04-02no need to have an empty classmh
2010-04-02no need to set an empty source dirmh
2009-12-22adjust nagios mysql user to allow tcp connectionsJerome Charaoui
2009-12-11add nagios class to create mysql user and grant for nagios, with option to ↵Jerome Charaoui
skip nagios service registration if check is done through check_ssh or check_nrpe for example
2009-12-11manage mysql munin plugin per-OS, use debian.cnf on DebianJerome Charaoui
2009-12-11manage permissions on debian.cnfJerome Charaoui
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-10change mysql client alias and quote resource namesJerome Charaoui
2009-12-10run mysql_set_rootpw if $mysql_rootpw changesJerome Charaoui
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-11-14update to 0.25.x stylemh
2009-11-02recursivly updating file path to new 0.25 stylemh
2009-10-31move plugin directory to fit new 0.25 stylemh
2009-10-04fix class namingmh
2009-10-03refactor classesmh
2009-05-19fixing fucked up licensemh
2009-04-13revert 3225, as facter is now fixedmh
2009-02-24revert boolean stuff because there are problem with puppetmh
2009-02-24true and false shouldn't be stringsmh
2009-02-22fix correct dependencymh
2009-02-22set home so .my.cnf is found as we run it as cron weeklymh
2009-02-22fixing integer conversionmh