|
View previous topic :: View next topic |
Author |
Message |
iis5_rulez
Joined: 17 Dec 2002 Posts: 32
|
Posted: Tue Mar 23, 2004 8:22 am Post subject: starting service will not start tests sometimes |
|
|
we run hostmonitor as a service and defined hostmonitor to always start testing when the service is started (start after loading). to make changes we've written a batch which stops the service and start the gui (with the /stop option).
when we close the gui the batch takes over and starts the service again.
however we noticed the service wont start testing sometimes. if we look at the options it now says "stop after loading"
does the /stop option also set the "stop after loading" option permanently?
is it possible to start the service with hostmonitor /service /start? |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Tue Mar 23, 2004 5:21 pm Post subject: |
|
|
Quote: | however we noticed the service wont start testing sometimes. if we look at the options it now says "stop after loading" |
Yes, its correct behavior. If you start monitor using '/stop' command line parameter, HostMonitor changes startup option. If you open Options dialog and click Ok, this new value will be saved.
Quote: | is it possible to start the service with hostmonitor /service /start? |
Version 4.40 does not support additional command line parameters when it starts in service mode.
But I just uploaded update: www.ks-soft.net/download/hm440d.zip
This version will support additional parameters.
You just need to modify one parameter in the registry:
key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HostMonService\ImagePath
change: add "/start" parameter. E.g. "c:\Program Files\HostMonitor\hostmon.exe /service /start"
Regards
Alex |
|
Back to top |
|
|
iis5_rulez
Joined: 17 Dec 2002 Posts: 32
|
Posted: Wed Mar 24, 2004 8:11 am Post subject: |
|
|
thanks for the fast reply again |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|