From 890218cb8622d317d93e5b2ca93b38764ad4658a Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 29 Oct 2013 02:41:18 +0000 Subject: [PATCH] Increase postgres replication delay warning times --- cookbooks/munin/files/default/plugins/postgres_replication | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/munin/files/default/plugins/postgres_replication b/cookbooks/munin/files/default/plugins/postgres_replication index a0dd61d19..16d6b51be 100755 --- a/cookbooks/munin/files/default/plugins/postgres_replication +++ b/cookbooks/munin/files/default/plugins/postgres_replication @@ -12,7 +12,7 @@ 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" ); $pg->Process(); -- 2.43.2