monit-general
[Top][All Lists]
Advanced

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

Re: [monit] Capturing a monitored processes stdout and stderr


From: Jan-Henrik Haukeland
Subject: Re: [monit] Capturing a monitored processes stdout and stderr
Date: Wed, 02 Jul 2008 02:19:51 +0200

This is not possible now. I'm working on implementing script support for monit and while doing that will also add support for piping stdout and err from a executed program.


On 1. juli. 2008, at 23.31, Dave Paper wrote:

Greetings Monit Peeps,

As a recent convert to monit, I have to say I'm happy with it.

Is there a way to have monit capture text sent to stdout and stderr for a spawned process? I've looked through the monit manual, and through all of the example configs on the monit site, and haven't found what I'm looking for yet.

I've found that during the step of getting a new process into monit (like, say, a jboss process), not being able to see the processes stdout and stderr output is really painful.

Idealy, I'd like to be able redirect the stdout file descriptor to a log file, and the stderr file descriptor to a different log file, and do this for each process. For a host running 10 or 20 different processes, this would help A LOT!

Thanks,

-dave





reply via email to

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