[mrtg] Re: RunAsDeamon

Sverre Munthe sm at lorstem.no
Mon Oct 20 19:25:54 MEST 2003


I did that, but acording to those that understand these things it's
better to run it as a deamon since you only load the cfg-files onces,
saving a lot of processor capacity.

Sverre

-----Original Message-----
From: brandon.baker [mailto:brandon.baker at inforonics.com] 
Sent: 20. oktober 2003 19:24
To: Sverre Munthe; mrtg at list.ee.ethz.ch
Subject: RE: [mrtg] RunAsDeamon


I have had luck just using the win2k scheduler at 5 Min intervals to
trigger
a batch files that issues the mrtg poll with each config file.

Brandon

-----Original Message-----
From: Sverre Munthe [mailto:sm at lorstem.no]
Sent: Monday, October 20, 2003 1:14 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] RunAsDeamon


Hi,

I have a bunch of CFG files I'm running from a batch file (windows 2000
server). The reason I have them divided into single CFG-files is that I
monitor the complete network with switches and servers, and putting them
all into the same file will make it impossible to sort things out.

So I have added the RunAsDeamon option to all and run the batch file
with the start /b parameter. Everything works fine. BUT, the batch files
tell me not to close it or the processes will die.

Then the problem. What if the server they run on has to be restarted
from a remote location? If I close the connection (log out) the
processes will die!

Is there a solution to this?

Sverre

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