AHM start options

Need new test, action, option? Post request here.
Post Reply
Rapthor
Posts: 15
Joined: Mon Oct 13, 2003 5:15 am

AHM start options

Post by Rapthor »

I suppose it´s a known problem that if you run HM as service and you want to change some tests in the application, alert mails will be sent twice.
One by application and another by service.
So one always have to stop either monitoring in the application or stop running the service.
So here´s my question: Are there start options for hostmon.exe available that force to start application while monitoring already is stopped?
In command prompt for example "hostmon.exe /s" or something like that.
If not it perhaps will be a feature for versions of HM in future?
User avatar
Marcus
Posts: 367
Joined: Mon Nov 18, 2002 6:00 pm

Post by Marcus »

What I do is using scripts to stop and start the correct version. If I 'click' my shortcut, it will:

1. Stop HostMonitor running as a service
2. Start HostMonitor as an application
3. Wait for the HostMonitor application to quit.
4. Start the HostMonitor as a service as soon as the application has stopped.

All actions are logged and restricted to one user account.

Assigning the HostMonitor icon as the shortcut icon and you won't see the difference :wink:
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

http://www.ks-soft.net/hostmon.eng/mfra ... #CmdParams
"HostMonitor /stop"

You need to stop service only if you access remote system (where HostMonitor is running) using Terminal Service. Otherwise you see
HostMonitor's icon in system tray and can configure service directly.

Marcus is right, better stop service before changing settings. Anyway you will need to restart service to apply changes.

Regards
Alex
Rapthor
Posts: 15
Joined: Mon Oct 13, 2003 5:15 am

Post by Rapthor »

Thank you...it worked fine! :)
Post Reply