System Requirement
I tested MRTG Daily on Windows 2000 Pro with ActivePerl. It should run on all versions of Windows. If you want to run MRTG Daily on Unix, you need to change the "\" with "/" in file name.

กก

Installation
MRTG Daily is supposed to run at 4:30am each day. Thus the one day time frame sits in the middle of the graph. I hope you know how to setup Windows Scheduler for this.

กก

Command Line Switches
mrtg.cfg

This file should be your mrtg configuration file. This is the only required command line switch and it must be the first command line parameter. MRTG Daily reads mrtg.cfg for WorkDir and all the target names. MRTG Daily will write the output files to each different subfolder named by each target under WorkDir by default. If you want all the output files to be placed under WorkDir, you need to specify the /NoSubFolder command line switch.

MRTG Daily will create the following files under WorkDir or the folder that is specified by switch /DestDir:
target-day-yyyy-mm-dd.png
target-day-yyyy.html
target-day-history.html - This file is always the same as the most current target-day-yyyy.html.

If error occurs, MRTG Daily output the errors to mrtg.log. The file name is the same as your MRTG configuration file, except the extension.

"/DestDir:\\server\sharename\subfolder"

Optional. This switch tells MRTG Daily do not put all the output files in the default WorkDir folder. Instead, the output files corresponding to each target are put into each different subfolder name by the target name under the folder you specified. The subfolders should be created by you individually. If there is space in the folder name, double quotes are needed.

/NoSubFolder

Optional. This switch tells MRTG Daily do not put all the output files in different subfolders. Instead, all the output files are put under the same WorkDir folder or the folder you specified with /DestDir.

/Debug

Optional. This switch tells MRTG Daily to write debug information into the log file.

"/PageTop:<p>..\..\logo.gif</p>"

Optional. This switch tells MRTG Daily to include the html code immediately after the <body> code. Here you can specify company logo or anything you want that is applied to all the targets.

กก

กก

Hosted by www.Geocities.ws

1