[mrtg] Re: Need Help with SRVANY command
Cooke, Mary
mary.cooke at eds.com
Wed Jan 17 17:51:18 MET 2001
John-
I got srvany to work by editing the registry. First I installed it by
copying srvany.exe to a pathed in folder, then to install mrtg as a service
type:
instsrv mrtg (path to srvany.exe)
(instsrv is also in the resource kit)
Then to specify the application to run as a service, in the registry:
1. Add a new Parameters subkey in the following registry location:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mrtg\
2. In the new Parameters subkey, create an Application value entry with
a data type of REG_SZ, and specify the full path of the executable file for
the application (including the extension). For example:
Application: REG_SZ: C:\Perl\Bin\perl.exe
To specify parameters required when starting an application
· In the new Parameters subkey in the registry, create an
AppParameters value entry with a data type of REG_SZ, and specify the
parameters for the application. For example:
AppParameters: REG_SZ: C:\mrtg\bin\mrtg c:\mrtg\bin\mrtg.cfg
To specify a working directory for the application (Might not be necessary)
· In the Parameters subkey in the registry, create an AppDirectory
value entry with a data type of REG_SZ, and specify the working directory to
use for the application. For example:
AppDirectory: REG_SZ: C:\mrtg\bin
Hope this helps. This worked for me.
-----Original Message-----
From: John Warner [mailto:John_Warner at Jabil.com]
Sent: Wednesday, January 17, 2001 10:46 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Need Help with SRVANY command
Does anyone have an example command line to make srvany work?
John Warner
Network Administrator
Jabil Circuit, Inc.
727.803.5702
--
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