[mrtg] Re: Problems with Schedule or RunAsDaemon on NT

Luis Camacho luis at annotate.net
Mon Oct 9 15:41:52 MEST 2000


correction:

Your mrtgkick.bat should say:
c:\perl\bin\perl c:\mrtg-2.8.12\run\mrtg
c:\mrtg-2.8.12\run\mrtg_your_router.cfg.

Somehow the email put it on 2 lines.  It should all be on one line

Luis



-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]On
Behalf Of Luis Camacho
Sent: Monday, October 09, 2000 9:29 AM
To: Mrtg
Subject: [mrtg] Re: Problems with Schedule or RunAsDaemon on NT



I'm not sure how you set mrtg up, but according to the directions.

You need to load unzip mrtg to whatever directory (for this case c:\)

It should create a c:\mrtg-2.8.12

Then you need to unzip fiveminute.zip in the c:\mrtg-2.8.12\run directory.

assuming you followed the rest of the directions

You should set a/b/c.bat to say

start c:\mrtg-2.8.12\run\mrtgkick.bat

your mrtgkick.bat files should say

c:\perl\bin\perl c:\mrtg-2.8.12\run\mrtg
c:\mrtg-2.8.12\run\mrtg_your_router.cfg

The file "mrtg_your_router.cfg" should specify where the graphs are going to
be written
E.G WorkDir: c:\inetput\wwwroot\graphs
and then
RunAsDaemon: Yes
Interval: 5

Follow this link to a copy of directions given earlier last week.  I hope
they are helpful to you.

http://www.ee.ethz.ch/~slist/pantomime/02-MRTG101pub.doc

Luis

-----Original Message-----
From: Matthew Jankow [mailto:Mjankow at polycel.com]
Sent: Monday, October 09, 2000 9:16 AM
To: 'Luis Camacho'
Subject: RE: [mrtg] Re: Problems with Schedule or RunAsDaemon on NT


a/b/c.bat....
@echo off
start /B e:\mrtg\mrtgkick.bat
exit
mrtgkick.bat.....
d:\perl\bin\perl e:\mrtg\mrtg e:\mrtg\mrtg.cfg

-----Original Message-----
From: Luis Camacho [mailto:luis at annotate.net]
Sent: Monday, October 09, 2000 09:03 AM
To: Mrtg
Subject: [mrtg] Re: Problems with Schedule or RunAsDaemon on NT



what does your a.bat,b.bat,c.bat, and mrtgkick.bat file look like.


Providing this information might be helpful.

Thank you

Luis

-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]On
Behalf Of Matthew Jankow
Sent: Monday, October 09, 2000 9:06 AM
To: 'mrtg at list.ee.ethz.ch'
Subject: [mrtg] Problems with Schedule or RunAsDaemon on NT



Mrtg 2.8.12 for NT 4 sp6a
I used the 5minute to setup mrtg with the schedule service every 5 minutes.
CMD.exe process does not ternimate.  There are about 20 listed in task
manager before NT starts spitting out dll errors.  I reinstalled the service
pack and even tried it on another pc with the same results.
Any ideas?


Also I deleted all "AT" entries and added the following lines to my mrtg.cfg
file
RunAsDaemon: Yes
Interval: 5
now when I run "perl mrtg mrtg.cfg"  I receive the following errors
"CFG Error: Unknown Option "runasdaemon" on line 5 or above.
           Check readme.html for Help"


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


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