<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD><TITLE>Avoid Displaying a Legend below the graph: Define globally</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5730.11" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.shape {
        BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
P {
        FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: "Times New Roman"; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
SPAN.EmailStyle18 {
        COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-GB vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=103453605-27062007><FONT face=Arial
color=#0000ff size=2>Hi Steve.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=103453605-27062007><FONT face=Arial
color=#0000ff size=2>mmmh, what is routers2? </FONT></SPAN><SPAN
class=103453605-27062007><FONT face=Arial color=#0000ff size=2>Are you talking
about MRTG 2?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=103453605-27062007><FONT face=Arial
color=#0000ff size=2>Actually, like I wrote in my first mail, it works to avoid
displaying one of the Legends below the graph with the described
option (per target, [router1] as example).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=103453605-27062007><FONT face=Arial
color=#0000ff size=2>But it does not work to disable the legend for multiple
targets at once (using the [_] underscore
wildcard).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=103453605-27062007><FONT face=Arial
color=#0000ff size=2>Lucas</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Von:</B> Steve Shipway
[mailto:s.shipway@auckland.ac.nz] <BR><B>Gesendet:</B> Mittwoch, 27. Juni 2007
00:49<BR><B>An:</B> Pfirter Lukas<BR><B>Betreff:</B> RE: [mrtg] Avoid
Displaying a Legend below the graph: Define globally<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">If you are using
routers2 as your frontend, then this will happen. I think Tobi added this
option to LegendI/O more recently and I never noticed it… routers2 does
not currently have support for disabling only the legend in normal
graphs.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">In routers2 you can
also set the ‘nodetails’ and/or ‘nolegend’ options in userdefined graphs to
suppress part or all of the legends.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Steve<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none">
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN lang=EN-US style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=3>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN lang=EN-US
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> mrtg-bounces@lists.oetiker.ch
[mailto:mrtg-bounces@lists.oetiker.ch] <B><SPAN style="FONT-WEIGHT: bold">On
Behalf Of </SPAN></B>Pfirter Lukas<BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> Tuesday, 26 June 2007
19:16<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B>
mrtg@lists.oetiker.ch<BR><B><SPAN
style="FONT-WEIGHT: bold">Subject:</SPAN></B> [mrtg] Avoid Displaying a Legend
below the graph: Define globally</SPAN></FONT><SPAN
lang=EN-US><o:p></o:p></SPAN></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hello all,</SPAN></FONT> <BR><FONT
face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I get the
following from the mrtg documentation on MRTG.org:</SPAN></FONT>
<o:p></o:p></P>
<P><B><FONT face=Arial color=red size=3><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: red; FONT-FAMILY: Arial">Note,
if<I><SPAN style="FONT-STYLE: italic"> LegendI</SPAN></I> or<I><SPAN
style="FONT-STYLE: italic"> LegendO</SPAN></I> are set to an empty string
with</SPAN></FONT></B> <BR><B><FONT face="Courier New" color=red size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'"> LegendO[myrouter]:</SPAN></FONT></B>
<BR><B><FONT face=Arial color=red><SPAN
style="FONT-WEIGHT: bold; COLOR: red; FONT-FAMILY: Arial">The corresponding
line below the graph will not be printed at all.</SPAN></FONT></B>
<o:p></o:p></P>
<P><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Now, when I use this as a Target
specific value it works, e.g.:<BR></SPAN></FONT><B><SPAN
style="FONT-WEIGHT: bold"> </SPAN></B><B><FONT face="Courier New"
size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">LegendO[bkrpmu1-hd4]:</SPAN></FONT></B>
<o:p></o:p></P>
<P><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">But I have a large config file,
where only a single piece is target specific and the rest is globally
defined.</SPAN></FONT> <BR><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Now, when I use this for every
device, it doesn't work, e.g.:</SPAN></FONT> <BR><B><SPAN
style="FONT-WEIGHT: bold"> </SPAN></B><B><FONT face="Courier New"
size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">LegendO[_]:</SPAN></FONT></B>
<o:p></o:p></P>
<P><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Does anyone have an idea why this
doesn't work? Is it a bug?</SPAN></FONT> <BR><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Can you try to do this with your
config? Just put in "LegendO[_]:" at the top and look if the second legend
(output, the blue one) below the graph
disappears.</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks,</SPAN></FONT>
<o:p></o:p></P>
<P><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Lucas</SPAN></FONT>
<o:p></o:p></P></DIV></DIV></BLOCKQUOTE></BODY></HTML>