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 [email protected] alert [email protected] alert [email protected] alert [email protected] 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
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
