From fa9283fa076a7c5bb20158428106528b17d5e820 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 16 May 2016 12:27:16 +0100 Subject: [PATCH 1/1] Force axis to start at zero for postgres replication graphs --- cookbooks/munin/files/default/plugins/postgres_replication | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- 2.43.2