=head1 Multi Router Traffic Grapher -- Configuration File Format
This file is for use with mrtg-2.5.3
Note:
=over 4
=item *
Keywords must start at the beginning of a line.
=item *
Lines which follow a keyword line which do start
with a blank are appended to the keyword line
=item *
Empty Lines are ignored
=item *
Lines starting with a # sign are comments.
=back
=head1 Global Configuration
Workdir specifies where the logfiles and the webpages should
be created.
Example:
WorkDir: /usr/tardis/pub/www/stats/mrtg
=head1 Optional Global Parameters
=head2 Refresh
How many seconds apart should the browser (Netscape) be
instructed to reload the page? If this is not defined, the
default is 300 seconds (5 minutes).
Example:
Refresh: 600
=head2 Interval
How often do you call mrtg? The default is 5 minutes. If
you call it less often, you should specify it here. This
does two things:
=over 4
=item *
the generated HTML page does contain the right
information about the calling interval ...
=item *
a META header in the generated HTML page will instruct
caches about the time to live of this page .....
=back
In this example we tell mrtg that we will be calling it
every 10 minutes. If you are calling mrtg every 5
minutes, you can leave this line commented out.
Example:
Interval: 10
=head2 WriteExpires
With this switch mrtg will generate .meta files for CERN
and Apache servers which contain Expiration tags for the
html and gif files. The *.meta files will be created in
the same directory as the other files, so you might have
to set "MetaDir ." in your srm.conf file for this to work
NOTE: If you are running Apache-1.2 you can use the mod_expire
to achieve the same effect ... see the file htaccess-dist
Example:
WriteExpires: Yes
=head2 IconDir
If you want to keep the mrtg icons in some place other than the
working directory, use the I![]() |
![]() |
![]() |
| 2.5.2-1998/2/6 | Tobias Oetiker <oetiker@ee.ethz.ch> and Dave Rand <dlr@bungi.com> |