title: PostgreSQL Database Last Vacuum and Analyze
agents: linux
catalog: app/postgresql
license: GPL
distribution: check_mk
description:
 This check allows you to monitor the last VACUUM and ANALYZE time for tables in
 a PostgreSQL database. You can configure limits specifiying the maximum age of the last operation.
 Without additional limits configuration this check is always OK.

 This check relies on data reported by the agent-side plugin {mk_postgres}

inventory:
  Two services for each database. One for VACUUM and one for ANALYZE.

[parameters]
parameters(dict): The parameters are a dictionary with the following optional keys

    {'last_vacuum'}: An int tuple containing limits for the maximum last vacuum age

    {'last_analyze'}: An int tuple containing limits for the maximum last analyze age
