<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>MRTG help please</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2 FACE="Arial">Howdy</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Can a question about MRTG.</FONT>
<BR><FONT SIZE=2 FACE="Arial">I installed mrtg-2.10.11. with gd-2.0.22, libpng-1.2.5 and zlib 1.2.1.</FONT>
<BR><FONT SIZE=2 FACE="Arial">And running Apache apache_1.3.29.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">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 SIZE=2 FACE="Arial">I created the mrtg.cfg file and then tried to run mrtg using the following.</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/local/mrtg-2/bin/mrtg /usr/local/mrtg/cfg/mrtg.cfg --logging=/var/log/mrtg.log</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">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 SIZE=2 FACE="Arial">Rebooted the machine and ran the command again.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">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 SIZE=2 FACE="Arial">Here is my mrtg.cfg</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"># Created by </FONT>
<BR><FONT SIZE=2 FACE="Arial"># /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 SIZE=2 FACE="Arial">### Global Config Options</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"># for UNIX</FONT>
<BR><FONT SIZE=2 FACE="Arial"># WorkDir: /home/http/mrtg</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"># or for NT</FONT>
<BR><FONT SIZE=2 FACE="Arial"># WorkDir: c:\mrtgdata</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">### Global Defaults</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"># to get bits instead of bytes and graphs growing to the right</FONT>
<BR><FONT SIZE=2 FACE="Arial"># Options[_]: growright, bits </FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">EnableIPv6: no</FONT>
<BR><FONT SIZE=2 FACE="Arial">WorkDir: /usr/local/apache/htdocs/mrtg</FONT>
<BR><FONT SIZE=2 FACE="Arial">Options[_]: bits, growright </FONT>
<BR><FONT SIZE=2 FACE="Arial">IconDir: icons</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2 FACE="Arial">AND my mrtg.log</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">2004-04-16 14:30:14 -- Started mrtg</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">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 SIZE=2 FACE="Arial">Im confused?</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Thanks</FONT>
<BR><FONT SIZE=2 FACE="Arial">Charles</FONT>
</P>
<BR>
<P><I><FONT COLOR="#0000FF" FACE="Book Antiqua">Charles Holtzkampf</FONT></I>
<BR><I><FONT FACE="Arial"> </FONT></I>
<BR><I><FONT COLOR="#0000FF" FACE="Book Antiqua">IT Engineer</FONT></I>
<BR><I><FONT COLOR="#0000FF" FACE="Book Antiqua">SDC Communications Ltd</FONT></I>
<BR><I><FONT COLOR="#0000FF" FACE="Book Antiqua">The Media Centre</FONT></I>
<BR><I><FONT COLOR="#0000FF" FACE="Book Antiqua">19 Bolsover Street</FONT></I>
<BR><I><FONT COLOR="#0000FF" FACE="Book Antiqua">London W1W 5NA</FONT></I>
<BR><I><FONT COLOR="#0000FF" FACE="Book Antiqua">Tel: 020 7664 5655</FONT></I>
<BR><I></I><A HREF="http://www.sdccom.co.uk"><I><U></U><U><FONT COLOR="#0000FF" FACE="Book Antiqua">www.sdccom.co.uk</FONT></U></I></A><I></I>
<BR><FONT FACE="Arial"> </FONT>
<BR><FONT FACE="Arial"> </FONT>
</P>
</BODY>
</HTML>