Re: [AMaViS-user] amavisd-agent
Mark Martinec ha scritto: Giuseppe, I was wondering whether it would be possible to add in amavisd-agent more statistical output about performances. E.g. the number of messages per seconds achievable in a certain period of time, You alerady have it: InMsgs gives a number of messages received by amavisd, and its hourly mail rate. To measure a peak througput with a given number of child processes, pause a MTA queue for a while so that some mail accumulates in the queue, then restart amavisd, flush the queue, and by the time a queue dries out see what the InMsgs mail rate is. or the average size of a message, etc.; You already have it: InMsgsSize2151MB 130MB/h 100.0 % (InMsgsSize) InMsgsSizeInbound 1370MB 83MB/h 63.7 % (InMsgsSize) InMsgsSizeInternal 303MB 18MB/h 14.1 % (InMsgsSize) InMsgsSizeOutbound 568MB 34MB/h 26.4 % (InMsgsSize) Well, amavisd also process all the mails so maybe more statistic could be useful to be shown directly (or maybe for getting processed later by some MRTG tools), without having to take an handy calculator (e.g. taking the total number of MsgSize and divide by the number of messages) :-) I also obtain strange values for this parameter. E.g. I get a value of 7-8 s/msg, mostly taken in TimeElapsedSpamCheck (which means around 0.1 msgs/s). This arithmetic would only be valid if you only used one amavisd child process. As usually there are dozens, especially on a multiprocessor host, parallelism must be taken into account, so mail rate would be about TimeElapsedTotal / $max_servers during times when all child processes are busy. well, yep, it could be reasonable also to take into account the number of servers running. Bye Giuseppe. -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] amavisd-agent
Giuseppe, I was wondering whether it would be possible to add in amavisd-agent more statistical output about performances. E.g. the number of messages per seconds achievable in a certain period of time, You alerady have it: InMsgs gives a number of messages received by amavisd, and its hourly mail rate. To measure a peak througput with a given number of child processes, pause a MTA queue for a while so that some mail accumulates in the queue, then restart amavisd, flush the queue, and by the time a queue dries out see what the InMsgs mail rate is. or the average size of a message, etc.; You already have it: InMsgsSize2151MB 130MB/h 100.0 % (InMsgsSize) InMsgsSizeInbound 1370MB 83MB/h 63.7 % (InMsgsSize) InMsgsSizeInternal 303MB 18MB/h 14.1 % (InMsgsSize) InMsgsSizeOutbound 568MB 34MB/h 26.4 % (InMsgsSize) I see for instance the opposite, e.g. TimeElapsedTotal, which sound the number of total time taken to process all the incoming messages since the start of the amavisd daemon. Right. I also obtain strange values for this parameter. E.g. I get a value of 7-8 s/msg, mostly taken in TimeElapsedSpamCheck (which means around 0.1 msgs/s). This arithmetic would only be valid if you only used one amavisd child process. As usually there are dozens, especially on a multiprocessor host, parallelism must be taken into account, so mail rate would be about TimeElapsedTotal / $max_servers during times when all child processes are busy. This sound an unbearable low value, as I achieve it in more or less a Dual-Quad Core Xeon 64bit with 12GB of memory, as well as a single core virtualized Athlon32 with 384MB of memory. Are those reported values reliable? The figures are reliable. But keep in mind what is being measured. Mark -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
[AMaViS-user] amavisd-agent
Hi. I was wondering whether it would be possible to add in amavisd-agent more statistical output about performances. E.g. the number of messages per seconds achievable in a certain period of time, or the average size of a message, etc.; I see for instance the opposite, e.g. TimeElapsedTotal, which sound the number of total time taken to process all the incoming messages since the start of the amavisd daemon. I also obtain strange values for this parameter. E.g. I get a value of 7-8 s/msg, mostly taken in TimeElapsedSpamCheck (which means around 0.1 msgs/s). This sound an unbearable low value, as I achieve it in more or less a Dual-Quad Core Xeon 64bit with 12GB of memory, as well as a single core virtualized Athlon32 with 384MB of memory. Are those reported values reliable? Thanks in advance. Bye Giuseppe. -- ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] amavisd-agent statistic
Uwe, is the a way to keep the statistics while reload and/or stop/start cycle? The following patch (to 2.6.1) disables purging of BDB databases during startup: --- amavisd.orig2008-06-29 02:37:58.0 +0200 +++ amavisd 2008-10-27 18:44:29.0 +0100 @@ -8759,3 +8759,3 @@ # Amavis::DB::init(1, 15+1+40); # SHA-1 - Amavis::DB::init(1, 15+1+32); # MD5 + Amavis::DB::init(0, 15+1+32); # MD5 } @@ -13321,3 +13321,3 @@ - Amavis::DB::SNMP::put_initial_snmp_data($dbs); + Amavis::DB::SNMP::put_initial_snmp_data($dbs) if $predelete; for my $db ($dbc, $dbq, $dbs, $dbn) { There is a small chance where a corrupted database could prevent future amavisd restarts, which is why I changed the default a long time ago. With reasonably recent versions of libdb you should be alright. Mark - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
[AMaViS-user] amavisd-agent statistic
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi @all, is the a way to keep the statistics while reload and/or stop/start cycle? Thanks, Uwe -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQIcBAEBAgAGBQJJAbprAAoJEEJXG7BUuynnv1sP/iFT+IRKUw+dfiM3JEniCNsZ PiRNQ8ytfNBv6RLpUzD7qOUyuddrs7oZyBk+1k+GkjY0pcGSHcWf3rEgL5aOjA3y +PAqOza50oR0vGX2X/uKeXJHjfWI51lOWD+zmrQqDP8Kt8UlPLJJqxk4EG+XOlxm 9b4Z6qNkgY7e97PYHhLcPCIpVLLa7ix4Qmm+YaQ4cUvTRiXjISDr1joZZ7Df78sm MIwm03INjFMWDnXXSz2aFqA9UXEK5F8Spaf38ARg6rKY3a19qco2tVxvui/QcEfb k+2jIdkbIHWIyo2vXpbeWjN7xsnQX2cadpGA+dyFZ5SRh47wd5AFi0sC8Pt1jPtm GZ4tkd4lw5HcY8sbfx1ZLT1zrV+yVAqOEIDePKGmCJCXaW9rNKYsOI14EZ4dQd/j 1ceeGZNQo30qDUEAVY8uXGVP8V563LLQzlUjLYI++khUwtjjaaRjCNV8eceL3eSJ UIeVJAvUH7MRPVTXqhhWC4l8flVPDek1xSgMGYOBqxSjQlqtRRmrn8jWHh1sepcS LsCX7IfN7jX2DBQRag11Lb79LVlB+Pc+/3wwx9t57X9G/5I9wo7n+oJc+ikZyjKh fI+YDz+0OzYydBC3bESphyIcXPsseJgyhQSxej21ScekPVRashEz4zSCBvuP0p9J GPwNJjapO+g7gsPSEiFC =I913 -END PGP SIGNATURE- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] amavisd-agent
Jan, I am trying to get some statistics from amavisd. Found amavisd-agent in my test-install. Is there a man page or documentation that describe this command? Especially the output? It seems some SNMP oid. Indeed SNMP oid lookalikes, these are statistics counters collected by amavisd child processes and constantly being updated in a bsb database. The amavisd-agent is just a simple program to show these counters, until some kind sould provides a true SNMP agent to map these counters to a true SNMP space. For example i see: CacheAttempts 71 5/h 100.0 % (CacheAttempts) CacheMisses 71 5/h 100.0 % (CacheAttempts) But what does it mean? Is this an error? Should i have cache and doesn't it work or what? Looks normal. Means 71 messages came in since amavisd startup (each one causes one cache lookup, all failed to find a match), on the average of 5 lookups per hour. The last column shows a percentage of some other counter, and in the absence of some meaningful other counter to compare to, a value is compared against itself, always yielding 100%. Dunno. Maybe ask on the amavis-users list? :) Right. Followups (if any) to the amavisd mailing list please. Mark - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] amavisd-agent
...constantly being updated in a bsb database. (a typo) a bdb database that is, a Berkeley db, usually at /var/amavis/db/snmp.db Mark - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] amavisd-agent
Mark, Please, can you outline requirement and goals to me too? Can you address me to find some specification to develop an SNMP agent? rocsca - Original Message - From: Dale Walsh [EMAIL PROTECTED] To: Mark Martinec [EMAIL PROTECTED] Cc: Amavis users amavis-user@lists.sourceforge.net Sent: Thursday, October 27, 2005 9:56 AM Subject: Re: [AMaViS-user] amavisd-agent On Oct 25, 2005, at 08:47 , Mark Martinec wrote: Rocsca, I'ld like to know why I can't get any information that I get launching 'amavisd-agent' from a shell, when I execute this command from a shell: # snmpwalk -v2c -c *** localhost 1.3.6.1.4.1.15312.2.1 The amavisd-agent presently is only a demo program to show how a true SNMP agent could obtain the information from amavisd. Maybe I need to install the some MIBs?? Where I can download them?? It is possible the to monitor my agent with MRTG?? Someone have similar experience?? Is there some MIB storing information about spam message received by a domain?? Is It possible to maintain this information too?? Maybe I asks many questions, but I'ld like to start a discussion about this argument... From a TODO file: SOME OF THE MORE SELF-CONTAINED PROJECTS - provide a true SNMP agent, based on already available database of statistics counters, and giving some thoughts on designing a true MIB; It would be really nice if somebody would tackle that project. Mark OK, I'm free, have time. Please outline requirements and goals. Do you wish this to be a true snmp agent solution or a web/email/ console solution that mimics the snmp protocol? Expected features (minimum acceptable as well)? Now my two cents worth, making the agent adhere to the snmp protocol makes it difficult to do in perl without a lot of hacking, a C solution might be a better choice and would make communication via the snmp C API a simple one to achieve but would limit the use without writing a stand-alone client to go with it, of course the client could be perl based but only speculation. Of course, you could go the PHP/snmp route and use apache to handle the communication aspect which would effectively act as agent/client via a browser without too much difficulty. Anyway, as number 5 says, need input.. -- Dale --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] amavisd-agent
Please, can you outline requirement and goals to me too? Can you address me to find some specification to develop an SNMP agent? Here it is, sorry this took me so long. Two tasks need to be addressed: - devising and specifying a content-filtering MIB - providing access to the MIB (a SNMP agent) Devising and specifying a content-filtering MIB --- While designing a MIB, the following should be taken as a reference: - collect ideas from Mail Monitoring MIB (RFC 2789, aka MTA-MIB) As amavisd-new behaves in many respects as a true MTA, a subquestion is whether a SNMP agent should provide two subtrees: one a pure RFC 2789, the other a specialized amavisd-new MIB, or would a non-standard specialized amavisd-new MIB suffice? Would clients benefit from a MTA-MIB view of amavisd? - see what variables are currently collected by amavisd-new * by running amavisd-agent, or * by directly browsing a database by: db_dump -p /var/amavis/db/snmp.db * by checking the source for variables which only rarely show; - a MIB description must be compliant to the SMIv2 (which can be automatically converted to SMIv1 if needed). - consider potential future needs and broader use when designing a content-filtering MIB, so that it might be useful to other content filtering applications; The currently provided variables collected and provided by amavisd are mostly of types Counter32 and octet string. It is quite likely that the following types will be used in the future: integer, Gauge32, TimeTicks, and IpAddress. It it unlikely that Counter64 would be needed. The type of each variable is already provided in a database. Most variables are simple non-aggregate objects. Besides these there is a set of counters to be represented as a table, i.e. a table of encountered virus names and associated counts. Furthermore there is a set of counters of a form OpsDecType-xxx, where xxx could be one or more 'short content types', e.g. OpsDecType-audio.mpa.mp3. It is not obvious what would be a best representation of these. Some aggregate representation would probaby be desired. There are currently no variables of type Gauge32, although it is not hard to imagine that such could be useful in the near future. An example may be a current size of a quarantine or tempdir area, It is also easy to imagine that variables of a TimeInterval type would be useful (e.g. LastOutboundActivity, LastConnectToSQL). It is unlikely that traps would be added in a near future, and even less likely that write or create access would be needed for a variable. It is unclear whether a concept of 'groups' from MTA-MIB would be useful in the context of amavisd-new. Perhaps considering groups like (spam, virus, etc.) or groups according to a policy bank path selected? Would that be too far from the spirit of MTA-MIB groups? The view of amavisd-new variables should represent a running instance of amavisd-new as a single entity, aggregating information from all child processes into one set of variables. This aggregation is already provided by using a Berkeley db, so this has already been taken care of. This need for aggregation is also one of the reasons why a SNMP agent or a subagent can not be implemented in each child process. When amavisd is restarted, all counters in a database are reset, and the sysUpTime timeticks variable is also reset. This may be shown to SNMP clients unchanged, or a SNMP agent may decide to implement cumulative counters which survive across daemon restarts (proper unsigned wraparounds would need to be done correctly). If the agent also provides other MIBs of the system and supplies a 'system' MIB reflecting the machine uptime, it may be more logical to hide amavisd restarts to clients unless when this specific information is being sought. A SNMP agent - providing SNMP access to the MIB --- Writing a SNMP agent from scratch would be a nightmare. SNMP is a can of worms when one looks behind simple variable associations and descends into details. As far as I'm aware there isn't any Perl implementation or significant support for writing a SNMP agent (although there are several modules to support client-side). It also appears that the only noteworthy community efforts are concentrated around the Net-SNMP project, which has good and active tradition and offers a support for a range of Unix platforms. Net-SNMP http://www.net-snmp.org/ http://www.net-snmp.org/docs/FAQ.html It supports the SNMPv1, SNMPv2c and SNMPv3, which is what we need. It provides a library, a set of tools, a client and an extensible agent. Extending an existing agent (compared to writing one from scratch) hides us from the intricacies of the protocol and differences in its versions, access controls, MIB views, BER encodings, ... When deciding what mechanism should be used to extent the Net-SNMP agent a need to decouple Berkeley db
[AMaViS-user] amavisd-agent
Hello, I'ld like to know why I can't get any information that I get launching 'amavisd-agent' from a shell, when I execute this command from a shell: # snmpwalk -v2c -c *** localhost 1.3.6.1.4.1.15312.2.1 Maybe I need to install the some MIBs?? Where I can download them?? It is possible the to monitor my agent with MRTG?? Someone have similar experience?? Is there some MIB storing information about spam message received by a domain?? Is It possible to maintain this information too?? Maybe I asks many questions, but I'ld like to start a discussion about this argument... BR, rocsca --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] amavisd-agent
Rocsca, I'ld like to know why I can't get any information that I get launching 'amavisd-agent' from a shell, when I execute this command from a shell: # snmpwalk -v2c -c *** localhost 1.3.6.1.4.1.15312.2.1 The amavisd-agent presently is only a demo program to show how a true SNMP agent could obtain the information from amavisd. Maybe I need to install the some MIBs?? Where I can download them?? It is possible the to monitor my agent with MRTG?? Someone have similar experience?? Is there some MIB storing information about spam message received by a domain?? Is It possible to maintain this information too?? Maybe I asks many questions, but I'ld like to start a discussion about this argument... From a TODO file: SOME OF THE MORE SELF-CONTAINED PROJECTS - provide a true SNMP agent, based on already available database of statistics counters, and giving some thoughts on designing a true MIB; It would be really nice if somebody would tackle that project. Mark --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] amavisd-agent
On Oct 25, 2005, at 08:47 , Mark Martinec wrote: Rocsca, I'ld like to know why I can't get any information that I get launching 'amavisd-agent' from a shell, when I execute this command from a shell: # snmpwalk -v2c -c *** localhost 1.3.6.1.4.1.15312.2.1 The amavisd-agent presently is only a demo program to show how a true SNMP agent could obtain the information from amavisd. Maybe I need to install the some MIBs?? Where I can download them?? It is possible the to monitor my agent with MRTG?? Someone have similar experience?? Is there some MIB storing information about spam message received by a domain?? Is It possible to maintain this information too?? Maybe I asks many questions, but I'ld like to start a discussion about this argument... From a TODO file: SOME OF THE MORE SELF-CONTAINED PROJECTS - provide a true SNMP agent, based on already available database of statistics counters, and giving some thoughts on designing a true MIB; It would be really nice if somebody would tackle that project. Mark I may be able to do something if you can give me till the weekend to get some time to examine it and see what needs to be done. -- Dale --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] amavisd-agent
Hi, I give my availability too to the project... I asked Mark to give some instruction to me... If you want we can collaborate.. rocsca - Original Message - From: Dale Walsh [EMAIL PROTECTED] To: Mark Martinec [EMAIL PROTECTED] Cc: amavis-user@lists.sourceforge.net Sent: Tuesday, October 25, 2005 3:31 PM Subject: Re: [AMaViS-user] amavisd-agent On Oct 25, 2005, at 08:47 , Mark Martinec wrote: Rocsca, I'ld like to know why I can't get any information that I get launching 'amavisd-agent' from a shell, when I execute this command from a shell: # snmpwalk -v2c -c *** localhost 1.3.6.1.4.1.15312.2.1 The amavisd-agent presently is only a demo program to show how a true SNMP agent could obtain the information from amavisd. Maybe I need to install the some MIBs?? Where I can download them?? It is possible the to monitor my agent with MRTG?? Someone have similar experience?? Is there some MIB storing information about spam message received by a domain?? Is It possible to maintain this information too?? Maybe I asks many questions, but I'ld like to start a discussion about this argument... From a TODO file: SOME OF THE MORE SELF-CONTAINED PROJECTS - provide a true SNMP agent, based on already available database of statistics counters, and giving some thoughts on designing a true MIB; It would be really nice if somebody would tackle that project. Mark I may be able to do something if you can give me till the weekend to get some time to examine it and see what needs to be done. -- Dale --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] amavisd-agent reports percentages exceeding 100%
Ralf, The ones that strike me as odd are: Is this a bug or do I simply not understand what they represent? CacheHitsSpamMsgs76 8/h 542.9 % (ContentSpamMsgs) ContentSpamMsgs 14 1/h0.1 % (InMsgs) The CacheHitsSpamMsgs/ContentSpamMsgs percentage is somewhat bogus, it compares apples and oranges. See the corresponding line in the program: snmp_count('CacheHitsSpamMsgs') if $spam_level = 6; # a hack The spaminess is a per-recipient attribute, but for this statistics counter I just used a hardwired value, as the per-recipient spam levels are not yet available at that point in code, and even if they were, one would need to somehow merge per-recipient values into a per-message counter, taking into account *_lovers and bypass_*. Not worth the effort. Mark --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/