Re: [vchkpw] Clamd Scan

2004-09-17 Thread Matt Hoppes
Interestingly when I try the stderr with clamav I get nothing.. well I
do but only the clamav startup, after that it does nothing, the output
doesn't come to stderr, at least not the one I'm attached to!


- Original Message -
From: Paul SIPOS [EMAIL PROTECTED]
Date: Thu, 16 Sep 2004 11:15:21 +0300
Subject: Re: [vchkpw] Clamd Scan
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]



 Matt Hoppes wrote: 
 Hi, I'm trying to get the qmailmrtg7 script to log clamd... however I
can not get clamd to log via multilog.. where do I start?
 
  Original Message  
 Subject: Re: Qmail MRTG for Spamassasin and Clamav 
 Date: Wed, 25 Aug 2004 11:30:13 -0500 
 From: Ken Jones [EMAIL PROTECTED] 
 Organization: Inter7 
 To: Paul SIPOS [EMAIL PROTECTED] 
 References: [EMAIL PROTECTED] 
 
 For clamav, setup your clamav.conf file to log to Stderr Then send
the output through multilog For spamd add -s stderr to the startup
options and again send the output through spamassassin. Examples:
/usr/local/sbin/clamd | /usr/local/bin/setuidgid clamav \
/usr/local/bin/multilog t n20 s100 /var/log/clamd  spamd -c -v -u
vpopmail -s stderr -r /var/run/spamd.pid \
--socketpath=/tmp/spamd.sock 21 | \ /usr/local/bin/setuidgid qmaill
\ /usr/local/bin/multilog t n20 s100 /var/log/spamd  On Thursday
19 August 2004 05:07 am, you wrote:  I searched google for
instructions to generate appropriate logs  for qmailmrtg7-4.0
spammassasin and Clamav feature but no luck.If u can help with
links or instructions I would be gratefull.Paul
 
 -- - Paul Sipos Network Engineer Tech
Department Romania Data Systems (Cluj-Napoca) Tel: +40-64-438646
Fax:+40-64-438830 www.rdsnet.ro -
---
Privileged/Confidential Information may be contained in this message.
If you are not the addressee indicated in this message (or responsible
for delivery of the message to such person), you may not copy or
deliver this message to anyone. In such a case, you should destroy
this message and kindly notify the sender by reply e-mail.
---


[vchkpw] Question on msg/hour graph

2004-09-17 Thread Matt Hoppes
Hi,
On the inter7 qmailmrtg7 graphs.. what exactly is the msg/hour graph
displaying?   I know MRTG takes 5 minute averages but what exactly is
it averaging?   I know it's doing the messages.. but how do you do
msg/hour in a 5 minute average?  I guess I'm missing some sort of
logic there..


Re: [vchkpw] Question on msg/hour graph

2004-09-17 Thread Matt Hoppes
Got it.. I just wanted to make sure that I was understanding what it
was.. thanks :)


On Fri, 17 Sep 2004 10:34:40 -0500, Ken Jones [EMAIL PROTECTED] wrote:
 On Friday 17 September 2004 07:34 am, Matt Hoppes wrote:
  Hi,
  On the inter7 qmailmrtg7 graphs.. what exactly is the msg/hour graph
  displaying?   
 It is displaying the averaged number of messages per hour.
 
  I know MRTG takes 5 minute averages but what exactly is
  it averaging?   
 Every 5 minutes we get an exact count of number of messages
 received in the last 5 minutes. qmailmrtg7 multiplies that value
 by 12 to change the time scale to msg/hour. That value is handed
 to mrtg which averages it with the prior data samples.
 
  I know it's doing the messages.. but how do you do
  msg/hour in a 5 minute average?  
 messages(in 5 minutes) * 12 = msg/hour
 
  I guess I'm missing some sort of logic there..
 Most folks find it easier to view msg/hour instead of msg/5 mins.
 Hence the multplication. Which means, if you only get 1 message
 in 5 minutes, mrtg will show 12msg/hour.
 
 Ken Jones



[vchkpw] Clamd Scan

2004-09-15 Thread Matt Hoppes
Hi,
I'm trying to get the qmailmrtg7 script to log clamd... however I can
not get clamd to log via multilog.. where do I start?