[Top][All Lists]

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

[monit] alert restarts service

From: gorlist
Subject: [monit] alert restarts service
Date: Fri, 18 Apr 2008 00:54:23 +0300


firstly let me say a big thank you to the developers for such a wonderful tool.

So my monitrc looks like this:
 check process sshd with pidfile /var/run/
   start program  "/etc/init.d/sshd start"
   stop program  "/etc/init.d/sshd stop"
   if failed port 22 protocol ssh then alert

The thing is that if I stop the sshd manually, the next cycle it
displays "Does not exist", sends an email to the global address and
after that it starts the daemon.
That means 2 cycles after I stop the sshd, it starts it even if I
haven't specified restart (I have only alert).
Why does it do that?

Also, is there a way that I can monitor daemons on remote hosts and
restart them if needed? If yes, how?

Finally, is there an IRC channel or something except this list to get support?

Thank you

reply via email to

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