monit-general
[Top][All Lists]
Advanced

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

restart failed


From: Pavel Urban
Subject: restart failed
Date: Sun, 17 Jul 2005 10:03:35 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511

Hello,

we have separated 'alert' and 'timeout' notifications and thess lines in monit.conf

check process mta-dispatcher with pidfile /usr/iplanet/mta-in1/msg-mta-in1/config/pidfile.imta_dispatch start program "/usr/iplanet/mta-in1/msg-mta-in1/imsimta start dispatcher"
  stop program  "/usr/iplanet/mta-in1/msg-mta-in1/imsimta stop dispatcher"
  if 5 restarts within 5 cycles then timeout
  if failed host 192.168.10.12 port 25 protocol smtp then restart

It work ok, but today we've noticed that 'stop' method failed - and isn't tried again. It is probably normal. BUT - no timeout occures and therefore no 'timeout' notifications are sent, while the service is effectively not running. Can this be accomplished somehow?

Thanks!

--
***********************************************************************
Pavel Urban (address@hidden)
IOL system disaster
Internet OnLine, owned by Cesky Telecom, a.s. (www.ct.cz)
***********************************************************************
   Vegetables should not operate electronic equipment.
          Computer Stupidities, http://rinkworks.com/stupid/
***********************************************************************




reply via email to

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