OK I fixed the 32 bit problem thanks to feedback - just had to change my runmrtg to call for the right counter.<div><br></div><div>But now my log file says I have 2 jobs running for one of my switches but that makes no sense.  I did not change anything in my cron tabs and this never showed up before the change.</div>
<div><br></div><div><div>2013-03-02 10:30:02 -- Started mrtg with config &#39;/var/www/mrtg/192.168.160.3.cfg&#39;</div><div>2013-03-02 10:30:02 -- Started mrtg with config &#39;/var/www/mrtg/192.168.160.9.cfg&#39;</div><div>
2013-03-02 10:30:02 -- Saturday, 2 March 2013 at 10:30: ERROR: It looks as if you are running two copies of mrtg in parallel on</div><div>       the same config file. There is a lockfile (/var/lock/mrtg/mrtg_l) and it is</div>
<div>       is only 0 seconds old ... Check your crontab.</div><div>       (/etc/crontab and /var/spool/cron/root) </div><div><br></div><div>All I did was change my script that calls cfgmaker then ran it manually (otherwise it gets run nightly in case there were any changes on the switch that day)</div>
<div><br></div><div><div>[root@solexa-db mrtg]# more runmrtgcfgmaker </div><div>#!/bin/bash</div><div>#</div><div># this needs to be run periodically so that MRTG will pick up any new</div><div># ports that were previously not being used, but are now.  Once to thrice</div>
<div># daily is sufficient.  Here is the Linux crontab entry for once daily</div><div># at 2:01 AM :</div><div>#</div><div># 01 02 * * *     /localdisk/opt/bin/runmrtgcfgmaker</div><div><br></div><div>BASEDIR=/var/www/mrtg</div>
<div><br></div><div>if [ $# -ne 0 ]</div><div>then</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>DIRNAME=`dirname $0`</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>ETCDIR=&quot;$DIRNAME/../etc&quot;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>NODEFILE=&quot;$ETCDIR/MRTGnodes&quot;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>STACKS=`grep -v &quot;^#&quot; $NODEFILE`</div>
<div>else</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>STACKS=&quot;192.168.160.9 192.168.160.3&quot;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>while [ $# -gt 0 ]</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>do</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>STACKS=&quot;$1 $STACKS&quot;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>shift</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>done</div><div>fi</div><div><br></div><div>for stack in $STACKS</div><div>do</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>echo $stack</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>pw=public</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>echo &quot;cfgmaker --global &#39;WorkDir: /var/www/mrtg&#39; --global &#39;Options[_]: bits,growright&#39; --output /var/www/mrtg/$stack.cfg $pw@$stack:::::2&quot;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>cfgmaker --global &#39;WorkDir: /var/www/mrtg&#39; --global &#39;Options[_]: bits,growright&#39; --output /var/www/mrtg/$stack.cfg $pw@$stack:::::2</div><div>
done</div><div>[root@solexa-db mrtg]# </div></div><div><br></div><div><br></div><div><br></div><div><div>[root@solexa-db mrtg]# cat /etc/cron.d/mrtg </div><div>MAILTO=&quot;&quot;</div><div>*/5 * * * * root LANG=C LC_ALL=C /usr/bin/mrtg /var/www/mrtg/192.168.160.9.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok --logging /var/log/mrtg.log</div>
<div>*/5 * * * * root LANG=C LC_ALL=C /usr/bin/mrtg /var/www/mrtg/192.168.160.3.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok --logging /var/log/mrtg.log</div></div><div><br></div><div><br></div>
<div><br></div>-- <br>“Don&#39;t eat anything you&#39;ve ever seen advertised on TV”<br>         - Michael Pollan, author of &quot;In Defense of Food&quot;
</div>