Re: Combining Multiple Datasources

"Marc Powell" <[email protected]> Wed, 13 Feb 2008 17:52:12 -0600
Newsgroups gmane.network.cricket.user
Message-ID <[email protected]>

> -----Original Message-----
> From: [email protected]
[mailto:cricket-users-
> [email protected]] On Behalf Of Roberto Ullfig
> Sent: Wednesday, February 13, 2008 2:11 PM
> To: [email protected]
> Subject: Re: [cricket-users] Combining Multiple Datasources
> 
> Marc Powell wrote:
> >
> >
> > You can't and you weren't clear that's what you wanted to do. Your
data
> > sources must be of the same target type. Perhaps this helps clarify
the
> > above --
> >
> > targetType mr-messages
> >         ds = "mr-total-email, mr-spam_email_rejected,
mr-spamhaus_rbl,
> > mr-sa_deleted, mr-ena_rbl, mr-misc_rejects, mr-total_spam,
> > mr-total_deliver
> > ed, mr-real_mail, mr-sa_marked_delivered"
> >         view = "Incoming v.s. Spam v.s. Real Email, Rejected Email,
> > Delivered Email, ISR Thumbnails"



> Ok, so what is it summing exactly then? mr-total-email from each
target,
> mr-spam_email_rejected from each target, etc... It's doing multiple
sums?

All the ds's are being summed individually. My "Incoming v.s. Spam v.s.
Real Email' view for the target mr-mailrelay1-messages shows me
mr-real_mail, mr-total_spam and mr-total-email as three lines on one
graph for that one specific machine.

The same view when applied to the target all-mr-mailrelays-messages
shows me the same three DS's on one graph except sum()'d for all the
mtargets because that's the specified mtarget-ops (three lines only). If
the op was avg(), I'd see the average value of those ds's. It'd do a
sum() then divide by 10 since that's the number of mtargets, but I'd
still only have three lines graphed, one for each ds in the view.

--
Marc

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/