From a0a0590cd1cb274cc22e497d4e541a7c6cbf7f4e Mon Sep 17 00:00:00 2001 From: Daniel Nichter Date: Tue, 1 Nov 2011 11:55:01 -0600 Subject: [PATCH] Change default trigger from Threads_connected:100 to Threads_running:30. --- bin/pt-stalk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/pt-stalk b/bin/pt-stalk index 1e603899..3dcc959c 100755 --- a/bin/pt-stalk +++ b/bin/pt-stalk @@ -15,10 +15,10 @@ fi # Configuration settings. # ######################################################################## # This is the max number of we want to tolerate. -THRESHOLD=${THRESHOLD:-100} +THRESHOLD=${THRESHOLD:-30} # This is the thing to check for. -VARIABLE=${VARIABLE:-Threads_connected} +VARIABLE=${VARIABLE:-Threads_running} # How many times must the condition be met before the script will fire? CYCLES=${CYCLES:-1} @@ -231,7 +231,7 @@ is too full. =back By default, the tool is configured to execute mysqladmin extended-status and -extract the value of the Threads_connected variable; if this is greater than +extract the value of the Threads_running variable; if this is greater than 100, it runs the collection script. This is really just placeholder code, and almost certainly needs to be customized! @@ -265,11 +265,11 @@ or in the F config file (see L<"CONFIGURING">). =over -=item THRESHOLD (default 100) +=item THRESHOLD (default 30) This is the max number of we want to tolerate. -=item VARIABLE (default Threads_connected} +=item VARIABLE (default Threads_running) This is the thing to check for.