[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[monit] Capturing a monitored processes stdout and stderr
From: |
Dave Paper |
Subject: |
[monit] Capturing a monitored processes stdout and stderr |
Date: |
Tue, 1 Jul 2008 17:31:53 -0400 |
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
--
"The only contributions France has given to popular culture in the
last 50 years is Gerard Depardieu and that horny skunk." --SNL
- [monit] Capturing a monitored processes stdout and stderr,
Dave Paper <=