Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 234393

Summary: net-analyzer/fwlogwatch - add cron script / init.d/conf.d scripts
Product: Gentoo Linux Reporter: Bjoern Thorwirth <Bjoern.Thorwirth>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: Sample configuration file. to be placed in /etc/conf.d
Cron script. place /etc/cron.daily
Init daemon for realtime response mode
cron script cleaned. sorry place in /etc/cron.daily

Description Bjoern Thorwirth 2008-08-10 17:34:40 UTC
fwlogwatch supports a real time daemon as well. There are example scripts included in the source tar ball. My suggestion is to create a directory /etc/fwlogwatch and to place the configuration there. the response and notify example scripts could be stored in a subfolder response. An init script for the daemon could be added as well. Configuration like email address to notify and other options could be stored in a conf file in /etc/conf.d. What do you think. I could supply the necessary init script if someone adapts the ebuild.

regards bjoern

Reproducible: Always
Comment 1 Bjoern Thorwirth 2008-08-11 21:11:24 UTC
Created attachment 162708 [details]
Sample configuration file. to be placed in /etc/conf.d
Comment 2 Bjoern Thorwirth 2008-08-11 21:12:53 UTC
Created attachment 162709 [details]
Cron script. place /etc/cron.daily
Comment 3 Bjoern Thorwirth 2008-08-11 21:14:00 UTC
Created attachment 162711 [details]
Init daemon for realtime response mode
Comment 4 Bjoern Thorwirth 2008-08-11 21:23:28 UTC
I have written a sample configuration file, a cron script an an init script for the realtime response mode. i hope they are a bit usefull.

Comment 5 Bjoern Thorwirth 2008-08-11 21:28:52 UTC
Created attachment 162713 [details]
cron script cleaned. sorry place in /etc/cron.daily