[Logwatch] Including output of an executable (not logfile)
Norman Elton
normelton at gmail.com
Mon Sep 24 13:26:32 MST 2007
Perfect, thanks for the pointer.
Is there a naming convention for "zz-" to be scripts that don't pull
from a logfile?
Norman
On 9/24/07, Tom Metro <tmetro+logwatch at gmail.com> wrote:
> Norman Elton wrote:
> > Is there a good way to include the output of an executable rather than
> > a logfile?
>
> Yes. You write a custom service filter that invokes the executable and,
> if necessary, reformats the output.
>
> Take a look at the disk space service filer for an example of a filter
> that wraps the df command.
>
> -Tom
>
> --
> Tom Metro
> Venture Logic, Newton, MA, USA
> "Enterprise solutions through open source."
> Professional Profile: http://tmetro.venturelogic.com/
>
More information about the Logwatch
mailing list