[Top][All Lists]

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

[monit] General request for monit

From: Naoya Nakazawa
Subject: [monit] General request for monit
Date: Thu, 19 Nov 2009 21:21:31 +0900


I'm using monit 5.0.3 at my internet service.
Monit is very useful open source unix system management tool.
So I have a one general request for monit.

I want to use my custom shell script for service tests. For example httpd 
process, like this.

check process httpd with pidfile /var/run/
    start program = "/etc/init.d/httpd start"
    stop program = "/etc/init.d/httpd stop"
    if failed exec "" timeout 1 for 10 cycles then restart

timeout is custom shell script execution time. like this.

# checking my rules processes
# when failed
exit 1
# when succeed
exit 0

I think that this function is very useful for everyone.
So, I'm trying to write a patch for monit.

Thank you,
Naoya Nakazawa

reply via email to

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