[mrtg] Running Mrtg as a service on NT
Landa, Brian
Landa at trendcs.com
Wed Aug 18 19:31:49 MEST 1999
Just to clarify: What you need to run as a service is NOT the "perl MRTG
mrtg.cfg" command, but rather a batch file or exe that calls that command
every 5 minutes.
@ECHO OFF
ECHO **********************************************************************
ECHO HIT [ALT][TAB] to return to windows desktop.
ECHO HIT [CTRL] [BREAK] to manually cycle MRTG
ECHO ======================================================================
BREAK ON
:OKDOIT
PERL C:\MRTG-2.7.4B\RUN\MRTG C:\MRTG-2.7.4B\RUN\AS5200.CFG
SLEEP 300
GOTO OKDOIT
call this file runit.bat okay
then look at the 5 step.. and use c:\<path> to the batch file \ <name of
the batch file> runit.bat
where <path>\<application.ext> is the drive and full path to the application
executable including the extension (i.e., C:\WinNT\Notepad.exe)
this is all you need to do...
Brian Landa
Trend Consulting Services Inc.
Centre Plaza North, Suite #201
Eastlake, OH 44095
T: 440.942.4040 X243
F: 440.942.4848
Pager: 440.303.5426
Email: landa at trendcs.com <mailto:landa at trendcs.com>
Network Support Specialist
WE make the NET * work
--
* To unsubscribe from the mrtg mailing list, send a message with the
subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
More information about the mrtg
mailing list