<!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" xmlns:st1="urn:schemas-microsoft-com:office:smarttags">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta content="MSHTML 6.00.2900.3603" 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]--><o:SmartTagType name="PersonName" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>st1\:* {
        BEHAVIOR: url(#default#ieooui)
}
</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
}
PRE {
        FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Courier New"
}
SPAN.EmailStyle18 {
        COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal
}
SPAN.EmailStyle19 {
        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"><font face="Arial" color="#0000ff" size="2"><span class="839500115-28082009">I added this to the cfgmaker below and rename cfgmaker but the results did not change. the cfg file gets saved as BLSWR5E3All but it still shows up in routers2.cgi
as BLSWR5E3b8. </span></font></div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="839500115-28082009"></span></font> </div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="839500115-28082009"></span></font> </div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="839500115-28082009"></span></font> </div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="839500115-28082009">I am not sure that I understand your comments on Another way. could you clarify this? maybe example?</span></font></div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="839500115-28082009"></span></font> </div>
<br>
<div class="OutlookMessageHeader" lang="en-us" dir="ltr" align="left">
<hr tabindex="-1">
<font face="Tahoma" size="2"><b>From:</b> Steve Shipway [mailto:s.shipway@auckland.ac.nz]
<br>
<b>Sent:</b> Thursday, August 27, 2009 5:01 PM<br>
<b>To:</b> Mersberger, Robert; mrtg@lists.oetiker.ch<br>
<b>Subject:</b> RE: Using cfgmaker with template and multiple targets on NT<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">Routers2 assumes one file per device; so unless you specify the Device name using<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"> routers.cgi*ShortName: Menu name<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">then it will default to choosing the device name as in one of the Targets. You have 4 different hosts in the targets so it is picking
a different one; just ass the cfgmaker directive<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"> --global=”routers.cgi*ShortName: BLSWR5E3”<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">and you’ll get this name in the Devices menu instead.<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">Another way to do this with Routers2 is to create a separate file per device, but then make a separate cfg file that uses ‘Include:’
to include all of them (but this file is not run via MRTG). You can then view devices either individually or via the combined virtual device.<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="2">
</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"> Mersberger,
Robert [mailto:robert.mersberger@goldenliving.com] <br>
<b><span style="FONT-WEIGHT: bold">Sent:</span></b> Friday, 28 August 2009 3:41 a.m.<br>
<b><span style="FONT-WEIGHT: bold">To:</span></b> <st1:PersonName w:st="on">Steve Shipway</st1:PersonName>;
<st1:PersonName w:st="on">mrtg@lists.oetiker.ch</st1:PersonName><br>
<b><span style="FONT-WEIGHT: bold">Subject:</span></b> Using cfgmaker with template and multiple targets on NT</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 class="MsoNormal"><font face="Arial" color="blue" size="2"><span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">I have a c7000 blade server enclosure with 6 3020 switches that I would like to monitor with one config file.</span></font><o:p></o:p></p>
<p class="MsoNormal"><font face="Arial" color="blue" size="2"><span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">I thought I read somewhere that this could be done using cfgmaker with multiple targets defined so I tried this with the following definitions</span></font><o:p></o:p></p>
<p class="MsoNormal"><font face="Arial" color="blue" size="2"><span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">perl c:\mrtg-2.16.2\bin\cfgmaker --host-template=cisco.htp --snmp-options=:::::1 --community=mybusy --ifref=name --show-op-down --global="Workdir:
c:\Progra~1\RRDtool\rrd_data" --global="PathAdd: c:\Progra~1\RRDtool" --global="LogFormat: rrdtool" --global="routers.cgi*Options[_]: scaled" --global="Options[_]: bits,growright" --output="c:\mrtg_setup\configs\BLSWR5E3A1.cfg" BLSWR5E3A1 BLSWR5E3B2 BLSWR5e3A5
BLSWR5E3b6</span></font><o:p></o:p></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> <o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" color="blue" size="2"><span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">This runs and builds a cfg file BLSWR5E3A1.cfg but it shows up in mrtg (using rrdtools and routers2.cgi) as BLSWR5E3b6 under devices.</span></font><o:p></o:p></p>
<p class="MsoNormal"><font face="Arial" color="blue" size="2"><span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">All information is displayed and monitored but why is the device name wrong and how can I correct it.</span></font><o:p></o:p></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> <o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> <o:p></o:p></span></font></p>
</div>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">Please consider the environment before printing this e-mail.<br>
<br>
CONFIDENTIAL NOTICE:<br>
This e-mail message and any attachment(s) (collectively,<br>
this 'Email') are intended only for the confidential use of<br>
the recipient(s) named above. If the reader of this message<br>
is not the intended recipient named above or an agent<br>
responsible for delivering it to the intended recipient<br>
named above, you have received this Email in error.<br>
Please notify the sender immediately and permanently delete<br>
this Email and any copies thereof.<br>
</font>
</body>
</html>