[check_postgres] [commit] Add 'checkpoint' action.

Robert Treat xzilla at users.sourceforge.net
Mon Feb 2 22:39:58 UTC 2009


On Monday 02 February 2009 10:39:55 Greg Sabino Mullane wrote:
> > Just curious, but since the check has to run on the db server, why not
> > have it log into the db to look at checkpoint_timeout, and then base
> > warning/critical based on that? Also, it might be worth looking if the db
> > is in backup mode.
>
> This is meant to run on a recovering server, so we can't login. I'll
> make the docs clearer on that point. If you think it might be useful to
> measure checkpoints on the 'master' side, we can look into that as well,
> but this is only meant to measure how "far behind" a warm standby slave is.

Ah, that certainly seems more useful. I wouldn't worry about checkpoints on 
the master side at this point. 

-- 
Robert Treat
Conjecture: http://www.xzilla.net
Consulting: http://www.omniti.com


More information about the Check_postgres mailing list