Blame doc/mrtg-nw-guide.1

Packit 667938
.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.29)
Packit 667938
.\"
Packit 667938
.\" Standard preamble:
Packit 667938
.\" ========================================================================
Packit 667938
.de Sp \" Vertical space (when we can't use .PP)
Packit 667938
.if t .sp .5v
Packit 667938
.if n .sp
Packit 667938
..
Packit 667938
.de Vb \" Begin verbatim text
Packit 667938
.ft CW
Packit 667938
.nf
Packit 667938
.ne \\$1
Packit 667938
..
Packit 667938
.de Ve \" End verbatim text
Packit 667938
.ft R
Packit 667938
.fi
Packit 667938
..
Packit 667938
.\" Set up some character translations and predefined strings.  \*(-- will
Packit 667938
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
Packit 667938
.\" double quote, and \*(R" will give a right double quote.  \*(C+ will
Packit 667938
.\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
Packit 667938
.\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
Packit 667938
.\" nothing in troff, for use with C<>.
Packit 667938
.tr \(*W-
Packit 667938
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
Packit 667938
.ie n \{\
Packit 667938
.    ds -- \(*W-
Packit 667938
.    ds PI pi
Packit 667938
.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
Packit 667938
.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
Packit 667938
.    ds L" ""
Packit 667938
.    ds R" ""
Packit 667938
.    ds C` ""
Packit 667938
.    ds C' ""
Packit 667938
'br\}
Packit 667938
.el\{\
Packit 667938
.    ds -- \|\(em\|
Packit 667938
.    ds PI \(*p
Packit 667938
.    ds L" ``
Packit 667938
.    ds R" ''
Packit 667938
.    ds C`
Packit 667938
.    ds C'
Packit 667938
'br\}
Packit 667938
.\"
Packit 667938
.\" Escape single quotes in literal strings from groff's Unicode transform.
Packit 667938
.ie \n(.g .ds Aq \(aq
Packit 667938
.el       .ds Aq '
Packit 667938
.\"
Packit 667938
.\" If the F register is turned on, we'll generate index entries on stderr for
Packit 667938
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
Packit 667938
.\" entries marked with X<> in POD.  Of course, you'll have to process the
Packit 667938
.\" output yourself in some meaningful fashion.
Packit 667938
.\"
Packit 667938
.\" Avoid warning from groff about undefined register 'F'.
Packit 667938
.de IX
Packit 667938
..
Packit 667938
.nr rF 0
Packit 667938
.if \n(.g .if rF .nr rF 1
Packit 667938
.if (\n(rF:(\n(.g==0)) \{
Packit 667938
.    if \nF \{
Packit 667938
.        de IX
Packit 667938
.        tm Index:\\$1\t\\n%\t"\\$2"
Packit 667938
..
Packit 667938
.        if !\nF==2 \{
Packit 667938
.            nr % 0
Packit 667938
.            nr F 2
Packit 667938
.        \}
Packit 667938
.    \}
Packit 667938
.\}
Packit 667938
.rr rF
Packit 667938
.\"
Packit 667938
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
Packit 667938
.\" Fear.  Run.  Save yourself.  No user-serviceable parts.
Packit 667938
.    \" fudge factors for nroff and troff
Packit 667938
.if n \{\
Packit 667938
.    ds #H 0
Packit 667938
.    ds #V .8m
Packit 667938
.    ds #F .3m
Packit 667938
.    ds #[ \f1
Packit 667938
.    ds #] \fP
Packit 667938
.\}
Packit 667938
.if t \{\
Packit 667938
.    ds #H ((1u-(\\\\n(.fu%2u))*.13m)
Packit 667938
.    ds #V .6m
Packit 667938
.    ds #F 0
Packit 667938
.    ds #[ \&
Packit 667938
.    ds #] \&
Packit 667938
.\}
Packit 667938
.    \" simple accents for nroff and troff
Packit 667938
.if n \{\
Packit 667938
.    ds ' \&
Packit 667938
.    ds ` \&
Packit 667938
.    ds ^ \&
Packit 667938
.    ds , \&
Packit 667938
.    ds ~ ~
Packit 667938
.    ds /
Packit 667938
.\}
Packit 667938
.if t \{\
Packit 667938
.    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
Packit 667938
.    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
Packit 667938
.    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
Packit 667938
.    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
Packit 667938
.    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
Packit 667938
.    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
Packit 667938
.\}
Packit 667938
.    \" troff and (daisy-wheel) nroff accents
Packit 667938
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
Packit 667938
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
Packit 667938
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
Packit 667938
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
Packit 667938
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
Packit 667938
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
Packit 667938
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
Packit 667938
.ds ae a\h'-(\w'a'u*4/10)'e
Packit 667938
.ds Ae A\h'-(\w'A'u*4/10)'E
Packit 667938
.    \" corrections for vroff
Packit 667938
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
Packit 667938
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
Packit 667938
.    \" for low resolution devices (crt and lpr)
Packit 667938
.if \n(.H>23 .if \n(.V>19 \
Packit 667938
\{\
Packit 667938
.    ds : e
Packit 667938
.    ds 8 ss
Packit 667938
.    ds o a
Packit 667938
.    ds d- d\h'-1'\(ga
Packit 667938
.    ds D- D\h'-1'\(hy
Packit 667938
.    ds th \o'bp'
Packit 667938
.    ds Th \o'LP'
Packit 667938
.    ds ae ae
Packit 667938
.    ds Ae AE
Packit 667938
.\}
Packit 667938
.rm #[ #] #H #V #F C
Packit 667938
.\" ========================================================================
Packit 667938
.\"
Packit 667938
.IX Title "MRTG-NW-GUIDE 1"
Packit 667938
.TH MRTG-NW-GUIDE 1 "2018-07-13" "2.17.7" "mrtg"
Packit 667938
.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
Packit 667938
.\" way too many mistakes in technical documents.
Packit 667938
.if n .ad l
Packit 667938
.nh
Packit 667938
.SH "NAME"
Packit 667938
mrtg\-nw\-guide \- MRTG for NetWare
Packit 667938
.SH "SYNOPSIS"
Packit 667938
.IX Header "SYNOPSIS"
Packit 667938
This guide is intended to aid in the installation and configuration of \s-1MRTG\s0 on a NetWare server.
Packit 667938
.SH "OVERVIEW"
Packit 667938
.IX Header "OVERVIEW"
Packit 667938
\&\s-1MRTG\s0 is a relative newcomer to the NetWare platform. Earlier versions of NetWare could not run \s-1MRTG\s0 natively for
Packit 667938
several reasons:
Packit 667938
.IP "\(bu" 4
Packit 667938
Absence of NetWare \s-1OS\s0 support in the \s-1MRTG\s0 package.
Packit 667938
.IP "\(bu" 4
Packit 667938
A NetWare server commandline length limitation.
Packit 667938
.IP "\(bu" 4
Packit 667938
Absence of the Rateup executable (Rateup.nlm).
Packit 667938
.IP "\(bu" 4
Packit 667938
A standard installation method.
Packit 667938
.IP "\(bu" 4
Packit 667938
Problems with NetWare's implementation of Perl.
Packit 667938
.PP
Packit 667938
Support for the NetWare \s-1OS\s0 has now been fully added into \s-1MRTG,\s0 beginning with \s-1MRTG\s0 release 2.12.2.
Packit 667938
.PP
Packit 667938
Liberallly minded operating systems support a commandline length approaching 1000 characters. In such environments it
Packit 667938
was an easy matter to pass the sometimes high number of parameters used by \s-1MRTG\s0's Rateup executable directly on the
Packit 667938
commandline. Until NetWare 6.5, NetWare had a commandline limit of 512 characters. This limitation was also removed
Packit 667938
for NetWare 6.0 by Service Pack 5. For other NetWare versions and earlier Service Packs, this limitation remains. To
Packit 667938
permit a 'standard' interface for NetWare, the Rateup executable has been modified to also read its parameters from
Packit 667938
a file, and the \s-1MRTG\s0 script has been modified to support this method on a NetWare platform.  (See New Rateup Switch)
Packit 667938
.PP
Packit 667938
A Rateup \s-1NLM\s0 is now available, along with the necessary scripts to build it if required. See the  NetWare Support
Packit 667938
section of this document for further details. Additionally, mrtg.pl has been revised because of the unique (to NetWare)
Packit 667938
name of executables (\s-1NLM\s0).
Packit 667938
.PP
Packit 667938
The absence of a specific installation procedure has caused \s-1MRTG\s0 to fail in the past because the Perl script could
Packit 667938
not find or load the Rateup executable. The installation method supplied here will solve this problem for now.
Packit 667938
.PP
Packit 667938
The \s-1MRTG\s0.pl script in the 2.12.2 (or later) version of \s-1MRTG\s0 has been configured to suit all likely versions of
Packit 667938
NetWare able to use Perl5, and bypasses all of the known problems with NetWare Perl running \s-1MRTG.\s0
Packit 667938
.SH "PREREQUISITES"
Packit 667938
.IX Header "PREREQUISITES"
Packit 667938
You will need the following:
Packit 667938
.IP "\(bu" 4
Packit 667938
Perl 5.8.0 for NetWare with latest Perl Updates (February, 2005 or later; previous versions \s-1MAY\s0 work)
Packit 667938
.IP "\(bu" 4
Packit 667938
NetWare 5.1 w/ \s-1SP8,\s0 NetWare 6.0 w/ \s-1SP5\s0 or NetWare 6.5 w/ \s-1SP2.\s0
Packit 667938
.IP "\(bu" 4
Packit 667938
A copy of the \s-1MRTG\s0 Package (v2.12.2 at time of writting)
Packit 667938
.IP "\(bu" 4
Packit 667938
Three .ncf files to execute the Perl scripts at the NetWare server console.
Packit 667938
.IP "\(bu" 4
Packit 667938
A copy of the Rateup \s-1NLM \s0(Pre-built or compiled)
Packit 667938
.IP "\(bu" 4
Packit 667938
Optionally, any NetWare supported Web Server (Netscape, Apache 1.3 or 2.0)
Packit 667938
.PP
Packit 667938
For copies of the .ncf files and Rateup \s-1NLM,\s0 see NetWare Support in this document.
Packit 667938
.SH "INSTALLING MRTG"
Packit 667938
.IX Header "INSTALLING MRTG"
Packit 667938
.IP "1." 4
Packit 667938
Install the latest Perl 5.8.x release on your server. See the Perl documentation for details.
Packit 667938
.IP "2." 4
Packit 667938
Create the following directories:
Packit 667938
.Sp
Packit 667938
.Vb 10
Packit 667938
\&         SYS:/Mrtg
Packit 667938
\&         SYS:/Mrtg/bin
Packit 667938
\&         SYS:/Mrtg/contrib    (Optional for this document)
Packit 667938
\&         SYS:/Mrtg/doc        (Optional for this document)
Packit 667938
\&         SYS:/Mrtg/html
Packit 667938
\&         SYS:/Mrtg/html/images
Packit 667938
\&         SYS:/Mrtg/html/work
Packit 667938
\&         SYS:/Mrtg/lib
Packit 667938
\&         SYS:/Mrtg/logs
Packit 667938
\&         SYS:/Mrtg/translate
Packit 667938
.Ve
Packit 667938
.IP "3." 4
Packit 667938
Copy from the \s-1MRTG\s0 package the following files:
Packit 667938
.Sp
Packit 667938
.Vb 1
Packit 667938
\& \ebin\e*        to  SYS:/Mrtg/bin              All files. See Note 1.
Packit 667938
.Ve
Packit 667938
.Sp
Packit 667938
Note 1: Add a .pl extension to the mrtg, cfgmaker and indexmaker files.
Packit 667938
The rateup.exe will \s-1NOT\s0 be needed on the NetWare server.
Packit 667938
.Sp
Packit 667938
.Vb 4
Packit 667938
\& \econtrib\e*    to  SYS:/Mrtg/contrib/         Include sub\-directories
Packit 667938
\& \edoc\e*        to  SYS:/Mrtg/doc/             All files
Packit 667938
\& \eimages\e*     to  SYS:/Mrtg/html/images/     All files
Packit 667938
\& \etranslate\e*  to  SYS:/Mrtg/translate/       All files. See Note 2.
Packit 667938
.Ve
Packit 667938
.Sp
Packit 667938
Note 2: For English-only language support, all \etranslate files \s-1EXCEPT\s0 Locales_mrtg may be deleted.
Packit 667938
.Sp
Packit 667938
.Vb 1
Packit 667938
\& \elib\e*        to  SYS:/Mrtg/lib              Include sub\-directories. See Note 3.
Packit 667938
.Ve
Packit 667938
.Sp
Packit 667938
Note 3: This will create the SYS:/Mrtg/lib/mrtg2 and ./pod directories.
Packit 667938
.IP "4." 4
Packit 667938
Create copies of the three .ncf files and install them:
Packit 667938
.Sp
Packit 667938
.Vb 1
Packit 667938
\& *.ncf         to  SYS:/Mrtg/bin
Packit 667938
.Ve
Packit 667938
.Sp
Packit 667938
See NetWare Support in this document for details on how to create copies of these files.
Packit 667938
.IP "5." 4
Packit 667938
See Compiling Rateup.nlm"> in this document for details on compiling the Rateup \s-1NLM\s0 yourself if desired.
Packit 667938
A prebuit verion is available in the .\emrtg\ebin directory where it must remain.
Packit 667938
.SH "CONFIGURING MRTG"
Packit 667938
.IX Header "CONFIGURING MRTG"
Packit 667938
.IP "\(bu" 4
Packit 667938
Refer to Novell documentation on configuring and loading \s-1SNMP\s0 support on your server if this is the device to
Packit 667938
be monitored.
Packit 667938
.IP "\(bu" 4
Packit 667938
Edit sys:/mrtg/bin/MakeMrtgCfg.ncf:
Packit 667938
.Sp
Packit 667938
replace ccccc with the \s-1GET\s0 community name for the \s-1SNMP\s0 device (typically 'public'),
Packit 667938
.Sp
Packit 667938
replace ddddd with the \s-1DNS\s0 name or \s-1IP\s0 address of the device to be monitored.  e.g    public@www.myserver.com, public@10.202.65.180
Packit 667938
.Sp
Packit 667938
Note 1: These are \s-1NOT\s0 mail addresses, they just look like one!
Packit 667938
.Sp
Packit 667938
Note 2: If multiple devices are to be monitored, add their entries to the same line:
Packit 667938
.Sp
Packit 667938
e.g  perl cfgmaker.pl public@www.myserver.com public@10.202.65.180 > sys:/mrtg/bin/mrtg.cfg
Packit 667938
.Sp
Packit 667938
In this \*(L"Getting Started\*(R", it is 'suggested' to only monitor a single device.
Packit 667938
.IP "\(bu" 4
Packit 667938
At the server console, run:
Packit 667938
.Sp
Packit 667938
.Vb 1
Packit 667938
\& sys:/mrtg/bin/MakeMrtgCfg.ncf
Packit 667938
.Ve
Packit 667938
.Sp
Packit 667938
This will create Mrtg.cfg in sys:/mrtg/bin.
Packit 667938
.IP "\(bu" 4
Packit 667938
Edit the Mrtg.cfg configuration file created in the previous step. Note the following:
Packit 667938
.Sp
Packit 667938
It was found, when testing \s-1MRTG\s0 on a NetWare 6.5 server using a \s-1NIC\s0 Interface, that mrtg.cfg contained
Packit 667938
the following message:
Packit 667938
.Sp
Packit 667938
.Vb 5
Packit 667938
\& ### Interface 1 >> Descr: \*(AqIntel(R)\-8255x\-based\-Network\-Connection\*(Aq...
Packit 667938
\& ### The following interface is commented out because:
Packit 667938
\& ### * has a speed of 0 which makes no sense
Packit 667938
\& # 
Packit 667938
\& ...
Packit 667938
.Ve
Packit 667938
.Sp
Packit 667938
If this occurs, edit MakeMrtgCfg.ncf and add the following parameter as shown:
Packit 667938
.Sp
Packit 667938
.Vb 1
Packit 667938
\& perl sys:\emrtg\ebin\ecfgmaker.pl \-\-zero\-speed=nnn public@10.202.65.180 > sys:\emrtg\ebin\eMrtg.cfg
Packit 667938
.Ve
Packit 667938
.Sp
Packit 667938
where \fBnnn\fR is the interface speed in bits per second. For a 100 Megabit \s-1LAN NIC,\s0 nnn = 10000000. It will be
Packit 667938
necessary to re-execute the MakeMrtgCfg.ncf script before continuing with this section.
Packit 667938
.Sp
Packit 667938
Below line 16 (*** Global Defaults), add:
Packit 667938
.Sp
Packit 667938
.Vb 4
Packit 667938
\& HtmlDir:    e.g  HtmlDir:  sys:/mrtg/html
Packit 667938
\& ImageDir:   e.g  ImageDir: sys:/mrtg/html/work
Packit 667938
\& LogDir:     e.g  LogDir:   sys:/mrtg/logs
Packit 667938
\& IconDir:    e.g  IconDir:  ./images
Packit 667938
.Ve
Packit 667938
.Sp
Packit 667938
Note 1. The HtmlDir entry specifies where \s-1MRTG\s0 will create its \s-1HTML\s0 pages.
Packit 667938
.Sp
Packit 667938
Note 2. The ImageDir entry specifies where the created graphic icons are placed.
Packit 667938
.Sp
Packit 667938
Note 3. The IconDir entry specifies where the supplied \s-1MRTG\s0 icons are located.
Packit 667938
It \s-1MUST\s0 be a relative path from HtmlDir or absolute \s-1URL.\s0 The value shown
Packit 667938
is recommended.
Packit 667938
.IP "\(bu" 4
Packit 667938
At the server console run:
Packit 667938
.Sp
Packit 667938
.Vb 1
Packit 667938
\& sys:/mrtg/bin/RunMrtg.ncf
Packit 667938
.Ve
Packit 667938
.Sp
Packit 667938
several times. By the third time it should run without showing error messages on the console screen.
Packit 667938
.Sp
Packit 667938
This should create.
Packit 667938
.Sp
Packit 667938
\&\- A \s-1HTML\s0 page in the (HtmlDir) directory for each monitored device,
Packit 667938
.Sp
Packit 667938
\&\- A .dat file in the (ImageDir) directory for each monitored device,
Packit 667938
.Sp
Packit 667938
\&\- Several .png icons in the (ImageDir) directory,
Packit 667938
.Sp
Packit 667938
\&\- Some log file entries in the (LogDir) directory.
Packit 667938
.Sp
Packit 667938
Note: If you experience a \*(L"Use of uninitialised value in split\*(R" error, it will be necessary to
Packit 667938
create a 'Path' environment variable at the server console; use the following example
Packit 667938
.Sp
Packit 667938
.Vb 1
Packit 667938
\& env path="SYS:\e"  (The actual value is immaterial, as long as the var itself exists.)
Packit 667938
.Ve
Packit 667938
.IP "\(bu" 4
Packit 667938
Edit sys:/mrtg/bin/MakeMrtgIndex.ncf. Change the indicated <path> shown in the following example to
Packit 667938
match the value entered for (HtmlDir).
Packit 667938
.Sp
Packit 667938
.Vb 1
Packit 667938
\& perl \-\-noscreen sys:/mrtg/bin/indexmaker.pl sys:/mrtg/bin/Mrtg.cfg > <path>/index.html
Packit 667938
.Ve
Packit 667938
.IP "\(bu" 4
Packit 667938
Create an index.html page linking the seperate device \s-1HTML\s0 page(s). At the server console, run:
Packit 667938
.Sp
Packit 667938
.Vb 1
Packit 667938
\& sys:/mrtg/bin/MakeMrtgIndex.ncf
Packit 667938
.Ve
Packit 667938
.Sp
Packit 667938
This will create index.html in the (HtmlDir) directory.
Packit 667938
.IP "\(bu" 4
Packit 667938
Optionally, configure a Web Server to permit access to the directory specified in (HtmlDir) to view the \s-1MRTG\s0
Packit 667938
graphs remotely, at, for example:
Packit 667938
.Sp
Packit 667938
.Vb 1
Packit 667938
\& http://ip_or_dns/mrtg/index.html
Packit 667938
.Ve
Packit 667938
.Sp
Packit 667938
A sample configuration for an Apache Webserver is shown:
Packit 667938
.Sp
Packit 667938
.Vb 6
Packit 667938
\& Alias /mrtg/ "SYS:/mrtg/html/"
Packit 667938
\& <Directory "SYS:/mrtg/html">
Packit 667938
\&             AllowOverride None
Packit 667938
\&             Order allow,deny
Packit 667938
\&             Allow from all
Packit 667938
\& </Directory>
Packit 667938
.Ve
Packit 667938
.IP "\(bu" 4
Packit 667938
Set the property of the directory pointed to by (ImageDir), to 'Purge Immediate'.
Packit 667938
.IP "\(bu" 4
Packit 667938
Finally, read the \s-1MRTG\s0 documentation for much more detailed configuration/usage information.
Packit 667938
.PP
Packit 667938
Welcome to \s-1MRTG\s0!!
Packit 667938
.SH "MAKE MRTG RUN ALL THE TIME"
Packit 667938
.IX Header "MAKE MRTG RUN ALL THE TIME"
Packit 667938
\&\s-1MRTG\s0 can be made to run periodically by at least two means:
Packit 667938
.IP "\(bu" 4
Packit 667938
Using \s-1CRON\s0 Scheduling
Packit 667938
.IP "\(bu" 4
Packit 667938
Running \s-1MRTG\s0 in Daemon Mode
Packit 667938
.SS "\s-1CRON\s0 Scheduling"
Packit 667938
.IX Subsection "CRON Scheduling"
Packit 667938
To use \s-1CRON\s0 scheduling, create a \s-1CRON\s0 Scheduler entry to execute the RunMrtg.ncf file on a frequency appropriate for
Packit 667938
the server environment and information desired. The following entry in the sys:\eetc\ecrontab file will execute \s-1MRTG\s0
Packit 667938
every five minutes:
Packit 667938
.PP
Packit 667938
.Vb 1
Packit 667938
\& 0,5,10,15,20,25,30,35,40,45,50,55 * * * * sys:\emrtg\ebin\erunmrtg.ncf
Packit 667938
.Ve
Packit 667938
.PP
Packit 667938
The \s-1CRON\s0 Scheduler (cron.nlm) can be started automatically by adding it in \s-1AUTOEXEC\s0.ncf or, manually loading it at
Packit 667938
the server console.
Packit 667938
.SS "\s-1MRTG\s0 in Daemon Mode"
Packit 667938
.IX Subsection "MRTG in Daemon Mode"
Packit 667938
Refer to the MRTG-Reference document for information about the 'RunAsDaemon' option. Its use is outside the scope
Packit 667938
of this document.
Packit 667938
.SH "TROUBLESHOOTING"
Packit 667938
.IX Header "TROUBLESHOOTING"
Packit 667938
Read the \s-1MRTG\s0 documents, Perl documents or, finally, submit questions to the \s-1MRTG\s0 User forums.
Packit 667938
.PP
Packit 667938
For NetWare specific issues, submit questions to the Perl forum at 
Packit 667938
news://developer\-forums.novell.com/novell.devsup.perl (Novell Developer Forums).
Packit 667938
.SH "COMPILING RATEUP.NLM"
Packit 667938
.IX Header "COMPILING RATEUP.NLM"
Packit 667938
In addition to the rateup.c and Makefile.Netware supplied with the \s-1MRTG\s0 release, you will also need:
Packit 667938
.IP "\(bu" 4
Packit 667938
Metrowerks CodeWarrior with NetWare Support \s-1OR GCC\s0 Compiler (v3.0.3 or later) with NlmConv Utility
Packit 667938
.IP "\(bu" 4
Packit 667938
Novell LibC \s-1NDK \s0(February 2004 or later)
Packit 667938
.IP "\(bu" 4
Packit 667938
\&\s-1GD\s0 Graphics Library (v2.0.33 or later)
Packit 667938
.IP "\(bu" 4
Packit 667938
LibPNG Graphics Library (v1.2.8 or later)
Packit 667938
.IP "\(bu" 4
Packit 667938
ZLib Library (v1.2.3 or later)
Packit 667938
.IP "\(bu" 4
Packit 667938
The get_ver.awk script
Packit 667938
.IP "\(bu" 4
Packit 667938
A copy of the \s-1GNU\s0 build tools.    (See http://sourceforge.net/projects/gnuwin32/)
Packit 667938
.PP
Packit 667938
The auxiliary libraries can be obtained from:
Packit 667938
.PP
Packit 667938
\&\s-1GD\s0 Graphics Library.   (See http://www.boutell.com/gd/ )
Packit 667938
.PP
Packit 667938
\&\s-1PNG\s0 Graphics Library.   (See http://libpng.sourceforge.net/ )
Packit 667938
.PP
Packit 667938
zLib Compression Library.   (See http://www.gzip.org/zlib/ )
Packit 667938
.PP
Packit 667938
Edit the Makefile.Netware file as required to match your installation paths; search
Packit 667938
the file for the key word 'Edit'.
Packit 667938
.SH "NETWARE SUPPORT"
Packit 667938
.IX Header "NETWARE SUPPORT"
Packit 667938
For copies of the \s-1NCF\s0 and get_ver.awk scripts, see Appendix.
Packit 667938
.PP
Packit 667938
For NetWare specific issues, submit questions to the Perl forum at 
Packit 667938
news://developer\-forums.novell.com/novell.devsup.perl (Novell Developer Forums).
Packit 667938
.PP
Packit 667938
To move the \s-1MRTG\s0 application to a volume other than \s-1SYS:\s0 you will need to edit the \s-1NCF\s0
Packit 667938
scripts provided plus the MRTG[.pl] script itself in two places.
Packit 667938
.SH "NEW RATEUP SWITCH"
Packit 667938
.IX Header "NEW RATEUP SWITCH"
Packit 667938
The MRTG[.pl] script, when used on a NetWare platform, uses Rateup[.nlm] with the new
Packit 667938
commandline switch:
Packit 667938
.PP
Packit 667938
.Vb 1
Packit 667938
\&     RATEUP \-f filename
Packit 667938
.Ve
Packit 667938
.PP
Packit 667938
where the filename parameter can include a leading path element.
Packit 667938
.PP
Packit 667938
The file format is exactly the same as that used on the commandline by other operating
Packit 667938
systems, including the leading path and name of the Rateup \s-1NLM.\s0
Packit 667938
.SH "APPENDIX"
Packit 667938
.IX Header "APPENDIX"
Packit 667938
The Appendix includes 'copies' of the following files:
Packit 667938
.IP "\(bu" 4
Packit 667938
The \s-1NCF\s0 files used during \s-1MRTG\s0 configuration,
Packit 667938
.PP
Packit 667938
To create copies of these files, simply 'cut and paste' into your favourite '\fBtext editor\fR' and save
Packit 667938
under their respective names. You should remove the leading space from each line.
Packit 667938
.PP
Packit 667938
\fIMakeMrtgCfg.NCF\fR
Packit 667938
.IX Subsection "MakeMrtgCfg.NCF"
Packit 667938
.PP
Packit 667938
.Vb 6
Packit 667938
\& # MakeMrtgCfg.NCF
Packit 667938
\& # Purpose : Create the MRTG Configuration File
Packit 667938
\& # Changed :  5/05/2005  New
Packit 667938
\& # Located : SYS:MRTG\eBIN
Packit 667938
\& # Set For : 
Packit 667938
\& # Params  : 
Packit 667938
\&
Packit 667938
\& # Edit this file and:
Packit 667938
\&
Packit 667938
\& # Replace ccccc with your device GET SNMP Community Name \- If unsure try \*(Aqpublic\*(Aq.
Packit 667938
\& # Replace ddddd with your device IP (n.n.n.n) or domain name.
Packit 667938
\&
Packit 667938
\& perl \-\-noscreen sys:\emrtg\ebin\ecfgmaker.pl ccccc@ddddd > sys:\emrtg\ebin\eMrtg.cfg
Packit 667938
\&
Packit 667938
\& #
Packit 667938
\& # End of MakeMrtgCfg.NCF
Packit 667938
.Ve
Packit 667938
.PP
Packit 667938
\fIRunMrtg.NCF\fR
Packit 667938
.IX Subsection "RunMrtg.NCF"
Packit 667938
.PP
Packit 667938
.Vb 6
Packit 667938
\& # RunMrtg.NCF
Packit 667938
\& # Purpose : Run the MRTG Application
Packit 667938
\& # Changed :  5/05/2005  New
Packit 667938
\& # Located : SYS:MRTG\eBIN
Packit 667938
\& # Set For : 
Packit 667938
\& # Params  : 
Packit 667938
\&
Packit 667938
\& # The paths are as per the examples recommended in "Getting Started".
Packit 667938
\&
Packit 667938
\& perl \-\-noscreen sys:\emrtg\ebin\emrtg.pl sys:\emrtg\ebin\emrtg.cfg
Packit 667938
\&
Packit 667938
\& #
Packit 667938
\& # End of RunMrtg.NCF
Packit 667938
.Ve
Packit 667938
.PP
Packit 667938
\fIMakeMrtgIndex.NCF\fR
Packit 667938
.IX Subsection "MakeMrtgIndex.NCF"
Packit 667938
.PP
Packit 667938
.Vb 6
Packit 667938
\& # MakeMrtgIndex.NCF
Packit 667938
\& # Purpose : Create the HTML Index File for MRTG HTML data pages
Packit 667938
\& # Changed :  5/05/2005  New
Packit 667938
\& # Located : SYS:MRTG\eBIN
Packit 667938
\& # Set For : 
Packit 667938
\& # Params  : 
Packit 667938
\&
Packit 667938
\& # Note: Edit this file and change the redirected output to the location
Packit 667938
\& #       specified for HtmlDir or WorkDir. The sys:\eapache2\ehtdocs\emrtg\eindex.html
Packit 667938
\& #       is based on the examples in "Getting Started".
Packit 667938
\&
Packit 667938
\& perl \-\-noscreen sys:\emrtg\ebin\eindexmaker.pl sys:\emrtg\ebin\eMrtg.cfg > sys:\emrtg\ehtml\eindex.html
Packit 667938
\&
Packit 667938
\& #
Packit 667938
\& # End of MakeMrtgIndex.NCF
Packit 667938
.Ve
Packit 667938
.SH "LICENSE"
Packit 667938
.IX Header "LICENSE"
Packit 667938
\&\s-1GNU\s0 General Public License
Packit 667938
.SH "CREDITS"
Packit 667938
.IX Header "CREDITS"
Packit 667938
The \s-1MRTG\s0 for NetWare exists largely through the efforts of Guenter Knauf and feedback from beta testers.
Packit 667938
.SH "AUTHOR"
Packit 667938
.IX Header "AUTHOR"
Packit 667938
Norm W..