<font size=2 color=#002f80 face="sans-serif">Hey Steve,</font>
<br>
<br><font size=2 color=#002f80 face="sans-serif">I tried the "__summary"
but it doesn't seem to be working... Is it 2 underscores "__summary"
or only one "_summary"?</font>
<br>
<br><font size=2 color=#002f80 face="sans-serif">I put this line at the
very end of the cfg file:</font>
<br>
<br><font size=3 face="sans-serif">
routers.cgi*Options[__summary]: default</font>
<br>
<br><font size=2 color=#002f80 face="sans-serif">Does that look correct?
And is the end of the cfg file the correct place for that directive?</font>
<br>
<br><font size=2 color=#002f80 face="sans-serif">Thanks Again,</font>
<br><font size=2 color=#002f80 face="sans-serif">Matt</font>
<br>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:
</font><font size=1 face="sans-serif">Steve Shipway <s.shipway@auckland.ac.nz></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:
</font><font size=1 face="sans-serif">"MMartin@jwpepper.com"
<MMartin@jwpepper.com>, "mrtg@lists.oetiker.ch" <mrtg@lists.oetiker.ch></font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:
</font><font size=1 face="sans-serif">01/18/2012 07:45 AM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:
</font><font size=1 face="sans-serif">RE: [mrtg] Make
Summary Graph Default</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=2 color=#004080 face="sans-serif">I’m assuming you mean
the Summary graphs as in the Routers2 frontend.</font>
<br><font size=2 color=#004080 face="sans-serif"> </font>
<br><font size=2 color=#004080 face="sans-serif">You can use the ‘defaulttarget’
directive in the routers2.conf file, which can be set to ‘summary’ or
‘incoming’ or other values (see the routers2.conf for details in the
comments). This affects the default for ALL devices for ALL users.</font>
<br><font size=2 color=#004080 face="sans-serif"> </font>
<br><font size=2 color=#004080 face="sans-serif">You can use per-user sections
– [user-xxx] and place a defaulttaget rule in there for individual users,
but this affects ALL targets. You can also allow users to set their
personal preferences (which overrides the defaults I nthe routers2.conf
file).</font>
<br><font size=2 color=#004080 face="sans-serif"> </font>
<br><font size=2 color=#004080 face="sans-serif">However, if you want to
set a default for just one Device, you can add in the MRTG cfg file the
line</font>
<br><font size=2 color=#004080 face="sans-serif"> </font>
<br><font size=2 color=#004080 face="sans-serif">routers.cgi*Options[xxxx]:
default</font>
<br><font size=2 color=#004080 face="sans-serif"> </font>
<br><font size=2 color=#004080 face="sans-serif">This will make the target
‘xxxx’ the default for ALL users (overriding any defaulttarget definitions
in the routers2.conf but not overriding a user’s personal preferences).
If you want to make a particular userdefined graph, or summary page,
the default, then xxxx must match the name of the userdefined graph or
summary page. The autogenerated summary page is ‘__summary’ and
the autogenerated incoming/outgoing are ‘__incoming’ and ‘__outgoing’.</font>
<br><font size=2 color=#004080 face="sans-serif"> </font>
<br><font size=2 color=#004080 face="sans-serif">Note that this is an experimental
directive that is not fully reliable; however if it works for you then
all to the good.</font>
<br><font size=2 color=#004080 face="sans-serif"> </font>
<br><font size=2 color=#004080 face="sans-serif">Steve</font>
<br><font size=2 color=#004080 face="sans-serif"> </font>
<div align=center>
<br>
<hr></div>
<br><font size=2 color=#004080 face="sans-serif"><b>Steve Shipway</b></font>
<br><font size=2 color=#004080 face="sans-serif">ITS Unix Services Design
Lead</font>
<br><font size=2 color=#004080 face="sans-serif">University of Auckland,
New Zealand</font>
<br><font size=2 color=#004080 face="sans-serif">Floor 1, 58 Symonds Street,
Auckland</font>
<br><font size=2 color=#5f5f5f face="sans-serif"><i>Phone: +64 (0)9 3737599
ext 86487</i></font>
<br><font size=2 color=#5f5f5f face="sans-serif"><i>DDI: +64 (0)9 924 6487</i></font>
<br><font size=2 color=#5f5f5f face="sans-serif"><i>Mobile: +64 (0)21 753
189</i></font>
<br><font size=2 color=#5f5f5f face="sans-serif"><i>Email: </i></font><a href=mailto:s.shipway@auckland.ac.nz><font size=2 color=#5f5f5f face="sans-serif"><i><u>s.shipway@auckland.ac.nz</u></i></font></a>
<br><font size=5 color=#008000>P</font><font size=2 color=blue face="sans-serif">
</font><font size=2 color=#008000 face="sans-serif">Please consider the
environment before printing this e-mail</font><font size=2 color=blue face="sans-serif">
</font>
<br><font size=2 color=#004080 face="sans-serif"><i> </i></font>
<br><font size=2 color=#004080 face="sans-serif"> </font>
<br><font size=2 face="Tahoma"><b>From:</b> mrtg-bounces+s.shipway=auckland.ac.nz@lists.oetiker.ch
[</font><a href="mailto:mrtg-bounces+s.shipway=auckland.ac.nz@lists.oetiker.ch"><font size=2 face="Tahoma">mailto:mrtg-bounces+s.shipway=auckland.ac.nz@lists.oetiker.ch</font></a><font size=2 face="Tahoma">]
<b>On Behalf Of </b>MMartin@jwpepper.com<b><br>
Sent:</b> Tuesday, 17 January 2012 4:38 a.m.<b><br>
To:</b> mrtg@lists.oetiker.ch<b><br>
Subject:</b> [mrtg] Make Summary Graph Default</font>
<br><font size=3> </font>
<br><font size=2 color=#002f80 face="Arial">Hello All,</font><font size=3>
<br>
</font><font size=2 color=#002f80 face="Arial"><br>
Is there a directive, or an option of a directive, that would make the
Summary Graph be the default graph for a specific target?</font><font size=3>
<br>
</font><font size=2 color=#002f80 face="Arial"><br>
I'm pretty sure there's a way to make it the default in routers2.conf,
but I don't want it to be the default for all targets, just one.</font><font size=3>
</font><font size=2 color=#002f80 face="Arial"><br>
And there is also a way to do it through the preferences page on the Web
UI, but I didn't want to rely on cookies for this, and I know</font><font size=3>
</font><font size=2 color=#002f80 face="Arial"><br>
that, that would have to be set on each individual user's computer.</font><font size=3>
<br>
</font><font size=2 color=#002f80 face="Arial"><br>
Any thoughts would be great...</font><font size=3> <br>
</font><font size=2 color=#002f80 face="Arial"><br>
Thanks in Advance,</font><font size=3> </font><font size=2 color=#002f80 face="Arial"><br>
Matt</font>
<br>