monit-general
[Top][All Lists]
Advanced

[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.

Thanks,
Martin


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

Hi,

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.

Regards,

--

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

http://www.krediidiinfo.ee/
http://www.experiangroup.com/


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





reply via email to

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