[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 173: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 174: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing Software support and information 2011-11-29T08:23:57+13:00 http://www.steveshipway.org/forum/feed.php?f=2&t=4847 2011-11-29T08:23:57+13:00 2011-11-29T08:23:57+13:00 http://www.steveshipway.org/forum/viewtopic.php?t=4847&p=12884#p12884 <![CDATA[Re: UserDefined Graph NOT Using Directives]]>
If you check the documentation in the doc/MRTG_INFO file, then the directives that can be used with the routers.cgi* prefix on a userdefined graph are indicated by the [G] tag. These are things that apply to the whole graph. Things that would apply to just one component line are still defined at the component Target level.

Statistics: Posted by stevesh — Tue Nov 29, 2011 8:23 am


]]>
2011-11-29T08:19:59+13:00 2011-11-29T08:19:59+13:00 http://www.steveshipway.org/forum/viewtopic.php?t=4847&p=12883#p12883 <![CDATA[Re: UserDefined Graph NOT Using Directives]]>
Ok that makes sense then, thanks...

So basically for User-Defined graphs you can use any directive (with the "routers.cgi*" prefix) other than any "Legend" directives and MaxBytes because they are given to the User-Defined Graph from the first component/interface target, right?

Thanks again for your reply,
Matt

Statistics: Posted by mmartin — Tue Nov 29, 2011 8:19 am


]]>
2011-11-28T09:32:53+13:00 2011-11-28T09:32:53+13:00 http://www.steveshipway.org/forum/viewtopic.php?t=4847&p=12878#p12878 <![CDATA[Re: UserDefined Graph NOT Using Directives]]>
The ShortLegend, LegendI/O and Legend1/2/3/4 are ALWAYS taken from the relevant component Targets, since there will be many of them. You cannot override these at userdefined-graph level as there would be no way to know /which/ to override. Similarly, the MaxBytes used to calculate percentages for a given component Target is taken from that component Target. Not all directives make sense when defined at a useddefined-graph level.

The auto-generated Incoming/Outgoing graphs are classified as userdefined graphs (techinically, it should be 'composite' rather than 'userdefined' but ihstorically theyve always been called the former) hence a default target of 'first userdefined' may well pick these. The 'first' is defined alphabetically by ShortName so if you have

routers.cgi*ShortDescription[All-Traffic]: _First Graph

then this will result in it being first alphabetically and hence chosen. You can also disable the creation of the default Inconimg/Outgoing graphs in the routers2.conf

Statistics: Posted by stevesh — Mon Nov 28, 2011 9:32 am


]]>
2011-11-19T10:49:08+13:00 2011-11-19T10:49:08+13:00 http://www.steveshipway.org/forum/viewtopic.php?t=4847&p=12792#p12792 <![CDATA[UserDefined Graph NOT Using Directives]]> Statistics: Posted by mmartin — Sat Nov 19, 2011 10:49 am


]]>