<div>I would like to take this second to say thank you in advanced, I think MRTG is an awesome tool for monitoring endless things, I&#39;ve used it for years.</div>
<div> </div>
<div>But recently, I decided I&#39;d take it a little further than just using it to monitor my bandwidth, I found a HOW-TO on using it to monitor memory swap, cpu, etc... well the config file I was basically &quot;copying&quot; off of, used the program &#39;system&#39; to get the bandwidth information, so I decided to change the option to use SNMP basically, and it started working great today.  But it seems like I changed the Options tab from what it was before (I have it commented out when I paste it in a second) on the old config, and changed it to bits, growright... well prior to doing that, all my graphs worked, but some of them were going from left to right, versus right to left ... then all of a sudden a few of my graphs quit working all together.  I probably worked on getting it transferred for about 4 hours last night, from just the plain bandwidth to monitoring other things, and I love the concept, but I feel stumped on it.  </div>

<div> </div>
<div>Below is my config file, and my mrtg graph can be viewed at <a href="http://okcinfo.net/mrtg">http://okcinfo.net/mrtg</a> if needed, I was HOPING I could get some assistance with my problem!  <br clear="all"></div>
<div> </div>
<div>Thank you again!!</div>
<div> </div>
<div>------------- beginning  ------------------</div>
<div><span lang="EN">
<p>WorkDir: /var/www/mrtg</p>
<p>#RunAsDaemon:Yes</p>
<p>Interval:5</p>
<p>#Options[_]: nopercent,growright,noinfo,gauge</p>
<p>Options[_]: bits, growright</p>
<p>MaxBytes[_]: 12500000</p>
<p>EnableIPv6: no</p>
<p>LogDir: /var/log/mrtg</p>
<p>Xsize[_]: 600</p>
<p>Ysize[_]: 200</p>
<p>Ytics[_]: 10</p>
<p>###############################################################################</p>
<p># </p>
<p># HTML formatting stuff</p>
<p>#</p>
<p>###############################################################################</p>
<p>PageTop[^]: &lt;table cellspacing=&quot;0&quot; cellpadding=&quot;10&quot; border=&quot;0&quot; width=&quot;100%&quot; align=&quot;center&quot;&gt;&lt;tr&gt;&lt;td width=&quot;185&quot; valign=&quot;top&quot; class=&quot;small&quot;&gt;&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;5&quot; border=&quot;0&quot; width=&quot;100%&quot;&gt;&lt;tr&gt;&lt;td class=&quot;tableh&quot;&gt;Network&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tablesh&quot;&gt;&lt;a href=&quot;index.html&quot;&gt;- Traffic&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;tcp.html&quot;&gt;- Open Connections&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tableh&quot;&gt;System Stats&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tablesh&quot;&gt;&lt;a href=&quot;load.html&quot;&gt;- Load Averages&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;swap.html&quot;&gt;- Swap Memory&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;processes.html&quot;&gt;- Processes&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;uptime.html&quot;&gt;- Uptime and Idle Time&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;cpu.html&quot;&gt;- CPU&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;memory.html&quot;&gt;- Memory Usage&lt;/a&gt;&lt;br&gt;&lt;tr&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;&lt;td&gt;</p>

<p>PageFoot[^]: &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</p>
<p>AddHead[^]: &lt;meta http-equiv=&#39;Expires&#39; content=&#39;-1&#39;&gt;&lt;style&gt;&lt;!-- body { </p>
<p>text-align: center; background-color: #CCCCCC; font-size: 10pt; font-family: arial, verdana; } th, td { font-size: 10pt; font-family: arial, verdana; } h3 { font-size: 12pt; font-family: arial, verdana; font-weight: bold; } .small { font-size: 8pt; font-family: arial, verdana; } .tableh { font-size: 10pt; font-family: arial, verdana; color: white; background-color: black; font-weight: bold; } .tablesh { font-size: 10pt; font-family: arial, verdana; color: black; background-color: #999999; font-weight: normal; } a:visited, a:active, a:link { text-decoration: none; font-weight: normal; font-family: arial, verdana; color: black; } a:hover { font-weight: normal; font-family: arial, verdana; background-color: #999999; color: white; } --&gt;&lt;/style&gt;</p>

