Package: thttpd
Version: 2.23beta1-3
Severity: wishlist

A default install of thttpd logs 5 lines of stats every hour.  It would
be nice if the package included some basic logcheck patterns to ignore
these.  A sample is below:

Jun 29 10:25:04 pescado2 thttpd[5126]: up 14400 seconds, stats for 3600 seconds:
Jun 29 10:25:04 pescado2 thttpd[5126]:   thttpd - 0 connections (0/sec), 0 max 
simultaneous, 0 bytes (0/sec), 0 httpd_conns allocated
Jun 29 10:25:04 pescado2 thttpd[5126]:   map cache - 0 allocated, 0 active (0 
bytes), 0 free; hash size: 0; expire age: 1800
Jun 29 10:25:04 pescado2 thttpd[5126]:   fdwatch - 3435 selects (0.954167/sec)
Jun 29 10:25:04 pescado2 thttpd[5126]:   timers - 3 allocated, 3 active, 0 free

Here are some patterns that might work (untested):

^\w{3} [ :0-9]{11} [._[:alnum:]-]+ thttpd\[[0-9]+\]: up \d+, stats for 3600 
seconds:
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ thttpd\[[0-9]+\]:   thttpd - \d+ connections 
([.0-9]+/sec), \d+ max simultaneous, \d+ bytes ([.0-9]+/sec), \d+ httpd_conns 
allocated
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ thttpd\[[0-9]+\]:   map cache - \d+ 
allocated, \d+ active (\d+ bytes), \d+ free; hash size: \d+; expire age: \d+
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ thttpd\[[0-9]+\]:   fdwatch - \d+ selects 
([.0-9]+/sec)
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ thttpd\[[0-9]+\]:   timers - \d+ allocated, 
\d+ active, \d+ free


good times,
Vineet
-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages thttpd depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  logrotate                   3.7-5        Log rotation utility


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to