| Cheshire Cat Computing http://steveshipway.org/forum/ |
|
| Can one line in a combind graph be excluded from the total? http://steveshipway.org/forum/viewtopic.php?f=15&t=8127 |
Page 1 of 1 |
| Author: | wuciwug [ Thu Oct 17, 2013 11:02 pm ] |
| Post subject: | Can one line in a combind graph be excluded from the total? |
Hi, I've got a graph which includes incoming traffic on 10 switch ports which I've totalled into a single combined graph. I have another graph which I'd like to cross reference against the total line in the 10 graph so if an 11th port should start creating bandwidth I'd see the difference. I imagined two possible ways to do this, 1). Have the 'other graph' on the combined graph but exclude it from the total (this doesn't appear to work, any thing on the combined graph having 'nototal' means everything is 'nototal' 2). Use the total graph to make another combined graph which just just 2 lines, my cross reference and the total from the combined graph, this just results in a "combined.graph.rrd does not exist" The third less preferable way would be to do a new mrtg query which +'s all the values, but this is more snmp queries which I'm trying to avoid. Is this possible.? |
|
| Author: | stevesh [ Tue Oct 22, 2013 10:23 am ] |
| Post subject: | Re: Can one line in a combind graph be excluded from the tot |
This is not possible with the current Routers2. In the current version, you can add a total and/or average line, but this will apply over all components. However there is a way you could fudge it. Routers2 works totals and averages over the 'In' and 'Out' independently. So, if you could arrange for your first 10 ports' to be in 'noo' Targets, and the special 11th to be reverse (In and Out swapped, by placing a leading - on the Target definition) and set it as 'noi', then a graph over the full 11 would result in an 'In' total over the first 10 and an 'out' total consisting of just the 11th. Of course you'd need to rename the total lines to something more meaningful using the routers.cgi*LegendTI[] and routers.cgi*LegendTO[] directives, but it should work. |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|