Hello,

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/sshd.pid
   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


--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to