X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4ec3cd318e1c31304260c8833b77178702bf1f98..27968a88f8d7fcc542cee54ebc9d66093564fda4:/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 a0dd61d19..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 60\ndelay.critical 300" + extraconfig => "delay.warning 300\ndelay.critical 3600", + graphmin => 0 ); $pg->Process();