From e069a3059500445f1ef8ea7058a9ea523e2c9580 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Mon, 12 Dec 2011 20:40:08 +0000 Subject: [PATCH] fix mysql stats git-svn-id: http://www.observium.org/svn/observer/trunk@2777 61d68cd4-352d-0410-923a-c4978735b2b8 --- scripts/mysql_stats.php | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/scripts/mysql_stats.php b/scripts/mysql_stats.php index 8228e1ffa..b16143960 100755 --- a/scripts/mysql_stats.php +++ b/scripts/mysql_stats.php @@ -57,7 +57,7 @@ $chk_options = array ( ); $use_ss = FALSE; # Whether to use the script server or not -$debug = TRUE; # Define whether you want debugging behavior. +$debug = FALSE; # Define whether you want debugging behavior. $debug_log = FALSE; # If $debug_log is a filename, it'll be used. # ============================================================================ @@ -179,7 +179,7 @@ function validate_options($options) { # Print out a brief usage summary # ============================================================================ function usage($message) { - global $mysql_user, $mysql_pass, $mysql_port, $heartbeat; + global $mysql_host, $mysql_user, $mysql_pass, $mysql_port, $heartbeat; $usage = <<