[mrtg] Re: How to auto-start mrtg (wperl).....

Alegria, Luis lalegria at ics-canada.net
Fri Oct 1 15:17:55 MEST 2004


http://www.geocities.com/mrtg_daemon/Main.html

This is what I use. You have to create a .Bat file with something like this:


Rem ######################### Routers

perl c:\mrtg\bin\mrtg c:\mrtg\bin\Routers\mrtg1.cfg
perl c:\mrtg\bin\mrtg c:\mrtg\bin\Routers\mrtg2.cfg
perl c:\mrtg\bin\mrtg c:\mrtg\bin\Routers\mrtg3.cfg
perl c:\mrtg\bin\mrtg c:\mrtg\bin\Routers\mrtg4.cfg
perl c:\mrtg\bin\mrtg c:\mrtg\bin\Routers\mrtg5.cfg
perl c:\mrtg\bin\mrtg c:\mrtg\bin\Routers\mrtg6.cfg
perl c:\mrtg\bin\mrtg c:\mrtg\bin\Routers\mrtg7.cfg
perl c:\mrtg\bin\mrtg c:\mrtg\bin\Routers\mrtg8.cfg
perl c:\mrtg\bin\mrtg c:\mrtg\bin\Routers\mrtg9.cfg
perl c:\mrtg\bin\mrtg c:\mrtg\bin\Routers\mrtg10.cfg
perl c:\mrtg\bin\mrtg c:\mrtg\bin\Routers\mrtg11.cfg

Then determine the pull time for that .bat file, and place a shortcut of the
program in the startup folder. It's been working for me for about 2 years
like a charm.


 Luis Alegria  
---------------------------------------
This mailbox is Spam Protected
http://www.ics-canada.net 



-----Original Message-----
From: Marc Nowell [mailto:mnowell at brinks.com] 
Sent: Tuesday, September 28, 2004 1:48 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] How to auto-start mrtg (wperl).....





Does anyone have a good way to auto-start mrtg (wperl) when the Windows
2003 Server that it's running on is restarted?

----------------------------------
Marc A. Nowell

--
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

--
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