mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
Whitespace cleanup
* remove trailing whitespace * remove empty lines at the end of files
This commit is contained in:
parent
ef851f0c34
commit
17f784270a
604 changed files with 2927 additions and 2945 deletions
|
@ -16,9 +16,9 @@
|
|||
# along with this program; if not, see http://www.gnu.org/licenses/gpl.txt
|
||||
#
|
||||
#
|
||||
# This plugin is based off of the Connection Usage
|
||||
# This plugin is based off of the Connection Usage
|
||||
# section of the MySQL Connection Health Page
|
||||
#
|
||||
#
|
||||
# http://dev.mysql.com/doc/administrator/en/mysql-administrator-health-connection-health.html
|
||||
#
|
||||
# To enable, link mysql_connections to this file. E.g.
|
||||
|
@ -38,7 +38,7 @@
|
|||
# mysqlopts - Options to pass to mysql
|
||||
# mysqladmin - Override location of mysqladmin
|
||||
# warning - Override default warning limit
|
||||
# critical - Override default critical limit
|
||||
# critical - Override default critical limit
|
||||
#
|
||||
#%# family=auto
|
||||
#%# capabilities=autoconf
|
||||
|
@ -55,7 +55,7 @@ my $critical = $ENV{critical} || "90";
|
|||
# Pull in any arguments
|
||||
my $arg = shift();
|
||||
|
||||
# Check to see how the script was called
|
||||
# Check to see how the script was called
|
||||
if ($arg eq 'config') {
|
||||
print_graph_information();
|
||||
exit();
|
||||
|
@ -66,7 +66,7 @@ if ($arg eq 'config') {
|
|||
} else {
|
||||
# Define the values that are returned to munin
|
||||
my ($available, $current, $upper_limit) = (0,0,0);
|
||||
|
||||
|
||||
# Gather the values from mysqladmin
|
||||
$current = poll_variables($MYSQL_VARIABLES,"Threads_connected");
|
||||
$upper_limit = poll_variables($MYSQL_VARIABLES,"max_connections");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue