-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
33 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#! /home/oetiker/.plenv/shims/perl -w | ||
# -*- mode: Perl -*- | ||
################################################################## | ||
# MRTG 2.17.9 -- Config file creator | ||
# MRTG 2.17.10 -- Config file creator | ||
################################################################## | ||
# Created by Tobias Oetiker <[email protected]> | ||
# this produces an mrtg config file for one router or more routers | ||
|
@@ -1282,7 +1282,7 @@ sub options ($$) { | |
'zero-speed=s', | ||
'<>', $addrouter_ornf) or pod2usage(2); | ||
|
||
die("cfgmaker for mrtg-2.17.9\n") if $$opt{version}; | ||
die("cfgmaker for mrtg-2.17.10\n") if $$opt{version}; | ||
pod2usage(-exitval => 0, -verbose => 2) if $$opt{man}; | ||
pod2usage(-verbose => 1) if not keys %$routers; | ||
} # end options | ||
|
@@ -1589,7 +1589,7 @@ __END__ | |
=head1 NAME | ||
cfgmaker - Creates mrtg.cfg files (for mrtg-2.17.9) | ||
cfgmaker - Creates mrtg.cfg files (for mrtg-2.17.10) | ||
=head1 SYNOPSIS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# -*- mode: cperl -*- | ||
|
||
################################################################### | ||
# MRTG 2.17.9 Multi Router Traffic Grapher | ||
# MRTG 2.17.10 Multi Router Traffic Grapher | ||
################################################################### | ||
# Created by Tobias Oetiker <[email protected]> | ||
# and Dave Rand <[email protected]> | ||
|
@@ -1622,7 +1622,7 @@ sub writehtml { | |
my $dirrel = "../" x ($$rcfg{'directory_web'}{$router} =~ tr|/|/|); | ||
|
||
$Today=&$LOC(datestr(time)); | ||
$VERSION = "2.17.9"; | ||
$VERSION = "2.17.10"; | ||
open (HTML,">$$cfg{'htmldir'}$$rcfg{'directory'}{$router}$router.$$rcfg{'extension'}{$router}") || | ||
do { warn ("$NOW: WARNING: Writing $router.$$rcfg{'extension'}{$router}: $!"); | ||
next }; | ||
|
@@ -2038,7 +2038,7 @@ sub printusage { | |
print <<USAGEDESC; | ||
Usage: mrtg <config-file> | ||
mrtg-2.17.9 - Multi Router Traffic Grapher | ||
mrtg-2.17.10 - Multi Router Traffic Grapher | ||
Copyright 1995-2006 by Tobias Oetiker | ||
Licensed under the Gnu GPL. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
=head1 NAME | ||
|
||
mrtg-nt-guide - The MRTG 2.17.9 Windows Installation Guide | ||
mrtg-nt-guide - The MRTG 2.17.10 Windows Installation Guide | ||
|
||
=head1 SYNOPSIS | ||
|
||
|
@@ -24,7 +24,7 @@ http://www.activestate.com/store/activeperl/download/ | |
=item * | ||
|
||
The latest version of MRTG from http://oss.oetiker.ch/mrtg/pub. Look for | ||
mrtg-2.17.9.zip or better. The archive also contains a precompiled copy of | ||
mrtg-2.17.10.zip or better. The archive also contains a precompiled copy of | ||
rateup.exe for Win32. | ||
|
||
|
||
|
@@ -40,7 +40,7 @@ to a LOCAL machine. | |
|
||
=item First | ||
|
||
Unzip MRTG to C:\mrtg-2.17.9 on the Windows machine of your choice. | ||
Unzip MRTG to C:\mrtg-2.17.10 on the Windows machine of your choice. | ||
|
||
=item Next | ||
|
||
|
@@ -54,7 +54,7 @@ You can manually check this by going to [Control Panel]->[System]->[Environment] | |
=back | ||
|
||
To see if everything is installed properly you can open a Command Shell | ||
and go into F<c:\mrtg-2.17.9\bin>. Type: | ||
and go into F<c:\mrtg-2.17.10\bin>. Type: | ||
|
||
perl mrtg | ||
|
||
|
@@ -89,7 +89,7 @@ Catalyst 5000) with Community string B<public>. We are interested in monitoring | |
traffic, and the CPU load. Let's begin. | ||
|
||
The first thing we do in setting up MRTG is making a default config file. | ||
Get to a cmd prompt and change to the F<c:\mrtg-2.17.9\bin> directory. Type the | ||
Get to a cmd prompt and change to the F<c:\mrtg-2.17.10\bin> directory. Type the | ||
following command: | ||
|
||
perl cfgmaker [email protected] --global "WorkDir: c:\www\mrtg" --output mrtg.cfg | ||
|
@@ -157,7 +157,7 @@ This section determines how the web page headers will look | |
#--------------------------------------------------------------- | ||
|
||
And that's a very basic MRTG config file. You can run this and see your | ||
results by going into the F<c:\mrtg-2.17.9\bin> directory and typing: | ||
results by going into the F<c:\mrtg-2.17.10\bin> directory and typing: | ||
|
||
perl mrtg mrtg.cfg | ||
|
||
|
@@ -186,7 +186,7 @@ Add the option | |
|
||
to your mrtg.cfg file and start it with: | ||
|
||
start /Dc:\mrtg-2.17.9\bin wperl mrtg --logging=eventlog mrtg.cfg | ||
start /Dc:\mrtg-2.17.10\bin wperl mrtg --logging=eventlog mrtg.cfg | ||
|
||
If you use B<wperl> instead of B<perl>, no console window will show. MRTG is now | ||
running in the background. If it runs into problems it will tell you so | ||
|
@@ -197,7 +197,7 @@ can be found in the event log. | |
If you put a shortcut with | ||
|
||
Target: wperl mrtg --logging=eventlog mrtg.cfg | ||
Start in: c:\mrtg-2.17.9\bin | ||
Start in: c:\mrtg-2.17.10\bin | ||
|
||
into your start-up folder, MRTG will now start whenever you login to your NT | ||
box. | ||
|
@@ -246,7 +246,7 @@ Please complete the following steps before starting the installation: | |
|
||
=item * | ||
|
||
Copy B<srvany.exe> and B<instsrv.exe> to c:\mrtg-2.17.9\bin\ (your MRTG bin directory). | ||
Copy B<srvany.exe> and B<instsrv.exe> to c:\mrtg-2.17.10\bin\ (your MRTG bin directory). | ||
|
||
=item * | ||
|
||
|
@@ -257,8 +257,8 @@ following content into it: | |
|
||
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MRTG\Parameters] | ||
"Application"="c:\\perl\\bin\\wperl.exe" | ||
"AppParameters"="c:\\mrtg-2.17.9\\bin\\mrtg --logging=eventlog c:\\mrtg-2.17.9\\bin\\mrtg.cfg" | ||
"AppDirectory"="c:\\mrtg-2.17.9\\bin\\" | ||
"AppParameters"="c:\\mrtg-2.17.10\\bin\\mrtg --logging=eventlog c:\\mrtg-2.17.10\\bin\\mrtg.cfg" | ||
"AppDirectory"="c:\\mrtg-2.17.10\\bin\\" | ||
|
||
=back | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# -*- mode: Perl -*- | ||
package MRTG_lib; | ||
################################################################### | ||
# MRTG 2.17.9 Support library MRTG_lib.pm | ||
# MRTG 2.17.10 Support library MRTG_lib.pm | ||
################################################################### | ||
# Created by Tobias Oetiker <[email protected]> | ||
# and Dave Rand <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters