On 15/09/10 18:45, Paul Cockings wrote: > > As a user of DSPAM and Munin, I'd be happy to test your plugin :-)
That's great.
>
> - output of: "time dspam_stats -t -S" when run as root/trusted user
> -> Do not assume Linux. This one is a FreeBSD box
The plugin is (or is supposed to be) POSIX shell script only.
>
> 0.508u 0.206s 0:02.57 27.2% 20+651k 0+0io 0pf+0w
>
When I interpret this correctly, runtime is around 3 minutes?
> - the number of users in the dspam_stats output
> The number of rows in my dspam_virtual_uids table = 300
>
> - which backend is used
> MySQL
>
> - dspam version
> GIT HEAD 24th August 2010
>
>
> When you say 'DSPAM performance' what are you going to monitor?
The plugin is currently able to graph:
- Overall accuracy
- Number of processed messages by classification (true positives, true
negatives, etc) both in absolute as in percent
You can choose to draw for all user, a single user, or a group of users
(such as all users within a domain), based on regular expressions on the
username.
I mainly started coding because I wanted to have a better overview of
dspam performance over time, and because I don't use the dspam webui,
which has some nice graphs of itself (so they say).
Your high runtime shows me a direct issue with the current way
dspam_stats output is retrieved: munin will timeout when dspam_stats is
ran on-demand. I'll implement a workaround for that, and send the plugin
tomorrow.
--
Regards,
Tom
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________ Dspam-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspam-user
