Re: Combining Multiple Datasources
Roberto Ullfig <[email protected]> Wed, 13 Feb 2008 12:59:55 -0600
| Newsgroups | gmane.network.cricket.user |
|---|---|
| Message-ID | <[email protected]> |
Marc Powell wrote: > >> -----Original Message----- >> From: [email protected] >> > [mailto:cricket-users- > >> [email protected]] On Behalf Of Roberto Ullfig >> Sent: Wednesday, February 13, 2008 11:24 AM >> To: [email protected] >> Subject: [cricket-users] Combining Multiple Datasources >> >> I've been looking at this for a while and still don't understand >> > things > >> - I'm missing some basic cricket knowledge here. I want to SUM four of >> the data sources listed below into one graph. Can someone please >> > assist? > >> I already have two working graphs: >> > > Here's an example from my system. My targettype of mr-messages > corresponds to your in.email.received. The mtargets are the paths to > targets I wish to sum. This is a graphing-only target. No data > collection is occurring for it specifically. > > target all-mr-mailrelays-messages > unknown-is-zero = true > short-desc = "Combined spam statistics for all spam > scanning machines" > show-avg-max = true; > show-max = true; > mtargets = > "/mailstats/mail-relays/mr-mailrelay1-messages; > > /mailstats/mail-relays/mr-mailrelay2-messages; > > /mailstats/mail-relays/mr-mailrelay3-messages; > > /mailstats/mail-relays/mr-mailrelay4-messages; > /mailstats/mail-relays/mr-mta1-messages; > /mailstats/mail-relays/mr-mta2-messages; > /mailstats/mail-relays/mr-mta3-messages; > /mailstats/mail-relays/mr-mta4-messages; > /mailstats/mail-relays/mr-mta5-messages; > /mailstats/mail-relays/mr-imap04-messages" > mtargets-ops = "sum()" > target-type = mr-messages > display-name = "Combined Spam Statistics" > > HTH. > > -- > Marc > > How does yours graph anything? Don't you need a "graph" operative? I'm trying this now: in.email.received.all: target in.email.received.all display-name = "Incoming E-Mail Received - All" short-desc = "Incoming E-Mail Received - All" long-desc = "Incoming E-Mail Received - All" util-dir = %auto-base%/../cricket/util auto-target-path = %auto-base% target-type = testtype mtargets = " /services/mailin/data/in.test1; /services/mailin/data/in.test2; /services/mailin/data/in.test3; /services/mailin/data/in.test4 " mtargets-ops = "sum()" graph in.email.received.all and I created 4 files in /services/mailin/data; in.test1 looks like this: datasource data1 ds-source = "file:0:/mnt/global/cricket/datasources/services/mailin/totspamham-total" target in.test1 targettype = testtype ds = "data1" Should the above work? -- Roberto Ullfig - [email protected] ------------------------------------------------------------------------- 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/