<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<TITLE>MRTG help please</TITLE>
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=453325314-16042004><FONT face=Arial
color=#0000ff size=2>Ive realised now that we are also running MRTG on a windows
machine. And everytime I update the MRTG on my linux box it seems to update the
windows html files. Is this possible ?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=453325314-16042004><FONT face=Arial
color=#0000ff size=2>Will running MRTG on two machines probing the same switches
cause any problems ?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=453325314-16042004><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=453325314-16042004><FONT face=Arial
color=#0000ff size=2>thanks</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=453325314-16042004><FONT face=Arial
color=#0000ff size=2>Charles</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Charles Holtzkampf
[mailto:Charles.H@sdccom.co.uk] <BR><B>Sent:</B> 16 April 2004
15:27<BR><B>To:</B> (gllug@gllug.org.uk)<BR><B>Subject:</B> [Gllug] MRTG help
please<BR></FONT><BR></DIV>
<DIV></DIV>
<P><FONT face=Arial size=2>Howdy</FONT> </P>
<P><FONT face=Arial size=2>Can a question about MRTG.</FONT> <BR><FONT
face=Arial size=2>I installed mrtg-2.10.11. with gd-2.0.22, libpng-1.2.5
and zlib 1.2.1.</FONT> <BR><FONT face=Arial size=2>And running Apache
apache_1.3.29.</FONT> </P>
<P><FONT face=Arial size=2>It installed zlib first, then libpng and then gd. All
when fine without any hickups, I think.(no errors showed up and everything
compiled without complaints)</FONT></P>
<P><FONT face=Arial size=2>I created the mrtg.cfg file and then tried to run
mrtg using the following.</FONT> <BR><FONT face=Arial
size=2>/usr/local/mrtg-2/bin/mrtg /usr/local/mrtg/cfg/mrtg.cfg
--logging=/var/log/mrtg.log</FONT> </P>
<P><FONT face=Arial size=2>It complained about my envioroment, namely the lang
setting. I edited /etc/sysconfig/i18n and changed it to "en_GB" instead of
"en_GB.UTF-8".</FONT></P>
<P><FONT face=Arial size=2>Rebooted the machine and ran the command
again.</FONT> </P>
<P><FONT face=Arial size=2>This time it ran for about 5 seconds before going
back to the shell. But it didn't create any files in
/usr/local/apache/htdocs/mrtg, or anywhere else for that matter.</FONT></P>
<P><FONT face=Arial size=2>Here is my mrtg.cfg</FONT> </P>
<P><FONT face=Arial size=2># Created by </FONT><BR><FONT face=Arial size=2>#
/usr/local/mrtg-2/bin/cfgmaker --global 'WorkDir: /usr/local/apache/htdocs/mrtg'
--global 'Options[_]: bits' --global 'IconDir: icons' --snmp-options=:::::2
--subdirs=HOSTNAME --ifref=ip --ifdesc=alias --output
/usr/local/mrtg-2/cfg/mrtg.cfg doogie@192.168.0.1 doogie@192.168.0.2
public@10.11.0.1 public@10.11.0.2 public@10.11.0.3 public@10.11.0.4
public@10.11.0.5</FONT></P><BR>
<P><FONT face=Arial size=2>### Global Config Options</FONT> </P>
<P><FONT face=Arial size=2># for UNIX</FONT> <BR><FONT face=Arial size=2>#
WorkDir: /home/http/mrtg</FONT> </P>
<P><FONT face=Arial size=2># or for NT</FONT> <BR><FONT face=Arial
size=2># WorkDir: c:\mrtgdata</FONT> </P>
<P><FONT face=Arial size=2>### Global Defaults</FONT> </P>
<P><FONT face=Arial size=2># to get bits instead of bytes and graphs
growing to the right</FONT> <BR><FONT face=Arial size=2># Options[_]: growright,
bits </FONT></P>
<P><FONT face=Arial size=2>EnableIPv6: no</FONT> <BR><FONT face=Arial
size=2>WorkDir: /usr/local/apache/htdocs/mrtg</FONT> <BR><FONT face=Arial
size=2>Options[_]: bits, growright </FONT><BR><FONT face=Arial
size=2>IconDir: icons</FONT> </P><BR><BR>
<P><FONT face=Arial size=2>AND my mrtg.log</FONT> </P>
<P><FONT face=Arial size=2>2004-04-16 14:30:14 -- Started mrtg</FONT> </P>
<P><FONT face=Arial size=2>.</FONT> </P>
<P><FONT face=Arial size=2>I have 5 systems to check and two of them have quite
a few ports that are in use, could it be that its still creating those files
?</FONT></P>
<P><FONT face=Arial size=2>Im confused?</FONT> </P>
<P><FONT face=Arial size=2>Thanks</FONT> <BR><FONT face=Arial
size=2>Charles</FONT> </P><BR>
<P><I><FONT face="Book Antiqua" color=#0000ff>Charles Holtzkampf</FONT></I>
<BR><I><FONT face=Arial> </FONT></I> <BR><I><FONT face="Book Antiqua"
color=#0000ff>IT Engineer</FONT></I> <BR><I><FONT face="Book Antiqua"
color=#0000ff>SDC Communications Ltd</FONT></I> <BR><I><FONT face="Book Antiqua"
color=#0000ff>The Media Centre</FONT></I> <BR><I><FONT face="Book Antiqua"
color=#0000ff>19 Bolsover Street</FONT></I> <BR><I><FONT face="Book Antiqua"
color=#0000ff>London W1W 5NA</FONT></I> <BR><I><FONT face="Book Antiqua"
color=#0000ff>Tel: 020 7664 5655</FONT></I> <BR><I></I><A
href="http://www.sdccom.co.uk"><I><U></U><U><FONT face="Book Antiqua"
color=#0000ff>www.sdccom.co.uk</FONT></U></I></A><I></I> <BR><FONT
face=Arial> </FONT> <BR><FONT face=Arial> </FONT> </P></BODY></HTML>