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?
starting service will not start tests sometimes
-
- Posts: 32
- Joined: Tue Dec 17, 2002 6:00 pm
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.however we noticed the service wont start testing sometimes. if we look at the options it now says "stop after loading"
Version 4.40 does not support additional command line parameters when it starts in service mode.is it possible to start the service with hostmonitor /service /start?
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