1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

Whitespace cleanup

* remove trailing whitespace
* remove empty lines at the end of files
This commit is contained in:
Lars Kruse 2018-08-02 02:03:42 +02:00
parent ef851f0c34
commit 17f784270a
604 changed files with 2927 additions and 2945 deletions

View file

@ -31,7 +31,7 @@ my $plugin_title = ($db_pool) ? $plugin_suffix." ".$pool_name : $pool_name;
if (!$pool_name)
{
print "Cannot get pool name\n";
exit 1;
exit 1;
}
# command line arguments for autconf and config
@ -164,7 +164,7 @@ if (defined($ARGV[0]))
}
# connect to data
my $dbh = DBI->connect("DBI:Pg:dbname=$db_name;host=$db_host;port=$db_port", $db_user, $db_pass)
my $dbh = DBI->connect("DBI:Pg:dbname=$db_name;host=$db_host;port=$db_port", $db_user, $db_pass)
or die ("Cannot connect to database");
# go trough each set and get the data
foreach my $get ('pools', 'stats')
@ -256,7 +256,7 @@ another example, where different pgbouncers (and so munin plugins) connecting to
env.pgbouncer_port 6542
env.pgbouncer_host localhost
env.pgbouncer_pool dbname
[pgbouncer_webmain]
env.pgbouncer_pass barfoo
env.pgbouncer_user bar
@ -276,7 +276,7 @@ This graph will show the average bytes sent and received by the pgbouncer for th
=head2 Average connections
This graph will show the average amount of connections to the pgbouncer for this pool
This graph will show the average amount of connections to the pgbouncer for this pool
=head2 Average query time