Skip to content

Commit 0dc7781

Browse files
authored
Specify minimal value for postgresql buffer cache
1 parent 38c4775 commit 0dc7781

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugins/node.d/postgres_cache_

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ my $pg = Munin::Plugin::Pgsql->new(
8585
],
8686
suggestquery =>
8787
"SELECT datname FROM pg_database WHERE datallowconn AND NOT datistemplate AND NOT datname='postgres' UNION ALL SELECT 'ALL' ORDER BY 1 LIMIT 10",
88-
graphtype => 'DERIVE'
88+
graphtype => 'DERIVE',
89+
graphmin => 0
8990
);
9091

9192
$pg->Process();

0 commit comments

Comments
 (0)