[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [monit] Postgres Port monitoring

From: support
Subject: Re: [monit] Postgres Port monitoring
Date: Tue, 13 Apr 2010 13:28:24 +0200
User-agent: Mutt/1.5.18 (2008-05-17)


you can use postgresql protocol test ... just extend the test statement using 
'protocol pgsql':

  if failed port 5432 protocol pgsql then alert

M/Monit support

On Tue, Apr 13, 2010 at 09:13:13AM +0100, Mark Olliver wrote:
> Hi,
> I am using monit to monitor the postgres service is up, currently it
> does this via a standard connect to the 5432 port. However this is
> causing an issue in the postgres server log as monit connects to the
> port but sends no data to postgres so postgres logs and incomplete
> startup error.
> To overcome this i think monit needs to actually connect to the database
> as a user and then exit, (which would probably be a more valid test). Is
> there a way to do this or and suggested enhancement?
> Regards
> Mark
> Mark Olliver BSc (Hons) MBCS CITP
> Thermeon (System Admin)
> Russ Hill Farm, Russ Hill, Charlwood, RH6 0EL, UK
> +44 1293 864 300
> --
> To unsubscribe:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]