[check_postgres] Dealing with multiple databases

Christoph Berg cb at df7cb.de
Sat May 30 09:34:23 UTC 2015


Re: CSS 2015-05-30 <B447F831-BC33-47F0-999A-C736A8026936 at morefoo.com>
> Just a quick question for anyone left on the list. :)
> 
> There are a huge number of nice maintenance-related checks in this package, like “check_last_vacuum” that are pretty handy.  What I’ve noticed, unless I’m missing something in the docs, is that there’s no simple way to just point these checks at a cluster and have the check run across all databases on that cluster.
> 
> What I’m currently doing is out of maybe 150 databases, I setup nagios checks for the top 20.
> 
> I’m hoping I’m just being dense and I’ve missed some flag that makes a check non-db-specific…

Isn't this more a nagios/icinga/... question? I'd look into setting up
templates including the checks you'd want and then apply these to
databases.

Christoph
-- 
cb at df7cb.de | http://www.df7cb.de/


More information about the Check_postgres mailing list