Feature request: check process with option to check file timestamp

Issue #183 new
Zlatko Čajić created an issue

We have a normal daemon process that generates appropriate pid file. Occasionally its main loop hangs but process stays put in running state. We can only detect the problem by watching log file it produces. So when timestamp is older than 5 minutes and daemon is alive, we are sure that the main process loop hang.

Our monit config file has two check entries: 1. check process with pidfile 2. check file with path if timestamp > 5 minute then alert

It would be really nice to have one process check only for reporting reasons and such. We plan to use mmonit.

Comments (1)

  1. Log in to comment