[mrtg] Re: RunAsDeamon

brandon.baker brandon.baker at inforonics.com
Mon Oct 20 19:23:43 MEST 2003


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