mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Merge pull request #103 from kolyagora/master
Fix for pgbouncer_ plugin
This commit is contained in:
commit
89050ebdac
@ -166,7 +166,7 @@ foreach my $get ('pools', 'stats')
|
|||||||
my $pre = $dbh->prepare("SHOW $get")
|
my $pre = $dbh->prepare("SHOW $get")
|
||||||
or die ("Cannot prepare query");
|
or die ("Cannot prepare query");
|
||||||
$pre->execute()
|
$pre->execute()
|
||||||
or die ("Cannot execute statement")
|
or die ("Cannot execute statement");
|
||||||
while (@data = $pre->fetchrow)
|
while (@data = $pre->fetchrow)
|
||||||
{
|
{
|
||||||
# first defines the pool
|
# first defines the pool
|
||||||
|
Loading…
Reference in New Issue
Block a user