[check_postgres] Is it possible to run on *all* databases?

Jehan-Guillaume de Rorthais jgdr at dalibo.com
Tue Oct 27 09:21:11 UTC 2015


On Thu, 15 Oct 2015 11:33:46 +0200
Rory McCann <rory at technomancy.org> wrote:

> Hi,
> 
> check_postgres looks pretty cool, and I'm adding it to our Nagios set
> up. But it would be very helpful if there is a way to run an action on
> *all* databases, so that I don't have to add a separate service for each
> database. Is this possible? Built-in nagios checks like check_disk do
> this, and will report a CRITICAL/WARNING if any one of the disks is
> full. Is it possible to have this for check_postgres?

Checks in check_pgactivity are running on all database by default. Then you
have --dbinclude or --dbexclude change this behaviour if needed.

See:
https://exchange.nagios.org/directory/Plugins/Databases/PostgresQL/check_pgactivity/details
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <https://mail.endcrypt.com/pipermail/check_postgres/attachments/20151027/e6b800cd/attachment.sig>


More information about the Check_postgres mailing list