<div>Hi Steve Shipway,</div><div>You are correct . I have an old MRTG 2.10. Now I uninstalled the old mrtg and installed mrtg-2.16.3.<br></div><div>When I run the cfg file</div><div></div><div><font color="#cc6600">EnableIPv6: no<br>
WorkDir: /home/Ashok/mrtg2/Station21<br>Options[_]: bits,growright<br>ThreshDir: /home/Ashok/mrtg2/Threshold<br>ThreshMailAddress[192.168.0.21_2]:<a href="mailto:root@192.168.1.130">root@192.168.1.130</a><br>#ThreshMaxI[192.168.0.21_2]: 10000<br>
#ThreshProgI[192.168.0.21_2]: `/home/Ashok/mrtg2/cfg/tresh.sh`<br><br>######################################################################<br># System: <a href="http://station21.com">station21.com</a><br># Description: Linux <a href="http://station21.com">station21.com</a> 2.6.9-5.EL #1 Wed Jan 5 19:22:18 EST 2005 i686<br>
# Contact: Root &lt;root@localhost&gt; (configure /etc/snmp/snmp.local.conf)<br># Location: Unknown (edit /etc/snmp/snmpd.conf)<br>######################################################################<br><br>### Interface 2 &gt;&gt; Descr: &#39;eth0&#39; | Name: &#39;&#39; | Ip: &#39;192.168.0.21&#39; | Eth: &#39;00-0c-29-24-49-d2&#39; ###<br>
<br>Target[192.168.0.21_2]: <a href="mailto:2%3Aashok@192.168.0.21">2:ashok@192.168.0.21</a>:<br>SetEnv[192.168.0.21_2]: MRTG_INT_IP=&quot;192.168.0.21&quot; MRTG_INT_DESCR=&quot;eth0&quot;<br>MaxBytes[192.168.0.21_2]: 1250000<br>
Title[192.168.0.21_2]: Traffic Analysis for 2 -- <a href="http://station21.com">station21.com</a><br>PageTop[192.168.0.21_2]: &lt;h1&gt;Traffic Analysis for 2 -- <a href="http://station21.com">station21.com</a>&lt;/h1&gt;<br>
         &lt;div id=&quot;sysdetails&quot;&gt;<br>                 &lt;table&gt;<br>                         &lt;tr&gt;<br>                                 &lt;td&gt;System:&lt;/td&gt;<br>                                 &lt;td&gt;<a href="http://station21.com">station21.com</a> in Unknown (edit /etc/snmp/snmpd.conf)&lt;/td&gt;<br>
                         &lt;/tr&gt;<br>                         &lt;tr&gt;<br>                                 &lt;td&gt;Maintainer:&lt;/td&gt;<br>                                 &lt;td&gt;Root &amp;lt;root@localhost&amp;gt; (configure /etc/snmp/snmp.local.conf)&lt;/td&gt;<br>                         &lt;/tr&gt;<br>                         &lt;tr&gt;<br>                                 &lt;td&gt;Description:&lt;/td&gt;<br>
                                 &lt;td&gt;eth0  &lt;/td&gt;<br>                         &lt;/tr&gt;<br>                         &lt;tr&gt;<br>                                 &lt;td&gt;ifType:&lt;/td&gt;<br>                                 &lt;td&gt;ethernetCsmacd (6)&lt;/td&gt;<br>                         &lt;/tr&gt;<br>                         &lt;tr&gt;<br>                                 &lt;td&gt;ifName:&lt;/td&gt;<br>
                                 &lt;td&gt;&lt;/td&gt;<br>                         &lt;/tr&gt;<br>                         &lt;tr&gt;<br>                                 &lt;td&gt;Max Speed:&lt;/td&gt;<br>                                 &lt;td&gt;10.0 Mbits/s&lt;/td&gt;<br>                         &lt;/tr&gt;<br>                         &lt;tr&gt;<br>                                 &lt;td&gt;Ip:&lt;/td&gt;<br>                                 &lt;td&gt;192.168.0.21 ()&lt;/td&gt;<br>
                         &lt;/tr&gt;<br>                 &lt;/table&gt;<br>         &lt;/div&gt;</font><br><br>It&#39;s giving the error as:</div><div><br><font color="#ff0000">ERROR: ThreshMailAddress[192.168.0.21_2]: specified without &quot;ThreshMailServer:&quot; at /usr/local/src/mrtg-2.16.3/bin//../lib/mrtg2/MRTG_lib.pm line 845.<br>
ERROR: Please fix the error(s) in your config file</font></div><div><font color="#ff0000"></font></div><div><font color="#000000">which means that I don&#39;t specify any TrashMailServer.</font></div><div><font color="#000000">Actually, I have no idea about my mail server.</font></div>
<div><font color="#000000">Can you help me out to know my SMTP mail server?</font></div><div><font color="#000000">It&#39;s better if you give some sample script about the THRESHOLDS in mrtg.</font></div><div><font color="#000000"></font></div>
<div><font color="#000000"></font></div><div>On Thu, Apr 29, 2010 at 1:52 AM, Steve Shipway <span dir="ltr">&lt;<a href="mailto:s.shipway@auckland.ac.nz">s.shipway@auckland.ac.nz</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">





<div>
<div style="font-family:Tahoma;direction:ltr;color:#000000;font-size:13px">
<div>Which version of MRTG do you have?  The various thresholding commands were not properly available before 2.16, IIRC.  Get verion 2.16.2 if you don&#39;t have it already.</div>
<div> </div>
<div><font size="2" face="tahoma">Steve</font></div>
<div dir="ltr"> </div>
<div style="direction:ltr">
<hr>
</div>
<div style="direction:ltr"><font color="#000000" size="2" face="Tahoma"><b>From:</b> mrtg-bounces+s.shipway=<a href="http://auckland.ac.nz" target="_blank">auckland.ac.nz</a>@<a href="http://lists.oetiker.ch" target="_blank">lists.oetiker.ch</a> [mrtg-bounces+s.shipway=<a href="http://auckland.ac.nz" target="_blank">auckland.ac.nz</a>@<a href="http://lists.oetiker.ch" target="_blank">lists.oetiker.ch</a>] On Behalf Of ashok kumar [<a href="mailto:g.ashok1988@gmail.com" target="_blank">g.ashok1988@gmail.com</a>]<br>

</font></div>
<div style="direction:ltr"><font color="#000000" size="2" face="Tahoma"><b>...</b></font></div><div class="im">
<div>
<div>But when I run the mrtg as <br>
<font color="#cc6600">[Ashok@station130 ~]$ env LANG=C mrtg mrtg2/cfg/130.cfg</font><font color="#cc6600"><br>
ERROR: CFG Error Unknown Option &quot;threshmailaddress&quot; on line 6 or above.<br>
  Check doc/reference.txt for Help</font><br>
</div>
</div>
</div></div>
</div>

</blockquote></div><br><br>Kind  Regards,<br>G. Ashok Kumar,<br>Softential, Inc.<br>