monit-general
[Top][All Lists]
Advanced

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

Postgresql non-responsive timing


From: Kenneth Holcomb
Subject: Postgresql non-responsive timing
Date: Tue, 11 Oct 2011 14:33:14 -0400
User-agent: Microsoft-MacOutlook/14.13.0.110805

I am monitoring postgresql with the following code:

check process postgresql with pidfile /var/run/postmaster.5432.pid
   group database
   start program = "/etc/init.d/postgresql start"
   stop program = "/etc/init.d/postgresql stop"
   noalert address@hidden
   alert address@hidden
   alert address@hidden
   alert address@hidden
   if failed host localhost port 5432 protocol pgsql then restart
   if 5 restarts within 5 cycles then timeout

The question I have is how long does monit wait on the if failed host localhost port 5432 before it decides to issue the restart?


-- kenh


reply via email to

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