<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"
xmlns:ns1="http://schemas.microsoft.com/office/2004/12/omml">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[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>
<!--a:link
        {mso-style-priority:99;}
span.MSOHYPERLINK
        {mso-style-priority:99;}
a:visited
        {mso-style-priority:99;}
span.MSOHYPERLINKFOLLOWED
        {mso-style-priority:99;}

 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
h4
        {margin-top:3.0pt;
        margin-right:0cm;
        margin-bottom:3.0pt;
        margin-left:0cm;
        page-break-after:avoid;
        font-size:11.0pt;
        font-family:Arial;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Calibri;
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
p.Code, li.Code, div.Code
        {margin-top:6.0pt;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:0cm;
        background:#F3F3F3;
        border:none;
        padding:0cm;
        font-size:10.0pt;
        font-family:"Courier New";}
p.CodeCxSpFirst, li.CodeCxSpFirst, div.CodeCxSpFirst
        {mso-style-type:export-only;
        margin-top:6.0pt;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        background:#F3F3F3;
        border:none;
        padding:0cm;
        font-size:10.0pt;
        font-family:"Courier New";}
p.CodeCxSpMiddle, li.CodeCxSpMiddle, div.CodeCxSpMiddle
        {mso-style-type:export-only;
        margin:0cm;
        margin-bottom:.0001pt;
        background:#F3F3F3;
        border:none;
        padding:0cm;
        font-size:10.0pt;
        font-family:"Courier New";}
p.CodeCxSpLast, li.CodeCxSpLast, div.CodeCxSpLast
        {mso-style-type:export-only;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:0cm;
        background:#F3F3F3;
        border:none;
        padding:0cm;
        font-size:10.0pt;
        font-family:"Courier New";}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>An excerpt from the forthcoming MRTG/RRD/Routers2
book which may help you, in the Advanced Techniques chapter, section on linking
from other applications:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<h4><b><font size=2 face=Arial><span style='font-size:11.0pt'>Network
Weathermap</span></font></b><o:p></o:p></h4>

<p class=MsoNormal style='page-break-after:avoid'><i><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-style:italic'>http://www.network-weathermap.com/<o:p></o:p></span></font></i></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>The Network Weathermap program, created by Howard Jones, works well
with the MRTG/RRD/Routers2 setup.&nbsp; When configuring, you need to specify
URLs for destination links ( &#8216;INFOURL&#8217; ) and for obtaining popup
graphs ( &#8216;OVERLIBGRAPH&#8217; ).&nbsp; Both of these URLs can be
generated for Routers by identifying the MRTG configuration file and the Target
name.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>In the example below, the configuration file is <b><span
style='font-weight:bold'>node1.cfg</span></b> and the Target name is <b><span
style='font-weight:bold'>node1_1</span></b>.&nbsp; The other options ensure
that we are looking at the Daily graph and (in the case of OVERLIBGRAPH) that
the image is created at the correct size.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Note how &#8216;page=image&#8217; is used to retrieve just the graph
image without the surrounding HTML and frame set, and &#8216;xgtype=ds&#8217;
sets the graph to be &#8216;Daily Summary&#8217; &#8211; that is, the Daily
graph as used in Summary pages, which does not have a legend and is smaller
sized.<o:p></o:p></span></font></p>

<div style='mso-element:para-border-div;border:solid windowtext 1.0pt;
padding:1.0pt 4.0pt 1.0pt 4.0pt;background:#F3F3F3'>

<p class=CodeCxSpFirst><font size=2 face="Courier New"><span lang=EN-NZ
style='font-size:10.0pt'>LINK node1-node2<o:p></o:p></span></font></p>

<p class=CodeCxSpMiddle><font size=2 face="Courier New"><span style='font-size:
10.0pt'>&nbsp; BANDWIDTH 1000000K<o:p></o:p></span></font></p>

<p class=CodeCxSpMiddle><font size=2 face="Courier New"><span style='font-size:
10.0pt'>&nbsp; INFOURL /cgi-bin/routers2.cgi?xgtype=d</span><span lang=EN-NZ>&amp;rtr=node1.cfg&amp;if=node1_1<o:p></o:p></span></font></p>

<p class=CodeCxSpMiddle><font size=2 face="Courier New"><span lang=EN-NZ
style='font-size:10.0pt'>&nbsp; OVERLIBGRAPH /cgi-bin/routers2.cgi?page=image&amp;xgtype=ds&amp;xgstyle=x&amp;rtr=node1.cfg&amp;if=node1_1<o:p></o:p></span></font></p>

<p class=CodeCxSpMiddle><font size=2 face="Courier New"><span lang=EN-NZ
style='font-size:10.0pt'>&nbsp; TARGET /usr/local/rrd/node1_1.rrd:ds0:ds1<o:p></o:p></span></font></p>

<p class=CodeCxSpLast><font size=2 face="Courier New"><span lang=EN-NZ
style='font-size:10.0pt'>&nbsp; NODES node1 node2<o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Anyone who wants to discuss how to do this
sort of thing in more detail may wish to meet up at the MRTG BoF session on Nov
12<sup>th</sup> at LISA08, in San Diego this year.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Steve<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
Cook, Garry [mailto:Garry.Cook@arcadis-us.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, 3 September 2008
14:02<br>
<b><span style='font-weight:bold'>To:</span></b> Steve Shipway;
'mrtg@lists.oetiker.ch'<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: Re: [mrtg] MRTG : How
to print Serie Legend + Max/Min/Avg IN graph ?</span></font><span lang=EN-US><o:p></o:p></span></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-US
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>Nice work Steve! I
wanted something like this for network weathermap, but didn&#8217;t think it
possible. I&#8217;m going to go update my configs right now!<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-US
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><font size=2 color="#1f497d" face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:#1F497D'>Thanks,</span></font><font
size=2 color="#1f497d" face=Calibri><span lang=EN-US style='font-size:11.0pt;
font-family:Calibri;color:#1F497D'> <br>
</span></font><font size=2 color="#1f497d" face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:#1F497D'>Garry</span></font><font
size=2 color="#1f497d" face=Calibri><span lang=EN-US style='font-size:11.0pt;
font-family:Calibri;color:#1F497D'><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-US
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</div>

</body>

</html>