Combining Multiple Datasources
Roberto Ullfig <[email protected]> Wed, 13 Feb 2008 11:24:05 -0600
| Newsgroups | gmane.network.cricket.user |
|---|---|
| Message-ID | <[email protected]> |
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: in.email.received: target in.email.received display-name = "Incoming E-Mail Received - Processed by SpamAssassin" short-desc = "Incoming E-Mail Received - Processed by SpamAssassin" long-desc = "Incoming E-Mail Received - Processed by SpamAssassin" util-dir = %auto-base%/../cricket/util auto-target-path = %auto-base% target-type = in.email.received datasource spam desc = "Total Incoming Spam" ds-source = "file:0:/mnt/global/cricket/datasources/services/mailin/totspamham-spam" rrd-ds-type = GAUGE datasource ham desc = "Total Incoming Ham" ds-source = "file:0:/mnt/global/cricket/datasources/services/mailin/totspamham-ham" rrd-ds-type = GAUGE datasource total desc = "Total Incoming E-Mail" ds-source = "file:0:/mnt/global/cricket/datasources/services/mailin/totspamham-total" rrd-ds-type = GAUGE targettype in.email.received ds = "spam,ham,total" graph spam draw-as = LINE2 units = "messages" legend = "spam" color = "red" y-axis = "Messages Received / 15 min" graph ham draw-as = LINE2 units = "messages" legend = "ham" color = "blue" y-axis = "Messages Received / 15 min" graph total draw-as = LINE2 units = "messages" legend = "total" color = "green" y-axis = "Messages Received / 15 min" in.email.received.nospam: target in.email.received.nospam display-name = "Incoming E-Mail Received - No SpamAssassin" short-desc = "Incoming E-Mail Received - No SpamAssassin" long-desc = "Incoming E-Mail Received - No SpamAssassin" util-dir = %auto-base%/../cricket/util auto-target-path = %auto-base% target-type = in.email.received.nospam datasource local desc = "Number of Incoming E-Mail Messages Received - Local Origin" ds-source = "file:5:/mnt/global/cricket/datasources/services/mailin/discardedspam" rrd-ds-type = GAUGE datasource toobig desc = "Number of Incoming E-Mail Messages Received - Too Big for SpamAssassin" ds-source = "file:6:/mnt/global/cricket/datasources/services/mailin/discardedspam" rrd-ds-type = GAUGE datasource norelay desc = "Number of Incoming E-Mail Messages Received - Unknown Tigger/Icarus Users" ds-source = "file:7:/mnt/global/cricket/datasources/services/mailin/discardedspam" rrd-ds-type = GAUGE targettype in.email.received.nospam ds = "local, toobig, norelay" graph local draw-as = LINE2 units = "e-mail" legend = "local" y-min = 0 y-axis = "E-Mail Received / 15 min" graph toobig draw-as = LINE2 units = "e-mail" legend = "toobig" y-min = 0 y-axis = "E-Mail Received / 15 min" graph norelay draw-as = LINE2 units = "e-mail" legend = "norelay" y-min = 0 y-axis = "E-Mail Received / 15 min" -- 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/