Hi guys,
i got a problem with the "total all data sources" function.
This is what i got:
RRD/Datasource1:
usr:10 sys:4 wio:7
RRD/Datasource2:
usr:90 sys:5 wio:3
RRD/Datasource3:
usr:20 sys:14 wio:51
now i want to build one graph where the summs of these datasotces are shown as lines. in this example: Line1 at 21, Line2 at 98 and Line3 at 85.
I tried with the "total all data sources" function, but all i got, was one line at 204.
is it possible to do what i want to do?^^
thanks for help
Skee
Total all data sources
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
TOTAL ALL DATA SOURCES totals all available data source. You may want to use TOTAL SIMILAR DATA SOURCES NODUPS to total each item seperately
See http://docs.cacti.net/manual:087:6_refe ... ata_source for more help
Reinhard
See http://docs.cacti.net/manual:087:6_refe ... ata_source for more help
Reinhard
Hi gandalf,
i tried with TOTAL SIMILAR DATA SOURCES NODUPS, but, all i got
was the sum of similar datasource_items.
Example:
In my case, that would be possible:
RRD/Datasource1(usr)+RRD/Datasource2(usr)+RRD/Datasource3(usr)=120
RRD/Datasource1(sys)+RRD/Datasource2(sys)+RRD/Datasource3(sys)=23
But, this is what i want:
RRD/Datasource1(usr)+RRD/Datasource1(sys)+RRD/Datasource1(wio)=21
RRD/Datasource2(usr)+RRD/Datasource2(sys)+RRD/Datasource2(wio)=98
And, as far as i understood it, the TOTAL SIMILAR DATA SOURCES NODUPS cant do this. Or do i have a error in my logic?
sry, for my bad englisch..
thanks for the help
Skee
i tried with TOTAL SIMILAR DATA SOURCES NODUPS, but, all i got
was the sum of similar datasource_items.
Example:
In my case, that would be possible:
RRD/Datasource1(usr)+RRD/Datasource2(usr)+RRD/Datasource3(usr)=120
RRD/Datasource1(sys)+RRD/Datasource2(sys)+RRD/Datasource3(sys)=23
But, this is what i want:
RRD/Datasource1(usr)+RRD/Datasource1(sys)+RRD/Datasource1(wio)=21
RRD/Datasource2(usr)+RRD/Datasource2(sys)+RRD/Datasource2(wio)=98
And, as far as i understood it, the TOTAL SIMILAR DATA SOURCES NODUPS cant do this. Or do i have a error in my logic?
sry, for my bad englisch..
thanks for the help
Skee
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
That's what it's supposed to deliverskee wrote:Hi gandalf,
i tried with TOTAL SIMILAR DATA SOURCES NODUPS, but, all i got
was the sum of similar datasource_items.
Example:
In my case, that would be possible:
RRD/Datasource1(usr)+RRD/Datasource2(usr)+RRD/Datasource3(usr)=120
RRD/Datasource1(sys)+RRD/Datasource2(sys)+RRD/Datasource3(sys)=23
There's no cacti variable for this. You will have to create a CDEF using the DEF names of each data sourceBut, this is what i want:
RRD/Datasource1(usr)+RRD/Datasource1(sys)+RRD/Datasource1(wio)=21
RRD/Datasource2(usr)+RRD/Datasource2(sys)+RRD/Datasource2(wio)=98
Reinhard
Who is online
Users browsing this forum: No registered users and 1 guest