monit-general
[Top][All Lists]
Advanced

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

Re: Monit 4 enhancement requests


From: Jan-Henrik Haukeland
Subject: Re: Monit 4 enhancement requests
Date: Wed, 24 Sep 2003 00:01:10 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Reasonable Discussion, linux)

Jan-Henrik Haukeland <address@hidden> writes:

>   ·  Support for running monit under dæmontools
>   
>      Instead of running monit under init or as a regular dæmon, I
>      prefer to run monit under DJB's dæmontools or Pape's runit
>      suite, and of course I can do so using the -I switch of monit.
>      What I'd like to see, though, is monit writing log messages to
>      [a line buffered] stdout so that they're captured by multilog
>      (dæmontools) og svlogd (runit).

Actually, I think this should already be possible (I do not use
daemontools so I cannot test it). If monit has a tty, which it has if
it was started with the -I switch, then monit will print log messages
*both* to the logfile/syslog and too the tty's stderr.

If you only want log messages to go to the tty not to a log file,
simply use; `set logfile /dev/null' in monitrc. 


-- 
Jan-Henrik Haukeland




reply via email to

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