Re: my mrtg polling interval set 5 minute but work 30 minute?

[email protected]
Newsgroups gmane.network.mrtg.user
Message-ID <OF6FD46FE2.33B45081-ON85257996.0068A515-85257996.006A30C8@jwpepper.com>
Hey Ali,

I'm no expert on the subject but I believe it depends on the mode in which 
your running MRTG (i.e. Daemon mode)..

If for example your running MRTG in daemon mode (which is what I am 
running). You would create a "global.cfg"
file which would contain all your global directives (which includes 
"interval").

The basic setup for my "global.cfg" file is this:

###################################################################
        #-------- Global Configuration Settings --------#

        ### Tell MRTG to run as a Daemon
        RunAsDaemon: Yes
        ### Tell routers.cgi to ignore this config file.
        routers.cgi*Ignore: yes
        ### Specify LogFormat to use rrd mode
        LogFormat: rrdtool
        ### Run mrtg every 5 minutes
        Interval: 5
        ### Directory where rrd files are stored
        WorkDir: /mrtg/mrtgwww/httpd


        #-------- Include Directives (what cfg files to include) --------#

        ### What cfg files would we like MRTG to update every 5 minutes:
        Include: path/and/file.cfg
        Include: path/and/file.cfg
        Include: path/and/file.cfg
        .......etc.......
###################################################################


Then you would run the following (I'm running MRTG and Routers2 on SLES 
10):
>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...

        /usr/bin/perl -w /mrtg/bin/mrtg --daemon 
/mrtg/mrtgwww/cfg/global.cfg --logging /mrtg/log/mrtg.log



Well I hope that helps. Let me know if it does.

Thanks,
Matt





 











From:   ali ahmadi <[email protected]>
To:     <[email protected]>
Date:   01/31/2012 01:43 PM
Subject:        [mrtg] my mrtg polling interval set 5 minute but work 30 
minute?
Sent by:        <[email protected]>



hi
i setup mrtg in a network.i setup polling interval as default(5 minute) 
but recenttly it work 30 minute?
_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.