Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 233757 Details for
Bug 322341
net-analyzer/munin patch for amavis plugin
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Amavis plugin patch
amavis.in.diff (text/plain), 829 bytes, created by
Premek Vohnout
on 2010-06-01 07:25:05 UTC
(
hide
)
Description:
Amavis plugin patch
Filename:
MIME Type:
Creator:
Premek Vohnout
Created:
2010-06-01 07:25:05 UTC
Size:
829 bytes
patch
obsolete
>--- ../../../munin-1.4.3.orig/plugins/node.d/amavis.in 2009-12-30 13:55:55.000000000 +0100 >+++ amavis.in 2010-03-15 00:37:41.000000000 +0100 >@@ -105,7 +105,7 @@ > > if [ "$1" = "config" ]; then > echo 'graph_title Amavis filter statistics' >- echo 'graph_vlabel #' >+ echo 'graph_vlabel \#' > echo 'graph_category antivirus' > echo 'virus.label virus' > echo 'virus.info Number of viruses caught in email' >@@ -132,8 +132,8 @@ > else > $LOGTAIL ${AMAVIS_LOG} ${STATEFILE} | grep 'amavis\[.*\]:' > ${TEMP_FILE} > fi >- total=$(cat ${TEMP_FILE} | wc -l) >- virus=$(grep INFECTED ${TEMP_FILE} | wc -l) >+ total=$(grep 'Passed' ${TEMP_FILE} | wc -l) >+ virus=$(grep 'INFECTED' ${TEMP_FILE} | wc -l) > spamm=$(grep 'Passed.*Hits: 1[0-9][.]' ${TEMP_FILE} | wc -l) > spams=$(grep 'Passed.*Hits: [2-9][0-9][0-9]*[.]' ${TEMP_FILE} | wc -l) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 322341
: 233757