[Top][All Lists]

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

Re: program entry

From: Eduard San Anselmo
Subject: Re: program entry
Date: Wed, 04 Sep 2002 10:20:48 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv: Gecko/20010901

Rory Toma wrote:

Is DAY running on it's own, or from inetd? If it's running from inetd,
you need to test against inetd.

On Mon, 2002-09-02 at 08:48, Eduard San Anselmo wrote:

I have a problem with a program entry at the .monitrc file:
let's say DAY is a program that returns the name of the current day (original, eh?). How could I use monit to watch the right functioning of the program? (imagine the program is working fine if it returns something). The problem here is that DAY "only" starts, becuse it stops by itself (i.e. doesn't need anyone telling it to stop), and it doesn't create a pid file (the solution to this would be use a wrapper script, as I read at the FAQ).
So what am I supposed to do?
Thanks a lot.

To unsubscribe:

DAY will be sometimes running on its own (when somebody invokes it) and sometimes from inetd, I mean, DAY is a generic program, with the feature that it's not tcp/ip, so could I monitor it in any other way?

reply via email to

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