From: Jan Willamowius Date: Tue, 27 Sep 2005 16:22:43 +0000 (+0000) Subject: updated MySQL plugin X-Git-Tag: spong-2_8_0-beta1~1 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a735b06167770cb4c738b288ad3136c2fa9515b9;p=spong.git updated MySQL plugin --- diff --git a/config/spong.conf.in b/config/spong.conf.in index 1aafbca..48b8db8 100644 --- a/config/spong.conf.in +++ b/config/spong.conf.in @@ -1,7 +1,7 @@ # --------------------------------------------------------------------------- # Generic SPONG settings, specifies where files are kept, etc... # --------------------------------------------------------------------------- -# $Id: spong.conf.in,v 1.4 2002/09/18 02:09:02 sljohnson Exp $ +# $Id: spong.conf.in,v 1.5 2005/09/27 16:22:43 willamowius Exp $ $SPONGSLEEP = 300; # Sleep time between check cycles. Depreciated @@ -209,6 +209,12 @@ $HTTPURLS{"aptest.my-inc.com"} = [ "http://_HOST_/", "http://_HOST_:8000/newapp/register.html", ]; +# --------------------------------------------------------------------------- +# MySQL plugin +# --------------------------------------------------------------------------- + +$MYSQLADMIN = "/usr/bin/mysqladmin -h"; + # --------------------------------------------------------------------------- # Just a little more configuration information - these variables are for # the spong-message program. diff --git a/config/spong.hosts b/config/spong.hosts index b6e224d..4f99f85 100755 --- a/config/spong.hosts +++ b/config/spong.hosts @@ -1,6 +1,6 @@ # See the spong.hosts man page for additional documentation. # -# $Id: spong.hosts,v 1.7 2005/09/24 20:38:14 willamowius Exp $ +# $Id: spong.hosts,v 1.8 2005/09/27 16:22:43 willamowius Exp $ # # Don't be afraid. This is a configuration file that defines two things, 1) # who is respondsible for systems, and how do you get ahold of them, and 2) @@ -92,6 +92,13 @@ # %HOSTS_DEFAULTS is used to establish default configuration values for # various spong network checks. Any value in the %HOSTS entry will override # the %HOSTS_DEFAULT value. +# +# %HOSTS_DEFAULTS = ( +# 'mysql' => { +# 'dbuser' => 'spong', +# 'dbpass' => 'default-password' +# } +# ) %HOSTS_DEFAULTS = ( );