Hi!

I'm running Monit 4.5 on Debian 3.2 (sarge/stable). It's configured properly to monitor lighttpd HTTP server. Now I want to add another simple executable to monitor: /usr/bin/foo

I run the following:
> monit -d 5
> killall foo

After 5 seconds, monit notices that foo is not running. The syslog contains the following:

Jan 14 16:16:45 xxx monit[19441]: 'foo' process is not running

After that monit does nothing. It does not start the process automatically. I have to manually call "monit start foo" which works.

My configuration file looks as follows:

check process foo with pidfile /var/run/foo.pid
      start program = "/usr/bin/foo"

Any ideas?

Thank you in advance,
Michel


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

Reply via email to