monit-general
[Top][All Lists]
Advanced

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

Request for a new "script" service type


From: Michel Marti
Subject: Request for a new "script" service type
Date: Tue, 21 Dec 2004 16:13:07 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5

Hi all,

I'm missing the possibility to use a external script for doing service checks.
e.g.:

check script myservice with path /usr/local/bin/check-myservice
  start program = "/etc/init.d/..."
  stop  program = "/etc/init.d/..."
  if failed then restart

In this scenario, all exit codes from the "check-myservice" script != 0 would be
threated by monit as "failed".

I wonder if anyone has considered or has started working on such a feature?


Michel.





reply via email to

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