<font size=2 color=#002f80 face="sans-serif">Hey Ali,</font>
<br>
<br><font size=2 color=#002f80 face="sans-serif">I'm no expert on the subject
but I believe it depends on the mode in which your running MRTG (i.e. Daemon
mode)..</font>
<br>
<br><font size=2 color=#002f80 face="sans-serif">If for example your running
MRTG in daemon mode (which is what I am running). You would create a <i>"global.cfg"</i></font>
<br><font size=2 color=#002f80 face="sans-serif">file which would contain
all your global directives (which includes <i>"interval"</i>).</font>
<br>
<br><font size=2 color=#002f80 face="sans-serif"><b>The basic setup for
my <i>"global.cfg"</i> file is this:</b></font>
<br>
<br><font size=2 color=#002f80 face="sans-serif"><b>###################################################################</b></font>
<br><font size=2 color=#002f80 face="sans-serif"><b><i>
#-------- Global Configuration Settings --------#</i></b></font>
<br>
<br><font size=2 color=#002f80 face="sans-serif"><i>
### Tell MRTG to run as a Daemon</i></font>
<br><font size=2 color=#002f80 face="sans-serif"><b>
RunAsDaemon: Yes</b></font>
<br><font size=2 color=#002f80 face="sans-serif"><i>
### Tell routers.cgi to ignore this config file.</i></font>
<br><font size=2 color=#002f80 face="sans-serif"><b>
routers.cgi*Ignore: yes</b></font>
<br><font size=2 color=#002f80 face="sans-serif"><i>
### Specify LogFormat to use rrd mode</i></font>
<br><font size=2 color=#002f80 face="sans-serif"><b>
LogFormat: rrdtool</b></font>
<br><font size=2 color=#002f80 face="sans-serif"><i>
### Run mrtg every 5 minutes</i></font>
<br><font size=2 color=#002f80 face="sans-serif"><b>
Interval: 5</b></font>
<br><font size=2 color=#002f80 face="sans-serif"><i>
### Directory where rrd files are stored</i></font>
<br><font size=2 color=#002f80 face="sans-serif"><b>
WorkDir: /mrtg/mrtgwww/httpd</b></font>
<br>
<br>
<br><font size=2 color=#002f80 face="sans-serif"><b><i>
#-------- Include Directives (what cfg files to include)
--------#</i></b></font>
<br>
<br><font size=2 color=#002f80 face="sans-serif">
<i>### What cfg files would we like MRTG to update every 5 minutes:</i></font>
<br><font size=2 color=#002f80 face="sans-serif">
<b>Include: path/and/file.cfg</b></font>
<br><font size=2 color=#002f80 face="sans-serif"><b>
Include: path/and/file.cfg</b></font>
<br><font size=2 color=#002f80 face="sans-serif"><b>
Include: path/and/file.cfg</b></font>
<br><font size=2 color=#002f80 face="sans-serif"><b>
.......etc.......</b></font>
<br><font size=2 color=#002f80 face="sans-serif"><b>###################################################################</b></font>
<br>
<br>
<br><font size=2 color=#002f80 face="sans-serif"><b>Then you would run
the following </b>(I'm running MRTG and Routers2 on SLES 10):</font>
<br><font size=2 color=#002f80 face="sans-serif">From the Command Line
you would run the "mrtg" script file and feed it your global.cfg
file and it is also a good idea to enable logging...</font>
<br>
<br><font size=2 color=#002f80 face="sans-serif"><b>
/usr/bin/perl -w /mrtg/bin/mrtg --daemon /mrtg/mrtgwww/cfg/global.cfg
--logging /mrtg/log/mrtg.log</b></font>
<br>
<br>
<br>
<br><font size=2 color=#002f80 face="sans-serif">Well I hope that helps.
Let me know if it does.</font>
<br>
<br><font size=2 color=#002f80 face="sans-serif">Thanks,</font>
<br><font size=2 color=#002f80 face="sans-serif">Matt</font>
<br>
<br>
<br>
<br>
<br>
<br><font size=2 color=blue face="sans-serif"><u>
</u></font>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:
</font><font size=1 face="sans-serif">ali ahmadi <ali.ahmadi.656@gmail.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:
</font><font size=1 face="sans-serif"><mrtg@lists.oetiker.ch></font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:
</font><font size=1 face="sans-serif">01/31/2012 01:43 PM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:
</font><font size=1 face="sans-serif">[mrtg] my mrtg
polling interval set 5 minute but work 30 minute?</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by:
</font><font size=1 face="sans-serif"><mrtg-bounces+mmartin=jwpepper.com@lists.oetiker.ch></font>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>hi<br>
i setup mrtg in a network.i setup polling interval as default(5 minute)
but recenttly it work 30 minute?</font><tt><font size=2>_______________________________________________<br>
mrtg mailing list<br>
mrtg@lists.oetiker.ch<br>
</font></tt><a href="https://lists.oetiker.ch/cgi-bin/listinfo/mrtg"><tt><font size=2>https://lists.oetiker.ch/cgi-bin/listinfo/mrtg</font></tt></a><tt><font size=2><br>
</font></tt>
<br>