Hi,
I have 3 DS
I wanna see these 3 DS like as 1 DS.
I mean, I wanna see total graphic that is shown 1 inbound and 1 outbound.
I feel that I must use STACK, but when I try to use this I can't get one line.
You can see my problem in graph shown below.
As you see there are 3 line. But I wanna se 1 line.
When I try to use "none" as color for one outbound line, I see that value of the sum was decrease.
Anybody can help me?
Stacked graph problem
Moderators: Developers, Moderators
Stacked graph problem
- Attachments
-
- stacked.JPG (104.35 KiB) Viewed 2466 times
-
- Cacti User
- Posts: 146
- Joined: Tue Oct 04, 2005 4:20 pm
- Location: suwanee, ga
- Contact:
put in the datasources that you want to stack as 1: area 2: stack 3: stack and so on... DO NOT USE ANY COLOR FOR THESE ITEMS.
once you have added all the DS that you want to stack...
add another item as outlined above with line2 - Total all Datasources...
since this is the only item with any color selected - it will be the only line to show up.
once you have added all the DS that you want to stack...
add another item as outlined above with line2 - Total all Datasources...
since this is the only item with any color selected - it will be the only line to show up.
i have asked almost the same question
here is my question http://forums.cacti.net/viewtopic.php?p ... ght=#52215
you can see the reply bye lvm:
so your just need to create a new CDEF under Graph Management,like CDEF=a,b,+,c,+,d,+ , and do not choose color for your single date source graph items, only choose color for your summary graph item.
here is my question http://forums.cacti.net/viewtopic.php?p ... ght=#52215
you can see the reply bye lvm:
Please assure the correct function of your XML. Create a Data Query, a Data Template and a Graph Template for it. Associate the Graph Template to the Data Query and generate a Graph using this new Data Query.
If you get everything up and running, the last thing is to create a CDEF=a,b,/
But you must be sure, the DEFs (aka Data Sources) are denoted as a or b, respectively. To do so, please select the Graph you're working on and click the wrench next to the graph. It displays the full "rrdtool graph" statement. Search for sth like Code:
DEF:a="/var/www/html/workspace/branch/rra/gandalf_traffic_in_88.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/html/workspace/branch/rra/gandalf_traffic_in_88.rrd":traffic_out:AVERAGE \
a and b denote the variables to be used in the CDEF...
so your just need to create a new CDEF under Graph Management,like CDEF=a,b,+,c,+,d,+ , and do not choose color for your single date source graph items, only choose color for your summary graph item.
Who is online
Users browsing this forum: No registered users and 0 guests