title: Last successful backup of DB2 databases
agents: aix, linux
catalog: app/db2
license: GPL
distribution: check_mk
description:
 This check monitors the time of the last successful backups of DB2 databases.

 You can set levels to raise alerts if the last successful backup
 is too long ago.

 This check needs the mk_db2 plugin installed in the agent.

item:
 The DB2 instance name followed by a : and the database name, e.g. db2ilog1:REST1

examples:
 # Set global default values. Raise critical if last successful
 # backup is older than 28 days and warning if it is older than 14 days.
 db2_backup_default_levels = (86400 * 14, 86400 * 30)

inventory:
 One separate check for each database will be created.

