[Logwatch] Including output of an executable (not logfile)

Tom Metro tmetro+logwatch at gmail.com
Mon Sep 24 12:45:49 MST 2007

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 Metro
Venture Logic, Newton, MA, USA
"Enterprise solutions through open source."
Professional Profile: http://tmetro.venturelogic.com/

More information about the Logwatch mailing list