check_postgres_last_vacuum for all databases - Mailing list pgsql-general

From AI Rumman
Subject check_postgres_last_vacuum for all databases
Date
Msg-id CAGoODpfzDQ8jM=+o2xJC=Cps+-kqi4LtSL9BJZSMQ9W6-NKZCg@mail.gmail.com
Whole thread Raw
List pgsql-general
Hi,

I have been setting up nagios alert for check_postgres_last_vacuum.
I went through the code and saw that I have to define the databases in order to check for all database tables. In my environment, database creation and deletion is dynamic. So any time any one can create database or delete for their needs.
And I configured manual vacuum process for all databases each night.

In this scenario, I was looking for a tool to check the last vacuum time in the servers so that if any table's last vacuum date is N days older, nagios will send an alert.

Any idea for it.

Thanks,
AI

pgsql-general by date:

Previous
From: Paul Jungwirth
Date:
Subject: Re: Storing Special Characters
Next
From: Jashaswee
Date:
Subject: How to convert numbers into words in postgresql