[mrtg] Re: Modify 5mrtg.Reg (if You need...)

bear bear at tik.com.au
Thu Apr 19 04:44:25 MEST 2001


Hi
make sure you have a working mrtgkick.cmd in C:\mrtg-2.9.10\bin\
a working mrtgkick.cmd would look like this  --

rem start of mrtgkick.cmd
c:\perl\bin\perl C:\mrtg-2.9.10\bin\mrtg C:\mrtg-2.9.10\bin\pmrtg.cfg
rem
rem end of file

then just run / double click on the install.cmd
or if thats already done just
cd to the contrib / ntserves dir or where ever you have it
START 5mrtg.Reg
COPY /Y 5mrtg.Exe C:\System32
C:
CD C:\System32
5mrtg.Exe -install
NET START mrtg5

( this is straight out of the install.cmd file )

you will see an mrtg entry in services ( control panel )
if you make any changes to your mrtgkick.cmd file you will need to stop and
start the service
Hope this helps
Bear

----- Original Message -----
From: "Rochello Viceisza" <T_boss75 at Hotmail.com>
To: "bear" <bear at tik.com.au>
Sent: Thursday, April 19, 2001 4:27 AM
Subject: Re: Modify 5mrtg.Reg (if You need...)


> Sorry, if I'm bothering you, but I didn't undersstand you.
>
> My mrtg configfile is in this directory:
>     c:\mrtg-2.9.10\bin\pmrtg.cfg
>
> My perl program is in here:
>     c:\perl\bin\perl.exe
>
> My mrtg file is in here:
>     c:\mrtg-2.9.10\bin\mrtg
>
> In c:\mrtg-2.9.10\contib\nt-services I have these files
>     5mrtg.reg
>     mrtg-etc.zip
>     5mrtg.exe
>     readme
>     install.cmd
>
> 5mrtg.reg look like this:
>     REGEDIT4
>
>     [HKEY_LOCAL_MACHINE\SOFTWARE\MMM\mrtg5]
>     "MrtgKick-PathName"="C:\\mrtg-2.9.10\\bin\\mrtgkick.cmd"
>     "Debug"=dword:0
>
>
>
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\m
> rtg5]
>     "EventMessageFile"="%SystemRoot%\\System32\\5mrtg.Exe"
>     "TypesSupported"=dword:7
>
> What do I have  to change to make mrtg run as a service
>

>




--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list