<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.00.2314.1000" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=244530618-19071999>Pat,
</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=244530618-19071999></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=244530618-19071999>If you
just run "perl cfgmaker public@ipaddr" , cfgmaker just puts the output to
the screen. </SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=244530618-19071999></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=244530618-19071999>If you
want it in a file you have to redirect it using the ">" , like
this:</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=244530618-19071999></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=244530618-19071999>perl
cfgmaker public@ipaddr > mrtg.cfg</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=244530618-19071999></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=244530618-19071999>Now,
something to note: this will create a new file and OVERWRITE the old
one!!!! So, you have two choices, you can create a second file and
concatenate them with a file copy, ("copy mrtg.cfg+mrtg2.cfg allmrtg.cfg) or in
a text editor (ie. open both files, cut and paste together), or you can have the
output of cfgmaker be appeded to the end of the first one like
this:</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=244530618-19071999></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=244530618-19071999>perl
cfgmaker public@ipaddr >> mrtg.cfg</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=244530618-19071999></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=244530618-19071999>You'll
still have to edit the resulting cfg file because the required settings like
WORKDIR, etc, will be duplicated at the top of the new section.
</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=244530618-19071999></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=244530618-19071999></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=244530618-19071999>HTH,
</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=244530618-19071999></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=244530618-19071999></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=244530618-19071999>Ken
</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=244530618-19071999></SPAN></FONT> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">
<DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Pat Nolan
[mailto:pnolan@dataware.com]<BR><B>Sent:</B> Monday, July 19, 1999 12:58
PM<BR><B>To:</B> mrtg@list.ee.ethz.ch<BR><B>Subject:</B> [mrtg] multiple
switches<BR><BR></DIV></FONT>
<DIV>
<DIV><FONT color=#000000 size=2>I have been successfully using MRTG for about
6 months now. It works great! What I have been doing is monitoring
my snmp traffic on my switch. I just added another switch to my
network. It is daisy chained off of my original existing switch. I
am able to ping and telnet to it's IP address. If I run cfgmaker the new
switch is detected. I can see the IP & channel numbers scrolling
by. But the mrtg.cfg file is never created. I tried removing the
old mrtg.cfg file thinking that it would not create it if it already saw one
there. But that did not help either. What I thought I would do is
to create the new mrtg.cfg file then read in a copy of the old file.
That way I would be able to monitor all of my channels. Is that the
correct way to do that? </FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT size=2>Thanks for any help.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV></DIV>
<DIV><FONT color=#000000 size=2>Pat Nolan<BR>Operations Analyst<BR>Dataware
Technologies<BR>518-437-4095<BR><A
href="mailto:pnolan@dataware.com">pnolan@dataware.com</A></FONT></DIV></BLOCKQUOTE></BODY></HTML>