Commit graph

213 commits

Author SHA1 Message Date
Jerome Charaoui
07917bf1b9 implement mysql::client subclasses 2010-05-10 14:26:42 -04:00
Jerome Charaoui
bc7146f1db adapt to new common module 2010-05-07 17:59:42 -04:00
mh
3fc679a822 fix quoting 2010-04-22 19:58:49 +02:00
mh
828e93c72d as we are in ruby we need to double escape that 2010-04-04 12:27:12 +02:00
mh
d40e1130bc escape table and db names 2010-04-04 12:21:33 +02:00
mh
c85d3a719c manage file before cron, but only when we actually manage the file 2010-04-02 18:12:06 +02:00
mh
9d05a31d53 make backup dir management optional 2010-04-02 18:08:27 +02:00
mh
b296d7a710 improve optimize script to work as well on weird named tables 2010-04-02 17:52:44 +02:00
mh
fa70de0333 allow one to disable nagio smysql checks 2010-04-02 17:49:17 +02:00
mh
5191ded011 move scripts to /usr/local/sbin, old scripts are getting removed by wiping the modules dir 2010-04-02 17:48:13 +02:00
mh
3b7d92b041 no need to have an empty class 2010-04-02 17:42:55 +02:00
mh
3a6561b99a no need to set an empty source dir 2010-04-02 17:41:31 +02:00
Jerome Charaoui
bd305f66b2 adjust nagios mysql user to allow tcp connections 2009-12-22 11:41:54 -05:00
Jerome Charaoui
b18a7ab8df add nagios class to create mysql user and grant for nagios, with option to skip nagios service registration if check is done through check_ssh or check_nrpe for example 2009-12-11 15:25:20 -05:00
Jerome Charaoui
38d8bd2bda manage mysql munin plugin per-OS, use debian.cnf on Debian 2009-12-11 11:34:03 -05:00
Jerome Charaoui
de4c9b3e46 manage permissions on debian.cnf 2009-12-11 11:33:10 -05:00
Jerome Charaoui
9ec0ef766c make backup and optimize cron jobs optional; introduce $mysql_backup_cron, $mysql_backup_dir and$mysql_optimize_cron; use a module_dir for scripts 2009-12-10 14:52:50 -05:00
Jerome Charaoui
4a24fffe14 change mysql client alias and quote resource names 2009-12-10 13:10:06 -05:00
Jerome Charaoui
3474f85ebe run mysql_set_rootpw if $mysql_rootpw changes 2009-12-10 12:36:34 -05:00
Jerome Charaoui
dcc761cbfd add Debian support 2009-12-10 12:22:25 -05:00
mh
911dbc4426 be nicer during mysql backup
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-19 02:36:13 +01:00
mh
a818f61a07 update to 0.25.x style 2009-11-14 15:06:59 +01:00
mh
56e7903cfa recursivly updating file path to new 0.25 style 2009-11-02 00:57:26 +01:00
mh
304b199b70 move plugin directory to fit new 0.25 style 2009-10-31 15:16:40 +01:00
mh
62e9001ab2 fix class naming 2009-10-04 20:37:50 +02:00
mh
647d5fda99 refactor classes 2009-10-03 15:19:11 +02:00
mh
8100f49e32 fixing fucked up license 2009-05-19 10:30:24 +02:00
mh
65f388879b revert 3225, as facter is now fixed 2009-04-13 15:56:47 +00:00
mh
5391e01b07 revert boolean stuff because there are problem with puppet 2009-02-24 03:45:33 +00:00
mh
842da8d62b true and false shouldn't be strings 2009-02-24 01:09:31 +00:00
mh
747da24243 fix correct dependency 2009-02-22 23:07:05 +00:00
mh
d4cccaa62f set home so .my.cnf is found as we run it as cron weekly 2009-02-22 13:07:39 +00:00
mh
95c5cd82d9 fixing integer conversion 2009-02-22 13:02:08 +00:00
mh
288a33be75 merged with puzzle 2009-02-21 17:22:47 +00:00
mh
2dc631bd2a Merge commit 'puzzle/development' 2008-10-19 22:15:48 +00:00
andreas
731da58149 the ibdata1 file needs to be mysql, otherwise mysqld is not starting 2008-10-18 13:09:10 +00:00
mh
fea257b753 make the pipe redirect working on ubuntu, debian, centos, fedora and openbsd 2008-09-30 19:51:49 +00:00
mh
37cb4d4a8f fixed it to be usable as well on openbsd 2008-09-29 22:14:04 +00:00
mh
0403071c55 optimized default my.cnf 2008-08-07 10:09:21 +00:00
mh
aa99ee9826 merged with puzzle 2008-08-07 09:24:59 +00:00
mh
f0ade619a0 if we enable binary logs, we should also enable max days for them 2008-07-29 22:23:29 +00:00
mh
b1a03a5f1b better dependency 2008-07-14 21:25:55 +00:00
mh
741a6ba1f6 merged with immerda, added data directory to be default 2008-07-14 21:25:49 +00:00
mh
495fad450d no quotes for munin plugin 2008-07-13 15:19:49 +00:00
mh
7c987d7fe6 fixed log-bin location 2008-07-13 14:19:37 +00:00
mh
c7752a3775 fixing bin-log param 2008-07-11 15:40:49 +00:00
mh
58d0f7698f moved it to note clear about the used distribution 2008-07-11 14:45:13 +00:00
mh
1c5d976759 fixed merge regressions 2008-07-11 14:15:13 +00:00
mh
3a8613ab9d merged with puzzle 2008-07-11 14:13:03 +00:00
mh
8e71241b85 removing chicken/egg test, to test if it still fails 2008-07-02 20:06:18 +00:00