[Top][All Lists]

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

Re: [monit] REQUEST: give error on unknown services

From: Martin Pala
Subject: Re: [monit] REQUEST: give error on unknown services
Date: Wed, 21 Jan 2009 20:56:53 +0100

We'll add this to the todo list.


On Jan 21, 2009, at 12:24 PM, Aleksander Kamenik wrote:


This has bothered me for quite a long time. If I make a typo on the command line like:

monit unmonitor apace

instead of 'apache', monit doesn't tell me. It even exits with return code 0. Is there a special reason for this?

If not, I'd really like it to give me an error like 'apace unknown' and exit with code 1, so I could do something like:

monit stop apace && cp newconf /etc/apache/httpd.conf && monit start apache

and it would not go beyond the first command.



Aleksander Kamenik
System Administrator
Krediidiinfo AS
an Experian Company
Phone: +372 665 9649
Email: address@hidden

To unsubscribe:

reply via email to

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