X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/890218cb8622d317d93e5b2ca93b38764ad4658a..35171e1e6bceb46b7d575de5dda768eb97f4bd49:/cookbooks/munin/files/default/plugins/postgres_replication?ds=sidebyside diff --git a/cookbooks/munin/files/default/plugins/postgres_replication b/cookbooks/munin/files/default/plugins/postgres_replication index 16d6b51be..56ee16371 100755 --- a/cookbooks/munin/files/default/plugins/postgres_replication +++ b/cookbooks/munin/files/default/plugins/postgres_replication @@ -12,7 +12,8 @@ my $pg = Munin::Plugin::Pgsql->new( basequery => "SELECT (extract(epoch FROM now()) - extract(epoch FROM pg_last_xact_replay_timestamp()))::int AS delay", pivotquery => 1, configquery => "VALUES ('delay','Replication delay')", - extraconfig => "delay.warning 300\ndelay.critical 3600" + extraconfig => "delay.warning 300\ndelay.critical 3600", + graphmin => 0 ); $pg->Process();