Re: nagios -- number of postgres connections - Mailing list pgsql-general

From Scott Mead
Subject Re: nagios -- number of postgres connections
Date
Msg-id d3ab2ec80906162045s33effc49lc2fa44f11d0de8f7@mail.gmail.com
Whole thread Raw
In response to Re: nagios -- number of postgres connections  (John R Pierce <pierce@hogranch.com>)
List pgsql-general


On Tue, Jun 16, 2009 at 11:32 PM, John R Pierce <pierce@hogranch.com> wrote:
Whit Armstrong wrote:
anyone know a way to get nagios to monitor the number of postgres connections?
 


  You could also login to the database and run:

   select count(1) from pg_stat_activity;

--Scott
 

pgsql-general by date:

Previous
From: Jeff Frost
Date:
Subject: Re: nagios -- number of postgres connections
Next
From: Rafael Martinez
Date:
Subject: Re: nagios -- number of postgres connections