starting service will not start tests sometimes

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
iis5_rulez
Posts: 32
Joined: Tue Dec 17, 2002 6:00 pm

starting service will not start tests sometimes

Post by iis5_rulez »

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?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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.
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
iis5_rulez
Posts: 32
Joined: Tue Dec 17, 2002 6:00 pm

Post by iis5_rulez »

thanks for the fast reply again :)
Post Reply