<p>###############################################################################</p>
<p># </p>
<p># Stats</p>
<p>#</p>
<p>###############################################################################</p>
<p> </p>
<p>#----------------------------</p>
<p># Network</p>
<p>#----------------------------</p>
<p>#Target[index]: `/usr/local/mrtg-2/scripts/system network eth0`</p>
<p>#Options[index]: nopercent, noinfo</p>
<p>#</p>
<p>#Title[index]: Traffic Analysis for eth0</p>
<p>#PageTop[index]: &lt;h3&gt;Traffic Analysis for eth0&lt;/h3&gt;</p>
<p>Target[index]: #eth0:public@localhost</p>
<p>SetEnv[index]: MRTG_INT_IP=&quot;38.106.195.137&quot; MRTG_INT_DESCR=&quot;eth0&quot;</p>
<p>Options[index]: bits, growright</p>
<p>MaxBytes[index]: 12500000</p>
<p>Title[index]: Traffic Analysis for eth0 -- <a href="http://venom.okcinfo.net">venom.okcinfo.net</a></p>
<p>PageTop[index]: &lt;h1&gt;Traffic Analysis for eth0 -- <a href="http://venom.okcinfo.net">venom.okcinfo.net</a>&lt;/h1&gt;</p>
<p> </p>
<p>#----------------------------</p>
<p># TCP Connections</p>
<p>#----------------------------</p>
<p>Target[tcp]: `/usr/local/mrtg-2/scripts/system tcp`</p>
<p>Title[tcp]: Established TCP Connections</p>
<p>PageTop[tcp]: &lt;h3&gt;Established TCP Connections&lt;/h3&gt;</p>
<p>YLegend[tcp]: Connections</p>
<p>ShortLegend[tcp]: &amp;nbsp;&amp;nbsp;&amp;nbsp;</p>
<p>LegendI[tcp]: </p>
<p>LegendO[tcp]: Established&amp;nbsp;</p>
<p>#----------------------------</p>
<p># Load</p>
<p>#----------------------------</p>
<p>Target[load]: `/usr/local/mrtg-2/scripts/system load`</p>
<p>Options[load]: gauge, nopercent, noinfo</p>
<p>MaxBytes[load]: 3000</p>
<p>Title[load]: Load Averages</p>
<p>PageTop[load]: &lt;h3&gt;Load Averages&lt;/h3&gt;</p>
<p>YLegend[load]: Load (10E-2)</p>
<p>ShortLegend[load]: (10E-2)&amp;nbsp;</p>
<p>LegendI[load]: 5-minute stagger</p>
<p>LegendO[load]: 15-mintute stagger</p>
<p>Legend1[load]: Load Average over last 5 minutes&amp;nbsp;</p>
<p>Legend2[load]: Load Average over last 15 minutes&amp;nbsp;</p>
<p>Legend3[load]: Average over last 5 minutes</p>
<p>Legend4[load]: Average over last 15 minutes</p>
<p>#----------------------------</p>
<p># Swap</p>
<p>#----------------------------</p>
<p>Target[swap]: `/usr/local/mrtg-2/scripts/system swap`</p>
<p>Title[swap]: Swap Memory Usage</p>
<p>PageTop[swap]: &lt;h3&gt;Swap Memory Usage&lt;/h3&gt;</p>
<p>YLegend[swap]: Swap Usage</p>
<p>ShortLegend[swap]: &amp;nbsp;&amp;nbsp;&amp;nbsp;</p>
<p>LegendI[swap]: </p>
<p>LegendO[swap]: Used&amp;nbsp;</p>
<p>#----------------------------</p>
<p># Processes</p>
<p>#----------------------------</p>
<p>Target[processes]: `/usr/local/mrtg-2/scripts/system processes`</p>
<p>Title[processes]: Processes</p>
<p>PageTop[processes]: &lt;h3&gt;Processes&lt;/h3&gt;</p>
<p>YLegend[processes]: Processes</p>
<p>ShortLegend[processes]: &amp;nbsp;&amp;nbsp;&amp;nbsp;</p>
<p>LegendI[processes]: Total&amp;nbsp;</p>
<p>LegendO[processes]: Running&amp;nbsp;</p>
<p>#----------------------------</p>
<p># Uptime</p>
<p>#----------------------------</p>
<p>Target[uptime]: `/usr/local/mrtg-2/scripts/system uptime`</p>
<p>Title[uptime]: Uptime and Idle Time</p>
<p>PageTop[uptime]: &lt;h3&gt;Uptime and Idle Time&lt;/h3&gt;</p>
<p>YLegend[uptime]: Uptime (sec)</p>
<p>ShortLegend[uptime]: &amp;nbsp;&amp;nbsp;&amp;nbsp;</p>
<p>LegendI[uptime]: Total Uptime&amp;nbsp;</p>
<p>LegendO[uptime]: Idle Time&amp;nbsp;</p>
<p>#----------------------------</p>
<p># CPU</p>
<p>#----------------------------</p>
<p>Target[cpu]: `/usr/bin/awk &#39;/cpu /{print $2+$3; print $2+$3+$4; print &quot;quite some time&quot;; print &quot;<a href="http://domain.com">domain.com</a>&quot;}&#39;&lt;/proc/stat`</p>
<p>Title[cpu]: CPU Usage</p>
<p>PageTop[cpu]: &lt;H3&gt;CPU Usage&lt;/h3&gt;</p>
<p>MaxBytes[cpu]: 100</p>
<p>Options[cpu]: nopercent,growright,noinfo,bits</p>
<p>LegendI[cpu]: &amp;nbsp;user:</p>
<p>LegendO[cpu]: &amp;nbsp;total:</p>
<p>Ylegend[cpu]: %CPU</p>
<p>ShortLegend[cpu]: %CPU</p>
<p>Legend1[cpu]: Time spent in user mode</p>
<p>Legend2[cpu]: Time spent in user mode + time spent in system mode</p>
<p>Legend3[cpu]: Maximum occurance of time spent in user mode</p>
<p>Legend4[cpu]: Maximum occurance of (time spent in user mode + time spent in system mode)</p>
<p>#----------------------------</p>
<p># Memory</p>
<p>#----------------------------</p>
<p>Target[memory]: `/usr/local/mrtg-2/scripts/system memory`</p>
<p>Options[memory]: gauge, noinfo</p>
<p>MaxBytes[memory]: 665536000</p>
<p>Title[memory]: Memory Utilization</p>
<p>PageTop[memory]: &lt;H3&gt;Memory Utilization&lt;/H3&gt;</p>
<p>YLegend[memory]: Bytes</p>
<p>ShortLegend[memory]: B</p>
<p>LegendI[memory]: Used:</p>
<p>LegendO[memory]: Buffers + Cache:</p>
<p>Legend1[memory]: Free real memory</p>
<p>Legend2[memory]: Free swap memory</p>
<p>Legend3[memory]: Maximal 5 Minute Memory In Use</p>
<p>Legend4[memory]: Maximal 5 Minute Active Memory</p>
<p> </p>
<p>----------------- EOF -------------------------</p></span></div>
<div></div><br>-- <br>------------------------------------------<br>Greg Hanna<br>System Administrator/Owner<br><a href="mailto:admin@okcinfo.net">admin@okcinfo.net</a><br><a href="http://www.okcinfo.net">http://www.okcinfo.net</a><br>