| Cheshire Cat Computing http://steveshipway.org/forum/ |
|
| Help with UserDefined Graph for Memory Usage http://steveshipway.org/forum/viewtopic.php?f=34&t=4745 |
Page 1 of 1 |
| Author: | mmartin [ Thu Nov 03, 2011 9:50 am ] | ||
| Post subject: | Help with UserDefined Graph for Memory Usage | ||
|
|||
| Author: | stevesh [ Fri Nov 04, 2011 11:50 am ] |
| Post subject: | Re: Help with UserDefined Graph for Memory Usage |
You can use the graph options 'nototal' and 'noaverage' when defining the summary graph to suppress the total or average lines... in your case you probably want to suppress both as (total)+(used) and (total+used)/2 dont make sense. routers.cgi*Graph[192.168.1.1.mem_1]: All-Memory nototal noaverage If you want to change the Total and Average legends, you can use LegendTI/TO/AI/AO[] routers.cgi*LegendAI[All-Memory]: Average Incoming When referring to the total traffic over the graph period (the value enabled with the 95th percentile) you can use the extended options nototal and nopercentile. This suppresses calculation of total, such as when your graphed value is not a rate. routers2 attempts to default this sensibly, but you can control it using the options 'nototal' or 'total' if it guesses wrong. routers.cgi*Options[target]: nototal You can also change the units used in the calculation - this again is attempted to be defaulted sensibly but sometimes cannot be done quite right. ShortLegend[target]: foo/sec routers.cgi*TotalLegend[target]: foo routers.cgi*Options[target]: total |
|
| Author: | mmartin [ Sat Nov 05, 2011 2:41 am ] | ||||
| Post subject: | Re: Help with UserDefined Graph for Memory Usage | ||||
|
|||||
| Author: | stevesh [ Mon Nov 14, 2011 7:08 pm ] |
| Post subject: | Re: Help with UserDefined Graph for Memory Usage |
If the used appears higher than the total, that's because you have the values stacked in the graph. Remove the GraphStyle definition that sets them stacked and youll get two lines again. The options specified on the routers.cgi*Graph directive are specifically for the creation of the userdefined graph. On the whole, you'd only use 'nototal' and 'noaverage' there. The option on the routers.cgi*Options[] and Options[] are for the particular target. When you put options on the routers.cgi*Graph line, they are cumulative over all component targets. So this one "routers.cgi*Graph[192.168.1.1.mem_2]: All-Memory total average" is specifying to add total and average, even if another one has 'nototal noaverage'! When you are defining directives for the Userdefined graph, ALWAYS put routers.cgi* in front of them else it will think they refer to a specific target rather than the userdefined graph! |
|
| Author: | mmartin [ Tue Nov 15, 2011 5:23 am ] |
| Post subject: | Re: Help with UserDefined Graph for Memory Usage |
Hey Steve thanks for the reply. Ok... Thanks for the clarification. Thanks Again, Matt |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|